13 comments
Comment actions Permalink

Hello Keith,

Please let us know which "all" documentation refers to this, and we'll update
it. The plugin development package is no longer available as a separate download.
All the tools needed for developing plugins are included in the IntelliJ
IDEA Community Edition distribution, and instead of the OpenAPI source code
(which was included in the plugin development package) you now have access
to the source code of the entire IntelliJ IDEA Community Edition: http://www.jetbrains.org/

Trying to learn how to build one for PHPStorm. All the documentation
refers to this and even this video
http://www.jetbrains.com/idea/training/demos/google_search.html, shows
a link....but I can't find it anyhere!!!


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

http://www.jetbrains.com/idea/documentation/howto_03.html#Where to Begin?

I got to that because I tried this:

Create an SDK of type "IntelliJ IDEA SDK" and specify your installation of IntelliJ IDEA Community Edition as the home path. (You can use IDEA Ultimate as well, but debugging the core code will only work with the Community Edition.)

and I get invalid home path.

0
Comment actions Permalink

I am trying to learn how to develop a plugin and I am very confused. That video apparently has old instructions. Can someone give me a down and dirty on how to do this?

0
Comment actions Permalink

Hello Keith,

You need to point to an installation of IntelliJ IDEA Community Edition
(or of PhpStorm, if you want to develop a plugin for PhpStorm), not to a
source checkout.

More up to date "getting started" instructions are at http://confluence.jetbrains.net/display/IDEADEV/GettingStartedwithPluginDevelopment

http://www.jetbrains.com/idea/documentation/howto_03.html#Where to
Begin?

I got to that because I tried this:

Create an SDK of type "IntelliJ IDEA SDK" and specify your
installation of IntelliJ IDEA Community Edition as the home path. (You
can use IDEA Ultimate as well, but debugging the core code will only
work with the Community Edition.)

and I get invalid home path.


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Your link is broken.

0
Comment actions Permalink

Hello Keith,

Try this one: http://confluence.jetbrains.net/x/eIolAg

Your link is broken.


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

I actually started with that one, but I can't understand it. I'll try again.

0
Comment actions Permalink

Like this:

Configuring IntelliJ IDEA SDK

Development of your custom plugins requires the IntelliJ IDEA SDK to be installed and configured for your project.
To configure Intellij IDEA SDK

  1. On the main menu, choose File | Project Structure. Alternatively, do one of the following:
    • Press CTRL + ALT + SHIFT + S
    • On the toolbar, click
  2. In the Project Structure dialog box that opens, do the following, and then click OK:
    • Under Platform Settings, click SDKs, and then click the plus sign icon.
    • From the provided list, select IntelliJ IDEA Plugin SDK.
    • Using the Select Path dialog box that opens, select the IntelliJ IDEA installation directory directory, and then click OK. Note, that by default, this dialog box automatically selects the home directory of the currently running IntelliJ IDEA installation.
    • In the Select internal Java platform dialog box that opens, select a Java SDK (JDK 1.6 is recommended) to be used as IDEA internal platform, and then click OK.
    • Optionally, in Sandbox Home, change the default folder to which Intellij IDEA will copy plugins for debugging.
    • Open the Sourcepath tab, click Add, and then select the folder where you have checked out the sources of IntelliJ IDEA Community Edition.
    • In the Detected Source Roots dialog box that opens, click OK.


Is that for a new project? Some exsisting project? What does this apply to?

0
Comment actions Permalink

I just tried this:

plug_sdk1.JPG

And I get this:

plug_sdk2.JPG

0
Comment actions Permalink

Oh, and I want to do a PHPStorm plugin, I tried that directory for the SDK and got the same message.

0
Comment actions Permalink

Hello Keith,

Have you tried reading the message which you have attached to the post and
doing what it asks you to do?

I just tried this:

Image:plug_sdk1.JPG

And I get this:

Image:plug_sdk2.JPG


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

I think that should be part of the instructions, though, as I'm not a Java developer, I wouldn't think that I would need to define both since the directions don't state that....just a thought.

0

Please sign in to leave a comment.