In the MSDN article "Default Keyboard Shortcuts in Visual Studio," see the section "Text Editor" if you're looking for other shortcuts - these 2 are just a few of the many that are available. This profile enables motor-impaired persons to operate the website using the keyboard Tab, Shift+Tab, and the Enter keys. And to expand them all again, just press CTRL + M, CTRL + P. There some options in the context menu under Outlining. To collapse all classes/functions/subs, press CTRL + M, CTRL + O. Method)ĬTRL + M + H → Collapse / Hide (Expand) current selectionĬTRL + M + O → C ollapse all(Collapse declaration bodies) The following key combinations are used to do things:Ĭollapse / Expand current preset area (e.g. ( After disabling outlining, use same steps to enable outlining.)įor outlining options: Go to Tools -> Options -> Text Editor -> C# -> Advanced -> Outlining for outlining options. Right click in editor -> Outlining to find these controls.
Visual Studio Code Keyboard Shortcuts For. Visual Studio Code Keyboard Shortcuts For Windows. These controls are also in the context menu under Outlining. Writer at Learning Curve and generally just another hedgehog Born of a forest to create.
(in VS 2013 - Toggle All outlining)ĬTRL + M + P will expand all and disable outlining.ĬTRL + M + M will collapse/expand the current section.ĬTRL + M + A will collapse all even in Html files.