+19

Use Textmate fold markers

adzenith hace 13 años actualizado por Felipe Prenholato hace 13 años 1

 Textmate grammars have specifiers for where possible folds should begin and end (foldingStartMarker and foldingStopMarker). It would be excellent if these were supported in Sublime Text 2 to make it easy to fold functions etc.

+1
Vim have same kind of feature.
Each language have your own syntax and folding should consider the syntax of language instead identation