Saturday, December 20, 2014

IntelliJ Plugin Development Tutorial - Hello World Plugin

This is a very simple example plugin for IntelliJ IDEA plugin development. You can create this plugin in less than 10 minuets.
This plugin creates a menu bar item called "Hello World". Under that there is an option called "Say Hello". When you click on that option you will see a message window.

Following are the two files you should work with.

When you click on the action item "Say Hello" the method called actionPerformed is executed and the message will be displayed.

Following are the GitHub URL's for complete plugin project. You can clone the project or downolad the project as a zip file. To run the project open IntelliJ IDEA and import the project.

GitHub repository URL - https://github.com/lakjcomspace/IntelliJHelloWorld
GitHub HTTPS clone URL - https://github.com/lakjcomspace/IntelliJHelloWorld.git
Download Project as a Zip - https://github.com/lakjcomspace/IntelliJHelloWorld/archive/master.zip