Forked from neilcarpenter/gist:8979ea9ed91b10e36af9
Last active
December 1, 2016 01:51
-
-
Save flyfloor/3659091b82af3aae49df to your computer and use it in GitHub Desktop.
Enable Emmet in .JSX files, using Babel JSX Syntax highlighter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 } | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment