The "Go to Definition" (Ctrl+click) dosn't work on component libraries

Maybe this is a VScode issue, but I will give it a try here.
Both ‘Go to Definition’ and ‘Go to Declaration’ works fine as long as symbols are in the project scope. But if the symbol definition resides in the component library the “Go to Definition” (Ctrl+click) will show the symbol declaration in the .h file. I was expecting to see the definition in the .c file. Is that wrong expectations or an IDE setup issues?