This is no longer needed as Emmet supports JSX - you just need to turn it all on. Did a quick tutorial: http://wesbos.com/emmet-react-jsx-sublime/
Thanks, @wesbos
- Using emmet in jsx files
- Emmet expands text when js autocomplete needed
- Using
className
instead ofclass
- Install plugin RegReplace
- Install plugin Chain Of Command
- Merge files from this gist to your
Packages/User
directory
.someClass
a.someClass
(list of tags look inDefault (OSX).sublime-keymap
, now it'sa|div|span|p|button
)div>p
Ctrl+E expands all kind of abbreviations in any kind of file.