Visual Studio Code does not detect all files used by a build for some nRF Connect SDK versions

nRF Connect for VS Code

tags
nRF Connect for VS Code

This limitation affects the nRF Connect extension when using the nRF Connect SDK v2.7.0 (or earlier).

In some cases, especially for build configurations that use sysbuild or shields (or both), some Kconfig files (.conf) and devicetree files (.overlay,.dts,.dtsi) are not picked up by the active build context. This issue has the following consequences:

  • The devicetree language server will be unaware of the context of these files when computing results.
  • The Devicetree Visual Editor will render an incomplete state for that context.
  • Tooltips will not be shown for these files.