- Total 30K
- Win 16K
- OS X 9K
- Linux 5K
|Sep 18||Sep 17||Sep 16||Sep 15||Sep 14||Sep 13||Sep 12||Sep 11||Sep 10||Sep 9||Sep 8||Sep 7||Sep 6||Sep 5||Sep 4||Sep 3||Sep 2||Sep 1||Aug 31||Aug 30||Aug 29||Aug 28||Aug 27||Aug 26||Aug 25||Aug 24||Aug 23||Aug 22||Aug 21||Aug 20||Aug 19||Aug 18||Aug 17||Aug 16||Aug 15||Aug 14||Aug 13||Aug 12||Aug 11||Aug 10||Aug 9||Aug 8||Aug 7||Aug 6||Aug 5||Aug 4|
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.