Is that normal? It compiles fine, so the code is fine, but IntelliSense keeps showing lots of false errors. I am using Visual Studio Code. I followed the instructions here: Visual Studio Code - Blender Developer Documentation
I have enter the path for compiled_commands.json
. I have manually defined some macros in c_cpp_properties.json
, but it is showing errors even for things like float4
. The errors usually say an identifier is undefined, or expects a “;”, or expects an identifier.