[英]How to setup syntax highlighting for interfaces and delegates in Visual Studio 11 Beta?
In VS2010 this types has been highlighted, but now it looks like this: 在VS2010中,此类型已被突出显示,但现在看起来像这样:
Works for me... 为我工作...
(That's using VS11 Beta, Professional edition.) (使用的是VS11 Beta专业版。)
Look in Tools / Options / Fonts and Colors and find "User Types (interfaces)" and "User Types (delegate)". 在“工具/选项/字体和颜色”中查找“用户类型(界面)”和“用户类型(代理)”。 Both should default to Teal.
两者都应默认为Teal。 If they're not, try changing them explicitly - or just hit the "Use defaults" button to reset all fonts and colors to the defaults.
如果不是,请尝试显式更改它们-或仅单击“使用默认值”按钮将所有字体和颜色重置为默认值。
I had the same issue with VS2012. 我对VS2012有同样的问题。 Here is how to fix it without re-installing:
以下是无需重新安装即可解决的方法:
Close all instances. 关闭所有实例。 Delete the following registry entry:
删除以下注册表项:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\FontAndColors
Reopen VS2012 重新开启VS2012
The problem should be fixed. 该问题应得到解决。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.