So, I have to update includePath property to get only the right include and avoid multiple definitions. "browse": is defined thanks the boards.txt depending of the board selected. "C:\\Program Files (x86)\\Arduino/hardware\\arduino\\avr\\variants\\standard", "C:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino", Thanks for this answer man, now my IntelliSense is working very well, code completion and the libraries :) (I leave the Intelli Sense engine on Default, cause code completion and syntax highlighting wasn't working for me in "Tag Parser" mode. So you might try this one first, perhaps it will solve your problem.
And i did, and now the intellisense is working ( i changed back the cpp intellisense engine to Default).
Second, after googling for a while, i found out that in order for Serial to be able to works with intellisense, you need to add "defines": in your c_cpp_properties.json. So if you don't mind using tag parser, then go on.
But it get rid of error checking (which is very important for me). That indeed get rid of the errors, and put intellisense autocompletion and suggestion to works again. by changing C_Cpp:Intelli Sense Engine in File>preference>settings to " Tag Parser". And here is what i have tried.įirst, i can get rid of the intellisense errors by simply using tag parser instead of default for my cpp intellisense engine.