Plugin Development in IDEA

Plugins in Platypus are JAR files. Here is how to develop/debug the JAR code without having to do any special build steps (tested in IDEA 9).

  1. Use the Ant build.xml file to perform the build. Do this by clicking on the right edge tab called "Ant Build" and pointing it at the build.xml file.
  2. Build the project and make sure it generates a JAR for the plugin you're working on.
  3. Go to File->Project Structure->Libraries. Here you will add the plugin JAR to the project
  4. Name the plugin ("Platypus RTF" in the example below), then click on Attach Classes

  1. Point the dialog box to the JAR file created by Ant
  2. Click on Apply at bottom of screen
  3. Test the code by making a modification in your plugin and running it immediately via the run configuration drop-down. You should see the modified output in your resulting file and you can set breakpoints in your source code.
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.