



This is useful if you want to fold a specific section of code, like all measures or meters. Additionally, inserting a comment line starting with a double semicolon: will indent everything after it so it can be folded until the next that you indented by the same amount.

All options in a section are indented and can be folded away. Hitting ctrl+alt+i automatically indents a Rainmeter source file so code folding is possible in a sensible way. Sublime Text 2 supports folding indented code sections. If you feel that one of those snippets needs to be changed in order to be more useful, don't hesitate to contact me. You can see all available snippets by looking in the Snippets folder in the Rainmeter package directory. There is also a snippet with a basic structure of a skin file called tskin. The names of those snippets start with a "t" for template, so if you want to insert a basic template for a string meter, type tstring and hit enter, if you want to insert a metadata block, type tmetadata. When auto-completing a bang, the required and optional (in braces) parameters are also added, and you can cycle through them by pressing tab or shift+tab.Īdditionally, code snippets for common usages of each meter and measure type, and all native plugins are included. While typing, it will suggest completions from a list of options, values, builtin variables and more. There are several color schemes you can choose from.Ĭode completion is activated by default. Syntax highlighting is turned on by default for files with the. Visit the project website for more information, instructions and downloads. This package for Sublime Text 2 makes developing Rainmeter skins even more fun.
