add this line to settings.json (file>preferences>settings):
"C_Cpp.intelliSenseEngine": "Tag Parser",
"C_Cpp.default.includePath": [
"${env.HOME}/.arduino"
]
and add to auto-generated c_cpp_properties.json
in .vscode
folder:
{
"configurations": [
{
"includePath": [
"${env.HOME}/.arduino"
]
}
]
}