为什么Visual Studio编辑器在空白处显示点? [英] Why does the Visual Studio editor show dots in blank spaces?

查看:203
本文介绍了为什么Visual Studio编辑器在空白处显示点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio文本编辑器中有一个奇怪的错误。
我所有的空格都被替换为。

  public class Person 
{
年龄;



$ b $ p
$ b




  public..class..Person .......................... 
{。 .................
..int年龄; ...................
} .....................

我将设置重置为默认。没有工作。
我也重新安装了VS2008。仍然没有工作。
是什么错误?

解决方案

Visual Studio配置为显示空白。 b $ b

Ctrl + R Ctrl + W 。 b

如果您使用的是C#键盘映射:(谢谢Simeon)
$ b

Ctrl + E S

如果你想使用菜单:(谢谢angularsen)

 编辑>高级>查看空白


I have a strange bug in the Visual Studio text editor. All my blank spaces are replaced by a "."

public class Person
{
  int age;
}

looks like this

public..class..Person..........................
{..................
..int age;...................
}.....................

I reset the settings to default. Didn't work. I also re-installed VS2008. Still didn't work. What's the error?

解决方案

Visual Studio is configured to show whitespace.

Press Ctrl+R, Ctrl+W.

If you are using C# keyboard mappings: (thanks Simeon)

Press Ctrl+E, S.

If you want to use the menu: (thanks angularsen)

Edit > Advanced > View White Space

这篇关于为什么Visual Studio编辑器在空白处显示点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆