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
  • 1 year ago
  • 30 minutes ago
  • 5 years ago

Installs

  • Total 166K
  • Win 76K
  • OS X 61K
  • Linux 29K
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 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11
Windows 97 115 127 120 117 74 69 103 128 107 139 95 60 55 107 118 93 144 126 71 95 122 120 144 130 78 61 67 128 126 100 110 110 70 57 90 120 138 108 66 75 72 89 116 137 112
OS X 40 40 72 74 45 30 28 51 59 44 51 53 28 32 54 47 56 71 50 29 35 63 55 65 58 38 28 36 49 59 54 63 64 33 31 48 67 73 69 56 31 31 43 59 68 61
Linux 24 40 40 27 32 16 19 27 43 46 34 35 16 15 36 32 35 26 27 20 21 40 34 38 32 23 21 23 32 37 33 34 28 21 18 31 41 35 43 25 21 25 25 35 33 32

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.