我正在尝试使用PSI为Intellij实现Golang代码生成/自动完成插件,因此我需要在Golang插件上添加依赖项。这看起来像我想做的-https://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/plugin_dependencies.html
现在的问题是,如何确定我正在使用的插件的ID,名称和版本?
It does not seem to be anywhere in the plugin preferences
PSI元素属于com.goide.psi.impl.GoTypeImpl类。
最佳答案
没有简单的方法来获取插件ID。您可以检查plugin.xml
来获取它。对于Go插件,它是org.jetbrains.plugins.go
。
可以在plugin page上找到版本。
关于gradle - Intellij-添加对另一个插件的依赖,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56552026/