Link to home
Start Free TrialLog in
Avatar of mastiSoft
mastiSoft

asked on

Highlighting text in code

Hi, in my Visual studio I have very annoyed property to highlight everything I type after I used search tool. Please see the attached screen shot.
How do I remove this.User generated image
Avatar of Shaun Vermaak
Shaun Vermaak
Flag of Australia image

Do not understand what you mean but can't you just close the search box?
Avatar of mastiSoft
mastiSoft

ASKER

I closed it. But the only way to avoid this highlight is close and open the project again.
That is not related to the search. The red line means that the syntax could not be parsed correctly yet. It either resolves itself after a few seconds (if the parser needs to finish analyzing), or stays if there is indeed a syntax error. The tooltip at that red line tells you what the editor thinks is going wrong here.
there is not a red line I asked about but the grey one
VS 2017 or VS Code?
can you describe in detail what you were doing and what is the view before and after?

what happens if you type ESC?

do you know that all colors can be customized by menu point Tools - Option - Font and Colors?

if you set the background color of the annoying hilite to the white background color you might have a workaround.

Sara
Change the configuration in the VS editor :

Tools -> Options -> Text Editor -> C/C++ -> Advanced -> IntelliSense -> Disable Squiggles : set this options to True.
hi, I programming in VS Professional 2017 version 15.8.5  C#.
There is no IntellSense in Tools -> Options -> Text Editor -> C/C++ -> Advanced -> .. for C#.
This issue will be resolved if after searching in part of the code (there is when the problem appears) I change to search in Project.
Just search for any thing and then close search box.
ASKER CERTIFIED SOLUTION
Avatar of Chinmay Patel
Chinmay Patel
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thank you, I installed a lot of stuff (
:) Yes.. please don't :D.