Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Babel ES6/ES7New to Visual Studio Code? Get it now.

Babel ES6/ES7

dzannotti

|
839,417 installs
| (26) | Free
Adds JS Babel es6/es7 syntax coloring
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode - Babel

This is a standalone version of the syntax given with vscode-flowtype.

Improves majorly on the grammar distributed by default with vscode.

This language extension brings no changes to the intellisense

What does it looks like?

Like this

Ok I'm sold how do I try it?

You can find it on VSCode Marketplace shift+cmd+p + install extension -> search for Babel Syntax

FAQ

How do I know it's working?

It should display Javascript (Babel) as current mode when you open js files in the status bar

I installed this, my coloring looks even worse now

This grammar emits specific grammar token types that are not widely supported (but improve on the default ones). Any theme can color those tokens, however currently the only theme I know that does is Spacemacs Theme

Enjoy!

License

The original grammar files are licenced under FB's licence

The rest of the repo is licenced under MIT

The MIT License (MIT) Copyright (c) 2016 Daniele Zannotti Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Changelog

0.0.4 - Fixed marketplace links 0.0.3 - Added Marketplace icon 0.0.2 - Readme adjustments 0.0.1 - Initial release

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft