开发者

How to Turn Off Showing Whitespace Characters in Visual Studio IDE

I don't know what I did but I don't know how to get rid of those arrows on th开发者_Python百科e left.

How to Turn Off Showing Whitespace Characters in Visual Studio IDE


CTRL+R, CTRL+W : Toggle showing whitespace

or under the Edit Menu:

  • Edit -> Advanced -> View White Space

[BTW, it also appears you are using Tabs. It's common practice to have the IDE turn Tabs into spaces (often 4), via Options.]


In Visual Studio 2010 the key sequence CTRL+E, S will also toggle display of whitespace characters.


In Visual Studio 2015 From the top menu

Edit -> Advanced -> View White Space

or CTRL + E, S


If the Toggle Visual Space icon shall be added to a Visual Studio toolbar of your choice, because it shall be turned on and off via mouse click, then follow this instruction:

  1. Customize the desired toolbar

    How to Turn Off Showing Whitespace Characters in Visual Studio IDE

  2. Click on Customize...

  3. Click on Add Command...

  4. Go to Edit and chose Toggle Visual Space

    How to Turn Off Showing Whitespace Characters in Visual Studio IDE

  5. Click on OK

Tested with Visual Studio 2019.


for VS code and later versions Ctrl + P to open and then writing Whitespace, you can select the View: Toggle Render Whitespace


CTRL+SHIFT+* is the de-facto standard key combination for showing/hiding whitespace characters in all Microsoft products that support this feature.

P.S: * refers to 8- * key, not to numeric keypad * key.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜