Enable Emmet in .JSX files, using Babel JSX Syntax highlighter

March 5, 2015 ยท View on GitHub

// add to Preferences > Key Bindings - User // see http://stackoverflow.com/a/26619524 for context

{ "keys": ["tab"], "command": "expand_abbreviation_by_tab", "context": [ { "operand": "source.js", "operator": "equal", "match_all": true, "key": "selector" }, {
"key": "selection_empty", "operator": "equal", "operand": true, "match_all": true } ] }, { "keys": ["tab"], "command": "next_field", "context": [ { "key": "has_next_field", "operator": "equal", "operand": true } ] }