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

Tern​JS

by emmetio ST2/ST3

TernJS plugin for Sublime Text

Details

Installs

  • Total 49K
  • Win 22K
  • OS X 18K
  • Linux 9K
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 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11
Windows 28 35 17 18 39 27 29 22 29 30 28 29 24 39 20 41 26 26 37 26 29 37 44 17 18 27 34 29 45 28 24 23 23 25 25 32 45 32 19 37 28 27 41 25 25 19
OS X 9 18 6 12 14 12 9 15 17 10 8 15 15 12 10 11 8 8 7 16 10 15 9 5 9 12 10 18 15 20 9 13 11 22 11 13 18 8 10 12 15 15 13 7 5 6
Linux 6 5 5 5 7 8 5 8 7 4 6 17 11 5 8 8 4 5 3 3 10 3 4 3 4 5 8 12 10 4 1 5 3 5 5 5 5 7 11 11 8 5 7 8 4 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.