Plugin Newbie Help

I am new to IDEA and plugin development. I need pointers or reference to pre-existing plugin source code that will help me achieve the following goals:

1. Create a TODO like box (on the bottom of screen) that contains a list of items, on dbl. clicking an item it would take me to the an associated line of source code in one of the files in the project.

2. Create a context menu item in the project view so that right clicking a file or folder will allow me to call a Java class and populate the box in #1.


Also are there any better docs available for plugin development and more examples?
thanks
-rajiv

1 comment

rajiv wrote:

1. Create a TODO like box (on the bottom of screen) that contains a
list of items, on dbl. clicking an item it would take me to the an
associated line of source code in one of the files in the project.


This is a ToolWindow. You'll need to create your own list and
double-click handler. You can read javadoc about tool windows:
http://www.jetbrains.com/idea/openapi/5.0/com/intellij/openapi/wm/ToolWindowManager.html

2. Create a context menu item in the project view so that right
clicking a file or folder will allow me to call a Java class and
populate the box in #1.


This is an action. You declare these in plugin.xml. You can read
http://www.jetbrains.com/idea/plugins/action_system.html for more
information.

Also are there any better docs available for plugin development and
more examples? thanks -rajiv


Is http://www.jetbrains.com/idea/plugins/plugin_developers.html not enough?

0

Please sign in to leave a comment.