ncs lbs example: how to setup vscode, to make "go to definition" pointing to real .c implementation?

Hi, please bare with me for a newbie question:

  I was in middle of learning the led_and_button example with "NCS fundamental" online video, and was trying to read code for the real implementation for dk_leds_init().

  I clicked "goto definition" for dk_leds_init(). it opened .h file. But the  "find reference" for this function inside this .h file is not pointing to any real .c implementation, as shown below

  Thanks for NCS online links, the .c file location is documented: C:\ncs\v3.0.2\nrf\lib\dk_buttons_and_leds

  So now, here is my newbie question (with environment: win11 + vscode + ncs v3.0.2): How to setup the vscode, to find .c file implementation mentioned above, instead of looking for doc? 

Thanks a lot!

-Shawn Li

Related