rbeins
rbeins

Reputation:

How to change Visual Studio whitespace settings?

I have whitespace characters showing in the Visual Studio code editor, and I'd like to remove them.

Upvotes: 39

Views: 17827

Answers (4)

AlainD
AlainD

Reputation: 6597

For Visual Studio 2019:

  • Toggle on/off - Option 1: Ctrl+R,Ctrl+W
  • Toggle on/off - Option 2: Edit > Advanced > View White Space
  • Change appearance: Tools > Options > Environment > Fonts and Colors > Visible White Space (near top of list, probably because it is a commonly used setting)

Upvotes: 2

JaredPar
JaredPar

Reputation: 754725

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

Upvotes: 52

z-boss
z-boss

Reputation: 17608

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

Upvotes: 8

Aidan Ryan
Aidan Ryan

Reputation: 11589

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

Upvotes: 31

Related Questions