VSCode Extension Intellisense, additional paths

Hi,

I am using nRF Connect SDK v2.3.0. Using VSCode, nrf-connect is the configuration proider for c_cpp extension and intellisense.

I am trying to add some include paths (external test framework).

How can I add non-application paths to the c/cpp intellisense include path?

I have tried adding in a c_cpp_properties.json file as below, but the header includes still give a not found error

Parents Reply
  • I am just trying to get autocomplete working in my non-zephyr test files. Usually the C/C++ extension handles the intellisense fine, based on c_cpp_properties file.

    With a non-ncs project, I normally just add the paths to the c_cpp_properties file, and intellisense picks the files up.

    With the nrf connect extension it doesn't seem to honor the additions in this file.

    I just want to add arbitrary folders/source files to intellisense, but remain using nrf-connect extension

Children
Related