Use Textmate fold markers

adzenith 13 лет назад обновлен Felipe Prenholato 13 лет назад 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.

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

Сервис поддержки клиентов работает на платформе UserEcho