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

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -