Hello,
Since the last update some of the includes in my files are being marked by VSCode as "cannot open source file xxx (1696)"

The application compiles fine.
Is there any solution? I am in SDK 1.9.1
Thanks
Xavier
Hello,
Since the last update some of the includes in my files are being marked by VSCode as "cannot open source file xxx (1696)"

The application compiles fine.
Is there any solution? I am in SDK 1.9.1
Thanks
Xavier
Hi Xavier,
Unlike most with dedicated IDEs, the VS Code code editor is not directly related to the compiler toolchain, so you will unfortunately often see things like this, and it can be ignored. There are ways to tweak how VS Code finds files, but more often it could be just as good to just disable the errorSquiggles ("C_Cpp.errorSquiggles": "Disabled").
Einar
Hi Xavier,
Unlike most with dedicated IDEs, the VS Code code editor is not directly related to the compiler toolchain, so you will unfortunately often see things like this, and it can be ignored. There are ways to tweak how VS Code finds files, but more often it could be just as good to just disable the errorSquiggles ("C_Cpp.errorSquiggles": "Disabled").
Einar
I see, that is unfortunate.
Thank you
Xavier
Answering my own question in case someone stumbles on this problem, I had to edit the c_cpp_properties.json file in my .vscode folder in my project and add the nrf folder (in my case base_dir/nordic/ncs/v1.9.1) to the "includePath" and "browse.path" fields.
I got rid of the errors and i can now click the include files and jump into them.