JavaScript language definition for TextMate and SublimeText2
Latest commit 8f0d074 Nov 30, 2015 @simonzack simonzack Merge pull request #143 from rwaldron/template-string
Feature naming correction: quasi => template-string
Failed to load latest commit information.
screenshots updated screenshot, fixes #48 Oct 10, 2014
.gitignore Convert the tmTheme file to YAML. Add .gitignore. Jan 5, 2014
Comments.YAML-tmPreferences should be YAML-tmPreferences Aug 21, 2014
Comments.tmPreferences should be YAML-tmPreferences Aug 21, 2014
JSON (JavaScriptNext).YAML-tmLanguage Add json tmlanguage Mar 25, 2015
JSON (JavaScriptNext).tmLanguage Add json tmlanguage Mar 25, 2015
JavaScript Indent.YAML-tmPreferences Add JavaScript Indent Apr 10, 2015
JavaScript Indent.tmPreferences Add JavaScript Indent Apr 10, 2015
JavaScriptNext.YAML-tmLanguage Feature naming correction: quasi => template-string Nov 30, 2015
JavaScriptNext.tmLanguage Feature naming correction: quasi => template-string Nov 30, 2015
LICENSE added LICENSE, cf #141 Nov 25, 2015
Monokai Phoenix.YAML-tmTheme theme clean up, get rid of nearly-black backgrounds, fixes #80 Feb 20, 2015
Monokai Phoenix.tmTheme theme clean up, get rid of nearly-black backgrounds, fixes #80 Feb 20, 2015
Next.YAML-tmTheme Feature naming correction: quasi => template-string Nov 30, 2015
Next.tmTheme Feature naming correction: quasi => template-string Nov 30, 2015
README.md updated readme, cf 3039d1e#commitcomment-8125333 Oct 11, 2014
Regular Expressions (JavaScriptNext).YAML-tmLanguage regex escape fix Feb 11, 2015
Regular Expressions (JavaScriptNext).tmLanguage regex escape fix Feb 11, 2015
Symbol List Banned.YAML-tmPreferences added symbol navigation Feb 27, 2014
Symbol List Banned.tmPreferences added symbol navigation Feb 27, 2014
Symbol List Function.YAML-tmPreferences Add arrow funcs and class to Symbol List Function Apr 20, 2015
Symbol List Function.tmPreferences Add arrow funcs and class to Symbol List Function Apr 20, 2015

README.md

JavaScript.tmLanguage

Better JavaScript language definition for TextMate and SublimeText. This builds on the language files commonly used and adds more fine grained matching and also includes new features from ECMAScript 6 like modules, succinct methods, arrow functions, classes, generators, and accessors (ES5).

Installation and Use

If you haven't already, install Package Control, then select JavaScript Next from the Package Control: Install Package dropdown list in the Command Palette.

To set this as your default JavaScript syntax, open a javascript file, then select View -> Syntax -> Open all with current extension as... -> JavascriptNext.

You may also need to change the ColorScheme. Pick one from Preferences -> Color Scheme -> JavaScriptNext.

Screenshots

screenshot

Contributing

Edit the yaml files with the YAML-XXX extensions, convert them to plist xml files, and send in a pull request. The easiest way to do this is by using AAAPackageDev. You can do all of the above without leaving sublime text.

YAML is used since it's a lot more compact and easier to edit than xml.