I am using nRF Connect for VS Code V2024.7.13 and the intellisense does not work.
I am using nRF Connect for VS Code V2024.7.13 and the intellisense does not work.
No it does not work for any files. I have read that the intellisense is linked to the compile_commands.json however I can not find this file in my project after building.
As fast as things change at Nordic/Zephyr it might be that the compile_commands.json is no longer used or available.
No it does not work for any files. I have read that the intellisense is linked to the compile_commands.json however I can not find this file in my project after building.
As fast as things change at Nordic/Zephyr it might be that the compile_commands.json is no longer used or available.
For your specific issue, it looks like you have not selected the mcuboot build. This would be needed to track the files for the mcuboot bootloader.
Does that work?
No that does not work.
Additionally the intellisense does not work on the main project. I also have branch without mcuboot and intellisense does not work on that project either.
I assume I must have changed something or did something that broke it. So I am more interested in knowing how nRF Connect for VSCode makes the intellisense work.
I did add this to CMakeLists.txt and now I get the compile_commands.json but still no intellisense.
No but I assume if I click the button it will? What is the difference between default and sysbuild?
trampas said:What is the difference between default and sysbuild?
It is pretty much a rework of our build system for multi-image builds (such as using MCUboot).
https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/build/sysbuild/index.html
Try to build both with and without and see if it impacts the issue.
Also: Which version of the SDK do you use?