Babel
Syntax definitions for ES6 JavaScript with React JSX extensions.
Details
Installs
- Total 810K
- Win 374K
- Mac 300K
- Linux 136K
| Jun 11 | Jun 10 | Jun 9 | Jun 8 | Jun 7 | Jun 6 | Jun 5 | Jun 4 | Jun 3 | Jun 2 | Jun 1 | May 31 | May 30 | May 29 | May 28 | May 27 | May 26 | May 25 | May 24 | May 23 | May 22 | May 21 | May 20 | May 19 | May 18 | May 17 | May 16 | May 15 | May 14 | May 13 | May 12 | May 11 | May 10 | May 9 | May 8 | May 7 | May 6 | May 5 | May 4 | May 3 | May 2 | May 1 | Apr 30 | Apr 29 | Apr 28 | Apr 27 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 4 | 7 | 6 | 7 | 5 | 6 | 6 | 7 | 4 | 4 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 | 5 | 5 | 6 | 4 | 9 | 8 | 6 | 3 | 13 | 8 | 2 | 6 | 6 | 7 | 7 | 11 | 8 | 8 | 13 | 5 | 7 | 6 | 10 | 11 | 12 | 12 |
| Mac | 1 | 3 | 2 | 4 | 1 | 0 | 6 | 2 | 2 | 1 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 4 | 3 | 4 | 6 | 2 | 5 | 3 | 2 | 4 | 3 | 4 | 4 | 3 | 1 | 3 | 5 | 3 | 4 | 0 | 4 | 1 | 2 | 6 | 4 | 6 | 3 |
| Linux | 1 | 18 | 4 | 1 | 2 | 1 | 4 | 7 | 4 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 5 | 2 | 2 | 2 | 2 | 3 | 2 | 5 | 5 | 5 | 4 | 1 | 5 | 7 | 2 | 5 | 4 | 1 | 4 | 3 | 1 | 5 | 2 | 3 | 4 | 5 |
Readme
- Source
- raw.githubusercontent.com
babel-sublime
Language definition for modern JavaScript with JSX syntax, Flow typing, and Styled Components.
Installation
Find it as Babel through Package Control.
Setting as the default syntax
To set it as the default syntax for a particular extension:
- Open a file with that extension,
- From the
Viewmenu, selectSyntax→Open all with current extension as…→Babel→JavaScript (Babel) - Repeat this for each extension (e.g.:
.jsand.jsx).
Setting a Color Scheme
Babel comes bundled with Next from Benvie/JavaScriptNext.tmLanguage. From the command palette, select UI: Select Color Scheme and select Next.
Screenshots

Snippets
Find them separately at babel/babel-sublime-snippets or as Babel Snippets through Package Control.
About
Under the hood, babel-sublime's syntax definition is built using JS Custom. JS Custom is based on Sublime's core JavaScript syntax, which is in turn descended from Benvie/JavaScriptNext.tmLanguage. Special thanks go to @jgebhardt and @zpao.
Contributing
The JavaScript (Babel).sublime-syntax file itself is generated by JS Custom and should not be manually modified — any bug fixes or enhancements to the syntax itself should go through JS Custom.
If you modify the commenting rules or Next theme, make sure to do so by editing the appropriate YAML-tmPreferences or YAML-tmTheme file and converting that file using PackageDev. Then, commit both the source (YAML) file and the converted (XML) file.