VS squiggly lines

With VS2019 lately I have been noticing VS is incorrectly marking code as if there was an error.

incorrect squigglys

incorrect squigglys


Now here i just declared a std::vector and yet a few lines below it complains that it can’t find that variable declaration. Similarly for tbb namespace for parallel_for.

I couldn’t find a way to hide it, however found that it can be controlled thru the setting in Fonts and Colors (Tools - Options - Environment - Fonts and Colors).

/images/vs-squiggly-hide.png


I just changed the squiglly color to match the VS Editor background :), don’t know any other way to shut-it off but with it hidden- it is as good as gone (at least for now)..

Update: this can be achieved by disabling Squiggles from Intellisense

/images/vs-squiggly-hide-options.png