如图片所示,CLANG插件的跳转只支持与源文件同文件夹的头文件的跳转,其子目录或者其他目录的头文件都不能跳转,include路径设置正确,可以正常编译。
查找变量引用也是这样,只支持相同目录的。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
如图片所示,CLANG插件的跳转只支持与源文件同文件夹的头文件的跳转,其子目录或者其他目录的头文件都不能跳转,include路径设置正确,可以正常编译。
查找变量引用也是这样,只支持相同目录的。
您好,
请注意,我们注意到 clang 和我们的环境存在许多问题:
https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1475335/mspm0g3507-ccs-theia-ctrl-click-on-function-goes-to-wrong-source-when-workspace-has-two-folders-or-is-it-projects/5697052#5697052
如上述链接中所述,我们正在进行重大返工,以更好地针对 20.2.0 版本进行工作。