Search code examples
visual-studiosublimetext2minimizeregionfolding

Does Sublime Text 2 have the ability to region code similar to Visual Studio?


In Visual Studio you can minimize huge chunks of code using regions; they essentially just surround the code and minimize it in the window.

Does Sublime have a feature similar to this?


Solution

  • By default, you can select some code the go to Edit > Code Folding > Fold. There are tons of plugins that leverage the code-folding api for more options.