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

Tern​JS

by emmetio ALL

TernJS plugin for Sublime Text

Details

Installs

  • Total 74K
  • Win 38K
  • Mac 24K
  • Linux 12K
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 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 29 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13
Windows 0 1 0 1 0 0 0 0 0 2 1 0 0 0 0 2 1 0 0 1 0 1 0 0 0 0 0 1 0 0 1 0 1 1 0 1 2 0 0 0 2 0 0 0 0 0
Mac 0 0 0 0 2 1 0 1 0 1 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0
Linux 0 0 2 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 1 0 0 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.