There can be a few Visual Studio intellisense errors when writing code, which are unrelated to compilation.
How Does It Work?
Visual Micro provides the Microsoft intellisense engine with all the information and it makes a “best endeavours” attempt to provide intellisense for all code.
Some Arduino toolchains contain some pre-compiled code, so the sources are unavailable for Intellisense to use. As a result, intellisense can’t process everything outside of a build.
Some IDE’s handle it by not showing any info/errors, they skip the issue. Microsoft reports it. Microsoft also provides a combo box top right of the errors list to switch to “Build Only”. Then you will have an accurate list after each compilation.
What to do about Errors?
1) Ensure you are on the latest version of Visual Micro, available from our
Downloads Page.