I couldn't find a way to collapse/expand regions and sections from Visual Studio for Mac.
If someone could share how to do that, it would be very useful.
I couldn't find a way to collapse/expand regions and sections from Visual Studio for Mac.
If someone could share how to do that, it would be very useful.
You need to go to Preferences >> Text Editor >> General
as on the image below and you will see Code Folding area.
You can check whatever you need and you will see code folding blocks in your code.
For VS for Mac, Menu > Edit > Outlining...
Click a menu selection.
Note - Your cursor has to be clicked inside a code file before you nav to menu item or they will be grayed out.
Yes.. You can follow this key patterns to collapse and expand all the methods.
Shift + Option + Command + ArrowDown
OR Follow the Image Screenshot: