how to implement regions/code collapse in javascript how to implement regions/code collapse in javascript javascript javascript

how to implement regions/code collapse in javascript


Good news for developers who is working with latest version of visual studio

The Web Essentials are coming with this feature .

Check this out

enter image description here

Note: For VS 2017 use JavaScript Regions : https://marketplace.visualstudio.com/items?itemName=MadsKristensen.JavaScriptRegions


Microsoft now has an extension for VS 2010 that provides this functionality:

JScript Editor Extensions


Thats easy!

Mark the section you want to collapse and,

Ctrl+M+H

And to expand use '+' mark on its left.