Could not find symbol 'cy_stc_capsense_touch_t' in index

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
charles-weikeng
Level 3
Level 3
Distributor - Weikeng(GC)
50 sign-ins 10 likes given 10 replies posted

我在modus toolbox里面右键相关数据类型open declaration,无法跳转,报错为Could not find symbol 'cy_stc_capsense_touch_t' in index, 部分变量是可以open declaration。代码编译没有问题,也能正常运行。能否帮忙看看如何解决open declaration这个问题,方便了解数据的定义和使用,谢谢!

0 Likes
1 Solution
Vison_Zhang
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 250 sign-ins

Eclipse 的 code editor 的链接分析功能就是很弱,相互跳转的指向性不好。

建议你安装一个 Visual Studio Code 软件,然后再 MTB 工程的命令行中输入 make vscode  就可以生成 Visual Studio Code 兼容的导出工程,用 Visual Studio Code 直接在工程目录下打开该工程就可以自由跳转了。

View solution in original post

0 Likes
4 Replies
charles-weikeng
Level 3
Level 3
Distributor - Weikeng(GC)
50 sign-ins 10 likes given 10 replies posted

20230315.png

0 Likes
PandaS
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 5 likes given

Hi @charles-weikeng ,

Could you try clicking on the torch shaped icon(search icon) present at the top of the ModustoolBox IDE.

PandaS_1-1678862823336.png

Then search for the keyword in the entire workspace, as shown below:

PandaS_2-1678862917389.png

You should be able to navigate to the directory having the keyword.

 

Warm regards,

Sobhit

 

0 Likes
charles-weikeng
Level 3
Level 3
Distributor - Weikeng(GC)
50 sign-ins 10 likes given 10 replies posted

我用搜索的方式可以找到数据类型定义的地方,但是不能从我的mian.c定义的地方直接跳转过去。

0 Likes
Vison_Zhang
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 250 sign-ins

Eclipse 的 code editor 的链接分析功能就是很弱,相互跳转的指向性不好。

建议你安装一个 Visual Studio Code 软件,然后再 MTB 工程的命令行中输入 make vscode  就可以生成 Visual Studio Code 兼容的导出工程,用 Visual Studio Code 直接在工程目录下打开该工程就可以自由跳转了。

0 Likes