ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Java​Script​Next - ES6 Syntax

by Benvie ST2/ST3 Top 100

JavaScript language definition for TextMate and SublimeText2

Details

  • 2015.11.30.19.54.34
  • github.​com
  • github.​com
  • 2 years ago
  • 1 hour ago
  • 5 years ago

Installs

  • Total 174K
  • Win 81K
  • OS X 63K
  • Linux 31K
Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6
Windows 103 117 128 131 97 62 67 87 114 110 103 104 67 83 93 126 109 93 126 77 66 107 108 97 104 127 52 63 110 143 107 110 97 69 66 107 93 90 124 121 72 70 86 99 126 99
OS X 33 60 65 47 54 36 31 65 66 43 58 56 22 24 74 58 60 41 51 23 24 61 55 44 55 56 37 22 40 58 62 55 45 20 43 47 56 51 60 47 32 26 43 46 56 62
Linux 19 23 27 32 25 25 20 18 33 31 31 25 24 15 30 33 33 22 23 17 24 32 22 29 19 28 23 11 23 33 27 42 22 14 17 28 28 27 29 24 15 7 37 30 34 25

Readme

Source
raw.​githubusercontent.​com

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.