Sublime text 3. Enable Emmet in JSX files with Sublime React plugin
March 20, 2016 ยท View on GitHub
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
Problem
- Using emmet in jsx files
- Emmet expands text when js autocomplete needed
- Using
classNameinstead ofclass
How it works
- Install plugin RegReplace
- Install plugin Chain Of Command
- Merge files from this gist to your
Packages/Userdirectory
Emmet will expand
.someClassa.someClass(list of tags look inDefault (OSX).sublime-keymap, now it'sa|div|span|p|button)div>p