Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove vertical dotted indentation lines in Visual Studio 2017

People also ask

How do I get rid of the dotted line in Visual Studio?

Press ctrl+shift+p to open the command palette and search for toggle render whitespaces and click it and the dotted white spaces will disappear.

How do you get rid of vertical lines in VS code?

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

How do I show indentation in Visual Studio?

In VS 2010 it is ctrl +k +d for indentation. and click on General if is not selected automatically. Then, in the last section of the window named “ Display ”, enable the Line Numbers checkbox .


There is an option under Tools → Options → Text Editor called Show structure guide lines that should remove that.


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.


Just press ctrl+E,S and it will be removed.