First Plugin
Hello,
I want to write my first plugin with IDEA.
I am trying to follow the steps mentioned at
...\idea-5.0.2-Dev\Plugin Development Readme.html
But they looks pretty confusing.
Could some one has steps that a new bee could follow and write his own
HelloWorld plugin?
Thanks
Sandeep
Please sign in to leave a comment.
Hello Sandeep,
S> I want to write my first plugin with IDEA.
S> I am trying to follow the steps mentioned at
S> ...\idea-5.0.2-Dev\Plugin Development Readme.html
S> But they looks pretty confusing.
S> Could some one has steps that a new bee could follow and write his
S> own HelloWorld plugin?
What exactly is confusing for you? Your feedback can help us improve the
documentation we provide.
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"
Here are the steps mentioned.
(Sandeep --> please mention the bellow steps need to be followed on the
wizard)
1. Click on "File | New Project..."
2. Select the project file name and location
3. On the "Project JDK" page, click "Configure..."
4. Click "Add IntelliJ IDEA SDK" button
a. (Sandeep--> This is second button on the left top.)
5. Browse to the directory where your installation of IntelliJ IDEA is
located, click "OK"
6. Enter the path to the sandbox (the folder where the instance of IDEA
used for debugging your plugin will store its configuration and system
files)
a. This is not really clear. Can you give me a typical path as an
example?
7. In the "Select Module Type" page, select "Plugin Module"
a. (Sandeep --> This is available after you choose single module
or multi-module.)
8. Once the project is created, create a class which implements
ApplicationComponent, ProjectComponent or ModuleComponent interface and
specify its full-qualified name in the , or section of the META-INF\plugin.xml file. 9. Alternatively, create a class which extends AnAction and register it in the section of META-INF\plugin.xml. Point 6.a is my question. Also if you also mention the exact steps like click "next", "Ok" etc would help. Otherwise we keep finding the button / link on the wrong screens. Additionally, when I create the class, how do I run it now? How do I see my plugin working? Thanks Sandeep "Dmitry Jemerov (JetBrains)" ]]> wrote in message
news:83ca25fd2596cd8c7e42453acf7a0@news.intellij.net...
>
>
>
>
...
This can be anything you want -- create an empty folder somewhere and use that.
You do Run > Edit Configurations, then click on "Plugin" and create a new configuration. Call it whatever you want. Running this configuration will start a new instance of IDEA with your plugin registered.