实际测试有效,解决方法如下:
I think it's all about IntelliSense for C_Cpp. After I re-enabled C_Cpp IntelliSense, go to definition works again... Looks like different language has its own IntelliSense.
ref:https://stackoverflow.com/questions/47599682/visual-studio-code-c-cpp-edit-configurations-does-not-open-c-cpp-properties-jso