Sublime Forum

Collapsable Text

#1

I am not sure if this already exists or not, but is there some way to have collapsable text inside the editor? The is extremely useful to collapse functions that are not being worked on or large blocks of HTML when you don’t want to scroll over them time and time again.

Thanks, Michael

0 Likes

#2

Unfortunately Jon has said that this is pretty much not possible with the current version and that we’ll have to wait until version 3 (which looks to be a good couple of years out). Meanwhile there’s a plugin that employs something of a dirty hack but does (apparently) work.

See code_folding.py in github.com/adzenith/Sublime-plugins/

0 Likes