Visual Studio 2013 - disable highlight of same wor

2019-08-12 07:25发布

One of the default features of the new Visual Studio 2013 is automatically highlighting all the occurances of the currently focused word (see screenshot below).

While some developers may consider this as something beneficial and productive, I don't like it personally and it even diverts my attention and interrupts.

I saw an answer on SO about how to disable this feature for C# (under Tools -> Text Editor), but couldn't find this settings for JavaScript...

Would be very grateful if someone can tell me how to disable this feature also for JavaScript.

enter image description here

2条回答
迷人小祖宗
2楼-- · 2019-08-12 08:03

After going through a lot of options, plug-ins and articles, I have found that the answer was not only so simple, but also was right under my nose...

Just going through the fonts & colors definitions of the text editor in VS, I came across the right definition for this behavior (something with "reference", if I remember correctly).

Now, if you don't mind, I will take my walk of shame. :)

查看更多
可以哭但决不认输i
3楼-- · 2019-08-12 08:05

Tools --> Options --> Environment --> Fonts and Colors --> Match color

Screen shot of Visual Studio 2015 dialog for changing options.

Then select foreground and background colors matching regular text.

查看更多
登录 后发表回答