michaelgmcd / vscode-language-babel

VSCode syntax highlighting for today's JavaScript
https://marketplace.visualstudio.com/items?itemName=mgmcdermott.vscode-language-babel
MIT License
131 stars 17 forks source link

Built-in Emmet's Wrap Individual Lines With Abbreviation doesn't work #32

Closed skube closed 6 years ago

skube commented 6 years ago

When I have the Babel JavaScript extension enabled, the VSCode built-in Emmet: Wrap Individual Lines With Abbreviation doesn't do anything.

Disabling the extension, Wrap Individual Lines With Abbreviation then works as expected.

Changing the language mode to JavaScript React seems to fix the issue.

michaelgmcd commented 6 years ago

Please add the following to your vscode settings and let me know if it fixes this:

"emmet.includeLanguages": {
  "javascript": "javascriptreact"
}

It seems to work properly on my machine.

skube commented 6 years ago

Yup, that seemed to work! Thx.