I just spent hours trying to debug my code. The whole problem came down to the line:
a == b;
when i really wanted
a = b;
Classic and stupid problem. The fact is that my eyes just blurred == every time I checked this section of code.
Is there a way to turn on syntax highlighting (squiggles) for all == outside the conventions?
That is, I want Visual Studio to warn me when I have == outside of if (), while (), for (),?: Etc. This program was in C ++, but I would like the same function to edit C #.
I would agree to something that would allow me to (easily) fix squiggles errors using regex.
source share