+19

Use Textmate fold markers

adzenith il y a 13 ans mis à jour par Felipe Prenholato il y a 13 ans 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