accessing all information about java projects programmatically

hello people,

I am new to the Idea plugins .In fact I have just started using the Idea. I have programmed a plugin for eclipse to create classes after you have created a java project by using java project wizard built-in eclipse. My requirements for Idea are ---

1) Access all information about the open java projects. like source folder names , packages and all the compilation units.
2) Create a wizard to take input from the user about file names etc
3) open an editor programatically where I wil show auto_generated codes.

Please help me with relevant info may be the links or resources where I should find the APIs to do it.

and how different is it from eclipse I mean are there extension points etc

Thanks in advance

1 comment
Comment actions Permalink

AFAIK all of that is possible with Idea's Open API.

Here's a good starting point: http://www.jetbrains.com/idea/plugins/plugin_developers.html

Please have a look at the docs and especially the examples.
For specific questions search this forum first.

Eclipse's plugin structure is better documented and supported by tools.
However custom plugins aren't that vital for IDEA because it already supports much more features out-of-the-box.
Neverthelesse there is of course an Open API and it is very powerful, esp. concerning code structure information.

Also people on this forum are usually quite friendly...


ram wrote:
> hello people,
>
> I am new to the Idea plugins .In fact I have just started using the Idea. I have programmed a plugin for eclipse to create classes after you have created a java project by using
java project wizard built-in eclipse. My requirements for Idea are ---
>
> 1) Access all information about the open java projects. like source folder names , packages and all the compilation units.
> 2) Create a wizard to take input from the user about file names etc
> 3) open an editor programatically where I wil show auto_generated codes.
>
> Please help me with relevant info may be the links or resources where I should find the APIs to do it.
>
> and how different is it from eclipse I mean are there extension points etc
>
> Thanks in advance

0

Please sign in to leave a comment.