gradle - Intellij-添加对另一个插件的依赖

标签 gradle intellij-plugin

我正在尝试使用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/

相关文章:

java - 如何在STS内置服务器上重新部署Spring Boot应用程序

gradle - Gradle错误:app:transformClassesWithJarMergingForDebug失败

android - 更改 org.gradle.jvmargs 的值可修复 "This problem might be caused by incorrect configuration of the daemon."错误

bintray 日落后 Android 项目构建失败

ruby - 我如何让 intellij 选择代码完成建议而无需导航到它?

java - List.of 给出错误 : cannot find symbol error

java - 在 IntelliJ 中显示或打开我的插件

java - IntelliJ IDEA VCS插件: refresh VCS window on save

java - IntelliJ 插件 : Access is allowed from event dispatch thread only

java - Intellij idea插件开发: plugin not enabled on right click on project