-
-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove suggestion to disable core JavaScript package.
- Loading branch information
Showing
1 changed file
with
0 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,15 +18,6 @@ To set it as the default syntax for a particular extension: | |
|
||
`Babel` comes bundled with `Next` from [Benvie/JavaScriptNext.tmLanguage](https://github.com/Benvie/JavaScriptNext.tmLanguage). From the command palette, select `UI: Select Color Scheme` and select `Next`. | ||
|
||
#### Advanced usage | ||
|
||
It's possible to set `Babel` as the _only_ JavaScript package by disabling the stock one. To do so, add `"ignored_packages": ["JavaScript"]` to your `Preferences.sublime-settings`. The benefits include: | ||
|
||
* extension-less node scripts will automatically be recognized as `JavaScript (Babel)`, | ||
* and reduced clutter in the syntax menu. | ||
|
||
**Keep in mind**, the stock snippets will no longer work (you may still use your own), and other third-party packages that depend on the stock package may break (no known ones so far). | ||
|
||
## Screenshots | ||
|
||
![babel-sublime-vs-built-in-jsx](screenshots/[email protected]) | ||
|