Home > OS >  Is there a way to disable gutter icons in Visual Studio 2022?
Is there a way to disable gutter icons in Visual Studio 2022?

Time:06-20

Visual Studio 2022 displays symbolic colored icons in the gutter next to line numbers, e.g. Gutter icons (circled)

I find the icons distracting and not particularly useful. They seem to be related to code structure — e.g. object inheritance and method overrides — which I can already understand from looking at the code.

Is there a way to "declutter my gutter" by hiding these particular icons?

I'm not talking about the code folding icons, or breakpoint icons. These are more or less useful, and less visually distracting.

Visual Studio version used: Preview Version 17.3.0 Preview 2.0

CodePudding user response:

These icons are the "Inheritance Margin" icons. You can disable them by going to Options → Text Editor → C# → Advanced and uncheck the "Show inheritance margin" option:

enter image description here

  • Related