Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change Visual Studio whitespace settings?

People also ask

How do I enable whitespace in Visual Studio?

In Visual Studio for Windows, to display whitespace characters (tabs, spaces, etc) you simply press Ctrl + R, Ctrl + W.

How do I change the tab spacing in Visual Studio code?

Type “Indentation” into the search field then head to the “Editor: Tab Size” section. Replace the default space number with your preferred one: Your setting will be applied and reflected immediately. If this doesn't happen (it's a little lag sometimes), just reload or restart your VS Code.


Ajryan is correct but depending on your profile this menu item may be obscured. The keyboard shortcut should still work though. Ctrl+R,Ctrl+W


You need to turn off showing whitespace characters. Menu: Edit > Advanced > View White Space.


If it is VS2008 then you can use Ctrl+E, S combination to toggle.