How can you implement regions a.k.a. code collapse for JavaScript in Visual Studio?
If there are hundreds of lines in javascript, it\'ll be more understandable using
For VS 2019, this should work without installing anything:
//#region MyRegion1 foo() { } //#endregion //#region MyRegion2 bar() { } //#endregion