Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 416
Piper Avatar asked Dec 13 '12 22:12

Piper


People also ask

Is Sublime Text the same as Visual Studio Code?

Sublime Text and Visual Studio Code (VSCode) are top notch development environments for coding. Sublime Text 3 is a commercial tool built by Sublime HQ, and VSCode is Opensource by Microsoft built on the Electron platform. These editors run on Windows, Mac and Linux.

Which is better atom or sublime or VSCode?

Whereas Visual Studio Code and Atom have thousands of contributors and a large team of maintainers, Sublime Text relies on a much smaller team. When it comes to performance, Sublime Text edges out VS Code, Atom, and other editors. Sublime Text is well known for being lightweight, speedy, and responsive.

Can Sublime Text be used as an IDE?

Sublime can be used on Linux, Windows and Mac as an IDE for developing Chromium.

What is region in Visual Studio?

Use the #Region directive to specify a block of code to expand or collapse when using the outlining feature of Visual Studio IDE. You can place, or nest, regions within other regions to group similar regions together.


1 Answers

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.

like image 125
Liam Cain Avatar answered Sep 21 '22 17:09

Liam Cain