英文:
How can I find function usage in files other than go?
问题
我正在使用一个名为"antha"的自定义语言,它被转译成Go语言。
Antha脚本文件的扩展名是.an
,会被转译成.go
文件。
我有一个在.go
文件中的函数,我想在.an
文件中找到它的使用情况。
如何修改Gogland的"查找用法"功能,以包括.an
文件?目前它只在转译后的.go
脚本中进行搜索。
英文:
I am using a custom language (antha) which gets transpiled to go.
Antha script files end in .an
and get transpiled to.go
I have a function in a .go
file and I want to find its usages in .an
files.
How do change the "find usage" feature of Gogland to include the .an
files? Currently it only searches in the .go
transpiled scripts.
答案1
得分: 0
理解 antha 的语言插件需要创建/安装,以便使该功能正常工作,否则 IDE 无法理解如何使该功能正常工作。如果您希望了解 IntelliJ 平台的插件开发,您可以从这里开始。
英文:
A language plugin that understands antha would need to be created / installed in order for that feature to work, otherwise the IDE has no way to understand how to make that feature work. If you wish to learn about plugin development for IntelliJ Platform, you can start here.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论