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

前端 未结 10 1668
予麋鹿
予麋鹿 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 16:04

    tick the Checkmark in Settings -> TextEditor -> C# -> Advanced -> Collapse #regions when collapsing definitions.

    then right click in the editor > outlining > collapse to defenitions

提交回复
热议问题