简体   繁体   English

如何在Visual Studio 11 Beta中为接口和委托设置语法突出显示?

[英]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... 为我工作...

VS11 Beta专业版

(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.

相关问题 语法突出显示在 Visual Studio 中不起作用 - Syntax highlighting not working in Visual Studio Visual Studio 11 Beta ... WPF模板? - Visual Studio 11 Beta… WPF template? 安装Visual Studio 11 Beta之后InvalidOperationException - InvalidOperationException After installing Visual Studio 11 Beta 在Visual Studio 2015中突出显示奇怪的语法 - Strange syntax highlighting in Visual Studio 2015 Visual Studio 2012中嵌入式语言的语法突出显示 - Syntax Highlighting of an Embedded Language in Visual Studio 2012 ANTLR语法在Visual Studio中突出显示DSL - ANTLR Syntax Highlighting DSL in Visual Studio 如何在Visual Studio Code中为大型C#文件启用语法突出显示? - How do I enable syntax highlighting for a large C# file in Visual Studio Code? 如何在Visual Studio 2008中使VB.NET和C#的语法突出显示和键盘行为相同? - How to make make syntax highlighting and keyboard behavior identical for VB.NET and C# in Visual Studio 2008? 如何在 Visual Studio(社区)的 C# 中打开语法错误突出显示? - How do I turn on the syntax error highlighting in C# in Visual Studio (Community)? Visual Studio 11 Beta设计器视图无法打开并引发错误 - Visual Studio 11 Beta Designer View does not open and throw an error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM