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.

[参考译文] CODECOMPOSER:用于 C2000的 CCS Theia -转到定义/声明将打开新窗口

Guru**** 2540220 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1409454/codecomposer-ccs-theia-for-c2000---go-to-definition-declaration-opens-new-window

器件型号:CODECOMPOSER

工具与软件:

您好!  

由于现有的 CCS 将 停产、而 应 使用更新的 Theia 版本进行 C2000开发、因此我们开始对其进行评估、并发现当工程位于 仿真驱动器上时、Go to 定义或声明命令始终会在一个具有绝对路径的单独窗口中打开同一个文件(定义或声明位于同一个文件中)。  

例如、c:\Laufwerk_E 文件夹用作驱动器 E 的仿真文件夹  

当我 从右侧的文件浏览器中打开 adc_ex13_soc_oversampling.c 文件时、 窗口中包含相关路径: adc_ex13_soc_oversampling>adc_ex13_soc_oversampling.c  

当我右键单击 adcA1ISR 方法并选择"Go to definition"时、定义应该位于同一个文件中。 但将打开具有相同文件的新窗口。 此窗口包含绝对路径: Laufwerk_E > Sandbox > adc_ex13_soc_oversampling> adc_ex13_soc_oversampling.c

这种行为非常恼人、因为代码修改不会在同一文件窗口之间同步。 是否可以通过某种方式调整此行为?