+19

Use Textmate fold markers

adzenith vor 13 Jahren aktualisiert von Felipe Prenholato vor 13 Jahren 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