Plugin cookbook?

Is there documentation for getting started with plugin development?

I want to use the current EAP as the development platform. I've downloaded the idea3265-dev.zip & extracted it to a directory.

What needs to be modified to add the openapihelp.jar file to the help system?

Are any other configuration changes suggested?


Should javadoc be manually generated from the source contained in the lib/src/*.zip files?

Should an Idea plugin module be used to develop Idea plugins? Or just used an editor + Ant script?

Should the plugin be its own project? Or should the plugin be a module, with other OpenApi source trees as modules in the project?

2 comments
Comment actions Permalink

>Is there documentation for getting started with plugin development?

The dev zip you've already downloaded, some on the wiki (intellij.org) that's worthwhile, and most importantly reading the sources of existing plugins.

>Should an Idea plugin module be used to develop Idea plugins?

Absolutely. Doing so will save you enormous amount of time. You'll be able to run and debug your plugin in a separate IDEA instance at a keystroke, without polluting your existing IDEA installation. It's great stuff.

>Should the plugin be its own project? Or should the plugin be a module, with other OpenApi source trees as modules in the project?

If you go with a plugin module (which I do recommend), the OpenAPI libraries will automatically be included as part of the "IntelliJ JDK". The source trees aren't necessary, but you can bind them to the JDK if you wish. As developer of probably the bulkiest plugin in existence (~500 java files), I've never felt the need to have more than a single module project.

--Dave Griffith

0
Comment actions Permalink

Dave Levitt wrote:

I want to use the current EAP as the development platform. I've
downloaded the idea3265-dev.zip & extracted it to a directory.


I recommend extracting the *-dev.zip to IDEA's installation directory.
That way the openapi sources get automatically picked up when you create
an "Intellij IDEA SDK".

Bas

0

Please sign in to leave a comment.