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

前端 未结 10 1702
予麋鹿
予麋鹿 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条回答
  •  旧时难觅i
    2020-12-12 16:06

    in Visual Studio 2017 I have to activate 'Collapse #regions when collapsing to definitions' in

    Tools -> Options -> Text Editor -> C# -> Advanced

    explicitly to collapse all when pressing Ctrl+M+O

提交回复
热议问题