forked from merlinthered/sublime-rainmeter
-
Notifications
You must be signed in to change notification settings - Fork 3
Code Folding
thatsIch edited this page Jan 25, 2017
·
1 revision
Sublime Text 3 supports folding indented code sections. The command
rainmeter_indent
that is included in this package automatically indents all
selected lines (or the whole file, if nothing is selected) so code folding is
possible in a sensible way. Hit ctrl+alt+i to activate it. All options in a
section are indented and can be folded away. 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.
This is useful if you want to fold a specific section of code, like all
measures or meters. If you want to add a nice looking header for your foldable
sections, try typing divider
and hitting enter.