nRF Connect for VS Code Cannot "Go to Definition" and Provide Doc

I performed the following steps:

1. I installed nRF Connect for VS Code Extension Pack in VS Code

2. I created a new application by copying a sample (Bluetooth LE HIDS keyboard)

3. I created a build with both SDK and Toolchain version as v3.2.1

I saw following in main.c:

I can't use the Go to Definition function or see the docs when I hover over any functions from libraries.

Some more details of my instance of the VS Codet:

Version: 1.107.1 (user setup)
Commit: 994fd12f8d3a5aa16f17d42c041e5809167e845a
Date: 2025-12-17T14:15:14.850Z
Electron: 39.2.3
ElectronBuildId: 12895514
Chromium: 142.0.7444.175
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Windows_NT x64 10.0.19045

Parents
  • Hi,

    It appears your IntelliSense configuration is not correctly linked to the nRF Connect SDK build system. You may try doing a pristine build and check. If it still exists then try refreshing the IntelliSence in the following way: In the nRF Connect sidebar, go to the Applications panel and click on the image (your application name) that you are currently editing, clicking the image 'triggers' the extension to apply IntelliSense configurations to your workspace. 

    Moreover also make sure that Intelli Sense Engine is at default settings by going to the Extensions view, select C/C++ and on the gear symbol ('Manage') next to the Auto-Update checkbox, select "Settings". Then, select "IntelliSense" and scroll down almost to the bottom to the "Intelli Sense Engine" setting, and make sure it is at default.

    Best Regards,
    Syed Maysum

  • Thank you for your help. But I tried all 3 methods, none of them worked.

  • Hi,

    Thanks for trying them out. Can you open Command Palette then Preferences: Open Settings (JSON) (or open .vscode/settings.json for the workspace) and then add this entry:

    "C_Cpp.default.configurationProvider": "nordic-semiconductor.nrf-connect"

    Save the file and reload VS Code. Check this out and let us know if you still faces the same issue.

    Best Regards,
    Syed Maysum

Reply Children
Related