- Total 31K
- Win 16K
- Mac 9K
- Linux 5K
|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||Jan 14||Jan 13||Jan 12||Jan 11||Jan 10||Jan 9||Jan 8||Jan 7||Jan 6||Jan 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.