简体   繁体   中英

Visual Studio 2019 Remove instant highlighting by clicking

I want to know how to turn OFF the occurrence highlighting with a mouse click on Visual Studio 2019. It happens as soon as I click on any word/symbol and it is honestly getting on my nerves. The only thread of this case here on StackOverFlow was unanswered. Visual Studio 2019 how to disable occurrence highlighting?

Can anyone please help me get rid of this issue? It was working just fine before and I don't know what key binding I accidentally clicked/touched. I would be thankful. Thank you very much.

Tools Options Text Editor C# Advanced Highlighting

在此处输入图像描述

I had the same problem. The solution was in the ReSharper settings > code inspection > settings > uncheck 'highlight usages of the element under the cursor'.

According to the ReSharper documentation this affects an interaction between ReSharper and Intellisense, so turning off ReSharper might not change the setting, but may just prevent you from accessing it.

I have not been able to find where the color for this specific highlighting can be edited. It must be editable, because it differs between themes.

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