I was coding on a project in VS2008 and I tried to hit CTR + R +E to encapsulate a field as a property(feature of resharper) and I fummble fingered, now I have dots everywhere I have spaces and I cant figure out how to get rid of it. e.g.
我在VS2008的一个项目编码,我试图点击CTR + R + E封装一个字段作为属性(resharper的功能),我摸索着手指,现在我有点到处我有空格我无法弄清楚如何摆脱它。例如
using.System;
Namespace.EgNamespace
{
....public.class.TestClass
....{
........public.void.TestMethod()
........{
............return;
........}
....}
}
The dots are centered but its very close to that. I have been serching the tools->options->Text Editor for a toggle to turn it off but I am at a lost.
圆点居中但非常接近。我一直在为工具 - >选项 - >文本编辑器进行切换,以便关闭它,但我很遗憾。
2 个解决方案
#1
Ctrl+R, Ctrl+W
or
Ctrl + R,Ctrl + W或
Edit –> Advanced –> View White Space
编辑 - >高级 - >查看空白区域
#2
Personally, I like visible white space a lot, but only if it's changed from the strong green to a mild gray. See What are your most-recommended Visual Studio preferences?
就个人而言,我喜欢可见的白色空间,但只有当它从强烈的绿色变为温和的灰色时。请参阅您最推荐的Visual Studio首选项是什么?
#1
Ctrl+R, Ctrl+W
or
Ctrl + R,Ctrl + W或
Edit –> Advanced –> View White Space
编辑 - >高级 - >查看空白区域
#2
Personally, I like visible white space a lot, but only if it's changed from the strong green to a mild gray. See What are your most-recommended Visual Studio preferences?
就个人而言,我喜欢可见的白色空间,但只有当它从强烈的绿色变为温和的灰色时。请参阅您最推荐的Visual Studio首选项是什么?