Compile Selected ES6
[DEPRECATED] a sublime plugin for compiling the selected es6 code on the fly, since the babel sublime plugin did not provide this feature
Details
Installs
- Total 3K
- Win 2K
- Mac 896
- Linux 316
| Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | Feb 11 | Feb 10 | Feb 9 | Feb 8 | Feb 7 | Feb 6 | Feb 5 | Feb 4 | Feb 3 | Feb 2 | Feb 1 | Jan 31 | Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Compile Selected ES6 Package for Sublime Text 3
[DEPRECATED] This project has been deprecated – please use the official project babel-sublime instead
A sublime plugin for compiling the selected es6 code on the fly, since the babel sublime plugin did not provide this feature
Requirements
In order for build system to work you will need babel installed via npm and available in your PATH.
Install
The easiest way to install this is with Package Control.
- Bring up the Command Palette (Command+Shift+p on OS X, Control+Shift+p on Linux/Windows).
- Select “Package Control: Install Package” (it'll take a few seconds)
- Select Compile Selected ES6 when the list appears.
Package Control will automatically keep the package up to date with the latest version.
Screenshots

Compile Select ES6plugin supports both javascript ES6 sytax and JSX syntax. First you select the content you want to compile, then you right click the mouse and selectcompile esmenu.

- Now you got the compiled code.
Note that you can also use the keyboard shortcut
Option+Shift+dto compile the code without using the mouse way.

- By default, the plugin will check synax error when you save the file. You can disable this feature by changing the plugin user setting
checkSyntaxOnSaveto false.
Settings
Go to Preferences > Package Settings > Compile Selected ES6 > Settings - User to change settings.
Full details in the comments in Preferences > Package Settings > Compile Selected ES6 > Settings - Default
There's two ways to change the stage option. One way is using the
plugin user setting. Another way is creating a .babelrc file in the project directory. The .babelrc file settings will override the plugin user settings.
Note if you changed the
stagevalue in the settings, make sure you installed the latest version of Babel whose CLI support--stage.
Issues & Feature Requests
Please use GitHub Issue Tracker to report any bugs and make feature requests.
Licensing
Licensed under permissive MIT-style license