Skip to content

Instantly share code, notes, and snippets.

@neilcarpenter
Created March 5, 2015 11:03
Show Gist options
  • Save neilcarpenter/8979ea9ed91b10e36af9 to your computer and use it in GitHub Desktop.
Save neilcarpenter/8979ea9ed91b10e36af9 to your computer and use it in GitHub Desktop.
Enable Emmet in .JSX files, using Babel JSX Syntax highlighter
// 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 }
]
}
@lemonnoodle
Copy link

Fantabulous!Thanks!

@dospolov
Copy link

thank you so much!

@arvinio
Copy link

arvinio commented Mar 15, 2017

Lifesaver <3

@anarerdene
Copy link

Nice work, thank you.

@psy901
Copy link

psy901 commented Jun 28, 2017

nice!

@lazyTai
Copy link

lazyTai commented Sep 26, 2017

you are great

@jacksteven7
Copy link

Thanks!!!

@reciosonny
Copy link

Awesome!!!

@tito12
Copy link

tito12 commented Jan 16, 2018

Thanks!!!

@wangmeijian
Copy link

nice

@xikaos
Copy link

xikaos commented Mar 14, 2018

Thank you!

@ygorlf
Copy link

ygorlf commented Mar 20, 2018

Amazing 💯

@Snewkis
Copy link

Snewkis commented Jan 10, 2019

just perfect bro, works in sublime 3

@TomTom2019
Copy link

still working

Thanks !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment