简体   繁体   中英

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:

突出示例

Works for me...

VS11 Beta专业版

(That's using VS11 Beta, Professional edition.)

Look in Tools / Options / Fonts and Colors and find "User Types (interfaces)" and "User Types (delegate)". Both should default to 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. 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

The problem should be fixed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM