I find the explanation in section 3. confusing. It mentions "IntelliJ IDEA Plugin SDK" two times with conflicting instructions on what to specify. So should the installed IntelliJ be chosen or the source files of the community edition?
>Configure a common JDK and an IntelliJ IDEA Plugin SDK. For IntelliJ IDEA Plugin SDK you should specify the directory with installed IntelliJ IDEA. By default it offers the directory of the currently
>running IntelliJ IDEA.
>For IntelliJ IDEA Plugin SDK specify the directory with Community Edition source files.
Maybe this section could be improved? Also I wonder if this whole guide is still valid for the recently released IntelliJ 14.
Both of these URLs are valid. The one currently in the docs points to the JetBrains repository where the development is actually done, and the other one points to the GitHub mirror.
But when I see previous versions of idea library I do see that class there. Is there any reason for the removal of this class or am I missing another dependency?
12 Comments
Anonymous
Hi,
I find the explanation in section 3. confusing. It mentions "IntelliJ IDEA Plugin SDK" two times with conflicting instructions on what to specify. So should the installed IntelliJ be chosen or the source files of the community edition?
>Configure a common JDK and an IntelliJ IDEA Plugin SDK. For IntelliJ IDEA Plugin SDK you should specify the directory with installed IntelliJ IDEA. By default it offers the directory of the currently
>running IntelliJ IDEA.
>For IntelliJ IDEA Plugin SDK specify the directory with Community Edition source files.
Maybe this section could be improved? Also I wonder if this whole guide is still valid for the recently released IntelliJ 14.
Dmitry Jemerov
I've updated the instructions to make them non-conflicting. And yes, the guide is still valid for IntelliJ IDEA 14.
Anonymous
Is JDK a pre-requisite for IntelliJ?
Dmitry Jemerov
Given that it's not possible to compile Java code without a JDK, yes, it's a prerequisite.
Anonymous
:)
Anonymous
It is important install or enable plugins first (Step 4) and then add or configure IntelliJ IDEA Plugin SDK (Step 3).
Dmitry Jemerov
Edited, thanks.
Anonymous
Is the git url for the idea community edition still valid? or should it be : git clone git@github.com:JetBrains/intellij-community.git
Dmitry Jemerov
Both of these URLs are valid. The one currently in the docs points to the JetBrains repository where the development is actually done, and the other one points to the GitHub mirror.
Anonymous
This might not be the appropriate place for this question so I apologize in advance.
When I create a plugin project on IntelliJ14 the idea.jar plugin does not include the class:
com.intellij.codeInsight.actions.ReformatAndOptimizeImportsProcessor.
But when I see previous versions of idea library I do see that class there. Is there any reason for the removal of this class or am I missing another dependency?
Thank you!
Dmitry Jemerov
Please ask plugin development questions here: https://devnet.jetbrains.com/community/idea/open_api_and_plugin_development?view=discussions&start=0
Luis Pena
Thanks, I'll post it there, sorry about that.