Skip to content

Goto Symbol Support

Compare
Choose a tag to compare
@thatsIch thatsIch released this 29 Dec 06:18
· 163 commits to master since this release

Build against: 3126
Requires at least: 3092

Sublime Text has the ability to Goto Symbol... (default key: ctrl + r). Symbols are special constructs with a special meaning representing something. This could be variables in other languages or class names. The closest equivalent Rainmeter has are sections.

Through the inofficial documentation you can read up the special syntax required to add the sections as symbols. I added a new Symbol List Sections.tmPreferences file which handles that by using the language syntax scope of the sections.

goto_symbol-shaded

Besides the useful display of the outline you can use that to quickly move around your document.

I intended to display more information like the type (like meter, measure) and kind (like cpu, string) but this is not possible with the current chosen syntax definition. This needs to be reworked to enable a deeper integration.