Collapse all #regions only(!) in C# (Visual Studio)

前端 未结 10 1688
予麋鹿
予麋鹿 2020-12-12 15:11

There\'s a number of keyboard shortcuts and menu commands to automatically expand or collapse all foldables in the current document. Ctrl+M, Ctrl

10条回答
  •  隐瞒了意图╮
    2020-12-12 15:49

    I recommend using the free Visual Studio extension "Menees VS Tools Extension for Visual Studio." Just search for it in Tools --> Extensions and Updates in Visual Studio. Once installed you just have to hit Ctrl+M+K and just the regions will be collapsed. Here is their website https://marketplace.visualstudio.com/items?itemName=BillMenees.MeneesVSTools2013

    To edit the settings look under Tools --> Options --> Menees VS Tools --> General.

提交回复
热议问题