how to implement regions/code collapse in javascript

后端 未结 17 1653
灰色年华
灰色年华 2020-11-28 21:01

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

17条回答
  •  春和景丽
    2020-11-28 21:54

    It works like a charm in PhpStorm

    //#region My Region 1
        ...
    //#endregion
    
    //#region My Region 2
        ...
    //#endregion
    
    

提交回复
热议问题