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

Tern​JS

by emmetio ST2/ST3

TernJS plugin for Sublime Text

Details

Installs

  • Total 67K
  • Win 33K
  • OS X 22K
  • Linux 11K
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 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 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
Windows 9 3 7 8 10 7 9 8 9 5 2 4 8 12 10 3 10 3 7 6 8 9 6 6 9 9 6 7 13 8 5 4 9 8 10 14 7 7 9 14 6 10 11 14 4 10
OS X 1 2 0 3 1 9 2 2 1 1 3 2 1 3 3 0 2 4 1 5 5 1 1 1 4 2 2 2 3 0 0 7 2 3 4 1 3 7 2 1 3 6 1 4 3 4
Linux 2 2 2 0 1 2 1 1 2 1 2 2 0 2 4 2 0 1 0 1 4 1 3 0 1 1 2 1 2 1 2 0 1 2 1 1 2 0 3 2 0 0 1 1 1 1

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.