Search code examples
visual-studiovisual-studio-2017

Remove vertical dotted indentation lines in Visual Studio 2017


I've just installed Visual Studio 2017 and got strange vertical indentation marks in code editor.

enter image description here

How can I remove them?

P.S. I disabled all extensions but it doesn't help.


Solution

  • In the last version of Visual Studio Code, downloaded in July/2017 (please note that this is not Visual Studio, but as @tambre pointed out, this may help in VS too), the name of this setting changed:

    Go to the menu Code->Preference->Settings and search for "renderIndentGuides". The complete setting should appear as:

      "editor.renderIndentGuides": true,
    

    Change it to false and that's it.