You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MySignature plugin is very lightweight plugin for sublime which improve the sublime text autocomplete functionality.
5
-
6
-
Each method in the autocomplete pop-up box is presented with its signature (method name and arguments) using SublimeText's "auto_complete" box. (You can usually make this box show up with Ctrl+Space.)
7
-
8
-
This plugin works on save: when you save any file in your project, the plugin maps all your javascript methods of the form `var name = function() {}` and `name: function() {}`. When the complete box is opened (ctrl+space or by the editor), it shows the methods in your project files with the signature. (It currently does not support minified files since the method used is a line-by-line search.)
9
-
10
-
This plugin is for Javascript Developers only.
11
-
12
-
Please read more about the plugin and its development at http://www.eladyarkoni.com/2012/09/sublime-text-auto-complete-plugin.html.
13
-
14
-
Enjoy!
15
-
16
-
Elad Yarkoni.
1
+
# MySignature - Sublime Text Package
2
+
3
+
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.)
4
+
5
+
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.
6
+
7
+
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.)
8
+
9
+
As source for its index will look into:
10
+
11
+
- 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)
12
+
13
+
- If you open a js file that is outside the current project, it will scan the folder where this file resides.
14
+
15
+
- Completion of methods/functions in unsaved files, and completion of `var`s for the current file are generated on the fly, with the incredible fast API of Sublime Text.
16
+
17
+
Will trigger its magic in js files and js scopes (eg in a script tag of an HTML file.)
18
+
19
+
For the original development read about at <http://www.eladyarkoni.com/2012/09/sublime-text-auto-complete-plugin.html>
20
+
21
+
For the performance improvements take a look to https://github.com/eladyarkoni/MySignaturePlugin/pull/7
0 commit comments