Visual Studio for Mac how to collapse regions and methods

Jzrzmy picture Jzrzmy · Jun 28, 2017 · Viewed 8k times · Source

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.

Answer

Denis Gordin picture Denis Gordin · Jul 1, 2017

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.