- Total 33K
- Win 18K
- Mac 10K
- Linux 5K
|May 19||May 18||May 17||May 16||May 15||May 14||May 13||May 12||May 11||May 10||May 9||May 8||May 7||May 6||May 5||May 4||May 3||May 2||May 1||Apr 30||Apr 29||Apr 28||Apr 27||Apr 26||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|
This project fixes Sublime so only named function definitions and function prototype attributes show up in the symbol list. It also fixes how these symbols are displayed in the symbol list, so that only the function names are shown.
This package has been tested on Sublime Text 2 and 3.
cd to you Sublime packages directory, then:
Refreshing the symbols of existing files
In some cases, especially with Sublime Text 3, the symbols list of files that have been previously opened may not refresh with the improved symbols.
Cache subdirectories in your Sublime user data directory (the parent of the
Packages directory.) In Mac OS X, I've also had to delete ~/Library/Caches/com.sublimetext.3 (or com.sublimetext.2).
It's normal to see a few errors from Sublime about not being able to find syntax files. Just exit Sublime and re-open it, and everything should be fixed.
There is a file,
Symbol List Banned.tmPreferences to specifically match object instantiation and console.log calls, and set them to not show up in the symbol list.
I also modified
Symbol List Function.tmPreferences to do additional processing of function names with regexes, to strip out extraneous characters (like “function” and “= function()”) before showing them in the symbol list. An additional file,
Symbol List Prototype.tmPreferences, was added to include function prototype attributes in the symbol list.