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

Autocomplete Javascript with Method Signature

by eladyarkoni ALL

Very lightweight plugin for sublime text editor

Details

  • 2014.06.10.11.05.22
  • github.​com
  • github.​com
  • 6 years ago
  • 2 hours ago
  • 7 years ago

Installs

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

Readme

Source
raw.​githubusercontent.​com

MySignature - Sublime Text Package

Wide JavaScript autocomplete functionality for Sublime Text with method/function signature (arguments) and var completion. (You can usually make the completion box show up with Ctrl+Space in a js file.)

The package will keep an index of methods/functions seen in .js files doing a dumb parsing: it looks for name = function(...) and name: function(...). It does not evaluate objects.

Since version 2, files are parsed only the first time these are seen and then will only reparse a file if you save it (to keep the index up to date.)

As source for its index will look into:

  • All the js files of the current opened projects/folders. (this includes all the windows and scans for changes periodically in an optimized way, a file is only parsed in case of a cache miss)

  • If you open a js file that is outside the current project, it will scan the folder where this file resides.

  • Completion of methods/functions in unsaved files, and completion of vars for the current file are generated on the fly, with the incredible fast API of Sublime Text.

Will trigger its magic in js files and js scopes (eg in a script tag of an HTML file.)

For the original development read about at http://www.eladyarkoni.com/2012/09/sublime-text-auto-complete-plugin.html

For the performance improvements take a look to https://github.com/eladyarkoni/MySignaturePlugin/pull/7

Enjoy!

2012 Elad Yarkoni

2014 Tito Bouzout <tito.bouzout@gmail.com>