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 {<->} 

try here see mean.

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

Popular posts from this blog

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -