我正在编写一些代码但我不知道自己做了什么,但我的代码开始看起来像这样。我在Mac上使用了boot camp,我尝试像在mac上一样键入{
,我想我点了一个热键。
-
标记有点偏绿,并被编译器忽略。
if (someThing == 10)
{
----(if someOtherThing != 20)
----{
--------DoSomething();
----}
}
答案 0 :(得分:2)
你已经开启了#34; Show Whitespace" - MSDN
您意外点击以启用它的键盘快捷键是CTRL + R, CTRL + W
。
答案 1 :(得分:1)
您已启用“显示空白” - 您可以在菜单中切换以下内容: 修改> 高级> 显示Whitespce