+19

Use Textmate fold markers

adzenith 13 років тому оновлено Felipe Prenholato 12 років тому 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