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

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

问题描述

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

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

public class Person
{
  int age;
}

看起来像这样

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

我将设置重置为默认值.没用.我还重新安装了VS2008.仍然没有工作.什么错误?

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

推荐答案

Visual Studio 配置为显示空白.

Visual Studio is configured to show whitespace.

Ctrl+RCtrl+W.

如果您使用 C# 键盘映射:(感谢 Simeon)

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

Ctrl+ES.

如果要使用菜单:(感谢 angularsen)

Edit > Advanced > View White Space

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

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