为什么 Visual Studio 编辑器会在空白处显示点?

编程入门 行业动态 更新时间:2024-10-25 06:33:11
本文介绍了为什么 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+R,Ctrl+W.

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

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

按 Ctrl+E、S.

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

Edit > Advanced > View White Space

更多推荐

为什么 Visual Studio 编辑器会在空白处显示点?

本文发布于:2023-11-06 06:23:18,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1562924.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:会在   编辑器   空白处   Visual   Studio

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!