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

前端 未结 10 1691
予麋鹿
予麋鹿 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:13

    Looks like the closest thing is Ctrl+M, Ctrl+S

    Which will collapse the current region you are in, while Ctrl+M, Ctrl+E will expand the current region you are in.

    List of default keyboard shortcuts:

    https://msdn.microsoft.com/en-us/library/da5kh0wa(v=vs.140).aspx

提交回复
热议问题