IDEA API: Usage in development process.
Suddenly I thought - why can't I use IDEA API in development process? For example, could anyone advice me how I can format my own xml file (or even string which contains xml) with my preferred IDE code calling?
I thought about it when I was creating a simple test which returns not formatted xml, but I of course would prefer to see it formatted. I know a number if ways to get it, but I think may be I could do it with IDEA? Then I thought may be there are people who use other IDEA features in their own coding processes... Are there any?
Please sign in to leave a comment.
Hello Pavel,
Have you checked around here:
http://www.intellij.org/twiki/bin/view/Main/IntelliJPluginsHome
Might be something useful, if not, try coming back here with specific questions ...
Hello, David
I feel I have been misunderstood. Must confess that subject of topic is some inaccurate.
I didn't mean plugins, (I use some of them intensively) I meant use calls of IDEA API from my own code, not from GUI. Just code reuse in it's pure form :).
Pavel Sozonovsky wrote:
I'm not sure this is clear from the legal point of view. I'll try to get some consultations about.
--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Hello, Maxim.
Usage in production code obviously would be not legal.
But if I can write plugin and call it 'by hands', why can't I use the same API from my own internal code, in my tests for example?..
Pavel Sozonovsky wrote:
>Hello, Maxim.
>Usage in production code obviously would be not legal.
>But if I can write plugin and call it 'by hands', why can't I use the same API from my own internal code, in my tests for example?..
>
I guess the distinction here is that the first is running inside
JetBrains product, as distributed by them, and the later, would be
running in your own code, and under your distribution ( you would need
to redist JetBrains code for it to work ).
NO, no, no.
I didn't mean production code, code to distribute. Only my own internal code. I meant code which should be used while development process, not as development result.
Pavel Sozonovsky wrote:
Sounds like a plugin to me.
Paval, give us your definition of what a plugin is and explain what is
different about what you want to do?