Where is the color setting for the Active Symbol Highlighting Feature in Visual Studio 2013

拜拜、爱过 提交于 2019-12-06 06:03:11

问题


Anytime my cursor is on a symbol or keyword VS2013 (or some plugin i have) highlights all matches of those instances:

I don't mind the highlighting; however, this exact color is annoying with the sons-of-obsidian theme (or any dark background).

I would love to know which setting under Tools->Options->Fonts and Colors controls this so that i can fix it... (As far as I can tell, none of the options adjust it, which makes me think it could be one of the plugins i have...

Plugins: Resharper 8.2 (does adjust colors, but none of the settings I've changed worked) Nuget Package Manager (shouldn't adjust colors) MVC 5 Scaffolding (shouldn't adjust colors) Nancy.Templates (shouldn't adjust colors) Puppet Plugin (shouldn't adjust colors) Visual F# (shouldn't adjust colors)


回答1:


This is built in functionality provided by Visual Studio. To turn it off click on Tools > Options > Text Editor > C# > Advanced and turn off Highlight references to symbol under cursor

If you only want to change the colors you can do this by Tools > Options > Environment > Fonts and Colors and in the Display Items list search for Highlighted Reference.




回答2:


I was wrong, it was not the stupid VS2013 Update 2 RC, it seems to have been the "Puppet" plugin I had installed, I must've disabled it and not restarted visual studio until removing the update 2 RC, This is the setting that took me forever to find.... I glossed over it because i'm in a C# file and not a puppet file.




回答3:


I would guess this is a resharper setting. Unfortunately, there's so many different settings for various types of highlighting, I can't figure out which is which. Have you tried this modified version of Sons of Obsidian?



来源:https://stackoverflow.com/questions/23162949/where-is-the-color-setting-for-the-active-symbol-highlighting-feature-in-visual

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!