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.

[参考译文] CCStudio:在 CCS 20.0.1.4__1.6.1中的 CLA 文件中进行关键字跳转和搜索时出现问题

Guru**** 2481465 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1456170/ccstudio-issue-with-keyword-jump-and-search-in-cla-files-in-ccs-20-0-1-4__1-6-1

器件型号:CCSTUDIO

工具与软件:

在 CCS 20.0.1.4__1.6.1中、编辑 CLA 文件时关键字跳转和搜索无法正常工作。

将鼠标悬停在 CLA 关键字上时、Clangd 实时输出以下错误:

[object Object]
I[14:43:49.672] <-- textDocument/codeAction(115)
I[14:43:49.672] --> reply:textDocument/codeAction(115) 0 ms, error: invalid AST
[Error - 14:43:49] Request textDocument/codeAction failed.

"files.associations": { "*.cla": "c" }已添加 CCS 设置。

Clangd 无法像`.c`文件中的程序内容那样识别`.cla `文件的内容。

如何解决这个问题?

谢谢。

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

    您好!

    [报价用户 id="397963" url="~/support/processors-group/processors/f/processors-forum/1456170/ccstudio-issue-with-keyword-jump-and-search-in-cla-files-in-ccs-20-0-1-4__1-6-1 ]"files.associations": { "*.cla": "c" }已添加 CCS 设置。

    这似乎有助于突出显示语法、但我看到其他功能存在相同的问题。 我需要向一些 IDE 专家跟进此问题。 请注意、由于节假日、我将无法在新年之前提供更新。

    谢谢

    Ki

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

    在 IDE 中、*。cla 支持方面存在一些已知缺陷。

    我为这些提出了一个 TT。 跟踪链接为: https://sir.ext.ti.com/jira/browse/EXT_EP-12149

    感谢您的反馈。

    Ki