I got Visual Studio 2015 Professional several months ago. One thing that has irked me ever since is how the syntax error checking fires off immediately after typing, whereas in 2013 the error checks only happened after you have moved away from your current line of code.
This is kind of difficult to explain what I mean. Essentially, if I type a quotation mark every single bit of code below that point immediately switches to string and everything highlights as errors. Halfway through creating a variable, Visual Studio is highlighting it saying it is an unused variable.
Is there a way to turn this feature off? I have been poring over every options menu I can find, disabling options one by one and I cannot find a solution. I have also googled ad nauseum and searched for a solution but it is either difficult to search for or nobody else minds. I find this feature highly annoying because the editor is screaming at me before I have even progressed halfway through a line of code.
Any help would be greatly appreciated
Use Quick Actions to fix or refactor code Or, when your cursor is on the line with the colored squiggle, press Ctrl+. or select the light bulb, error light bulb, or screwdriver icon in the margin. You'll see a list of possible fixes or refactorings you can apply to that line of code.
Before that make sure that you're in a C++ file. Then, go to the command palette (Ctrl + Shift + P) and search for "error." Click on the "Enable Error Squiggles" option. That's it.
How to Fix It: If a syntax error appears, check to make sure that the parentheses are matched up correctly. If one end is missing or lined up incorrectly, then type in the correction and check to make sure that the code can be compiled. Keeping the code as organized as possible also helps.
To display the Error List, choose View > Error List, or press Ctrl+\+E.
Ok, maybe this link can help you.
https://blogs.msdn.microsoft.com/zainnab/2010/05/01/how-to-turn-off-automatic-intellisense/
Also You can change colors for that error highlights (cheat your mind), look for the error color and choose one equal to the back color of the editor.
https://msdn.microsoft.com/en-us/library/hh923906.aspx
I hope this can help you
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With