Atom.io: Emmet And Jsx


Answer :

Open Atom -> Preferences -> Packages -> Emmet

Scroll down a bit and you'll see a note about this particular issue. From there you just need to grab the correct context, which in my case was source js jsx and add it to your Keymap configuration.

 # Auto expanding for emmet @  'atom-text-editor[data-grammar="source js jsx"]':      'tab': 'emmet:expand-abbreviation-with-tab' 

OR (with a more relaxed selector)

# Auto expanding for emmet @ 'atom-text-editor[data-grammar*="js"].not:[mini]':   'tab': 'emmet:expand-abbreviation-with-tab' 

As of the latest version you can hit cmd + shift + e. I assume for windows or linux it would be ctrl + shift + e (Although I have not verified windows and linux one)


Comments

Popular posts from this blog

Chemistry - Bond Angles In NH3 And NCl3

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Change The Font Size Of Visual Studio Solution Explorer