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

Tern​JS

by emmetio ST2/ST3

TernJS plugin for Sublime Text

Details

Installs

  • Total 52K
  • Win 24K
  • OS X 19K
  • Linux 9K
Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 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
Windows 8 23 34 36 22 22 21 32 45 25 27 18 21 33 27 34 29 21 11 26 18 35 29 37 27 11 21 28 33 21 48 30 21 24 15 44 22 30 44 14 19 20 20 30 40 36
OS X 4 11 10 13 6 9 8 15 18 19 4 14 11 19 10 12 10 15 8 8 8 8 15 7 12 20 13 10 12 8 5 7 10 6 16 23 10 15 8 10 14 12 7 15 10 15
Linux 2 8 8 8 10 7 5 5 0 7 4 1 1 6 7 7 7 10 5 4 6 4 5 4 4 6 4 12 8 4 6 6 3 2 5 4 5 4 6 5 6 9 8 9 7 6

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.