Search code examples
xamarinxamarin.iosvisual-studio-mac

How to enable code outlining in Visual studio for Mac


As like the native code outlining in the VS code editor, how to enable it in VS for mac?


Solution

  • Visual studio -> Preferences -> Text editor -> General -> Code folding.

    Check the "Enable Code folding", "Fold #region by default" and "Fold Comments by default"

    enter image description here