sublimetext2 - Sublime code folding of comments (as in Ace) -
in cloud9 (based on ace editor) can define arbitrary code folding regions within comments, example:
// descriptor { function() { // code } // }
folds to:
// descriptor {<->}
is there existing way replicate in sublime?
from http://wesbos.com/sublime-text-code-folding/
to fold block, place cursor anywhere within block want fold. hit folding keys collapse block.
command + option + [
the thing have remember sublime text's folding mechanism dependent on code intention levels , not scope.
Comments
Post a Comment