I'm using VScode for C++ projects and have the extension "C/C++ IntelliSense" installed, but recently the "Go to definition"(F12) cannot work correctly, if the source code file is opened, it works fine, otherwise it only navigate to the header file and there are three dots to indicate that the function definition is not found.
I have tried to disable/enable the C/C++ IntelliSence and reinstall it, it still not work.
How can I get the "F12" back to work?
Thanks!