visual-studio-mac

Visual Studio for Mac how to collapse regions and methods


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.


Solution

  • You need to go to Preferences >> Text Editor >> General as on the image below and you will see Code Folding area.

    Visual Studio for Mac Code Folding area

    You can check whatever you need and you will see code folding blocks in your code.