I'm trying to import and run the IntelliJ git4idea (Git Integration) plugin in order to play around and contribute some of my own code.
(我正在尝试导入和运行IntelliJ git4idea(Git集成)插件,以便进行试验并贡献一些自己的代码。)
I've pulled the Intellij community edition from the github repo , and imported the git4idea plugin as a project.
(我已经从github repo中提取了Intellij社区版,并将git4idea插件导入为一个项目。)
I'm running the Intellij community edition (我正在运行Intellij社区版)
My main issue is this:
(我的主要问题是:)
After importing all the modules, the git4idea module comes up as a general module type, and not a plugin module type.
(导入所有模块后,git4idea模块作为常规模块类型出现,而不是插件模块类型出现。)
This means that when trying to create a new run\debug configuration, I get [none]
under "Use classpath of module", instead of of the ability to select the git4idea plugin.
(这意味着,当尝试创建新的run \ debug配置时,我在“使用模块的类路径”下获得[none]
,而不是选择git4idea插件的能力。)
This obviously results in a "Run configuration error: no plugin module specified for configuration". (显然,这会导致“运行配置错误:未指定用于配置的插件模块”。)
So the question is - How can I change the general type of imported "git4idea" to plugin type?
(所以问题是- 如何将导入的“ git4idea”的常规类型更改为插件类型?)
Or better yet, what are the steps required in order to import and build/debug/run a plugin from the Intellij community edition repo?
(或者更好的是,要从Intellij社区版仓库中导入和构建/调试/运行插件,需要执行哪些步骤?)
ask by OpherV translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…