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

Tern​JS

by emmetio ST2/ST3

TernJS plugin for Sublime Text

Details

Installs

  • Total 50K
  • Win 23K
  • OS X 18K
  • Linux 9K
May 29 May 28 May 27 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
Windows 9 14 32 37 21 32 26 22 18 26 29 23 42 25 24 26 10 31 28 21 36 16 26 20 30 21 27 37 24 26 16 36 28 34 42 35 17 18 39 27 29 22 29 30 28 29
OS X 3 5 5 11 18 16 20 14 5 8 9 15 9 13 10 9 17 18 21 13 14 12 6 15 12 12 12 9 10 16 8 5 13 17 18 18 6 12 14 12 9 15 17 10 8 15
Linux 7 5 6 5 7 5 14 5 4 5 8 12 7 8 7 9 5 8 5 8 6 5 6 2 7 6 7 7 3 6 4 10 14 6 8 5 5 5 7 8 5 8 7 4 6 17

Readme

Source
raw.​githubusercontent.​com

Deprecated: use Tern for Sublime instead

TernJS is a JavaScript type inference engine written by Marijn Haverbeke. It analyses your JS code on-the-fly and provides autocompletion, function argument hints, jump-to-definition, and various automatic refactoring operations.

This plugin adds TernJS support into Sublime Text editor.

How to install

Sublime Tern can be installed as any other plugin with Package Control:

  1. In ST editor, call “Install Package” command from Command Palette.
  2. Find “TernJS” in plugins list and hit Enter to install it.

When installed, Sublime Tern will automatically download PyV8 binary required to run this plugin. If you experience issues with PyV8 loader, you can install it manually.

Warning: if you have Emmet plugin installed and using Sublime Text 2, you have to make sure you have the latest PyV8 binary. It must be automatically updated within 24 hours (you need to restart ST2 editor), but you can forcibly update it:

  1. Quit ST2 editor
  2. Completely remove PyV8 package (remove this folder from ST2’s Packages folder)
  3. Start ST2 editor. Latest PyV8 should be downloaded and installed automatically.

With old PyV8 binary, you’ll experience a lot of crashes.

How to use

Read special blog post about how to use and configure TernJS.