How to do region collapse for JS in Visual Studio 2012/2013

后端 未结 5 618
孤街浪徒
孤街浪徒 2021-02-05 06:29

Region code collapse for JS in Visual Studio 2012 and 2013 ?

#region AutoComplete JS
$(\"#<%=txtBirim.ClientID %>\").autocomplete({
   source: function (re         


        
5条回答
  •  后悔当初
    2021-02-05 07:11

    It worked for me after installing the Visual Studio Advanced Javascript Outlining extension.

    You can find the extension here

    After installing the extension just restart your Visual Studio and you can use it like this

    //#region MyRegion
    
    Code Here
    
    //#endregion 
    

提交回复
热议问题