How can I find function usage in files other than go?

huangapple go评论136阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2017年4月28日 21:30:16
  • 转载请务必保留本文链接:https://go.coder-hub.com/43681449.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定