intellij-platform-gradle-plugin
intellij-platform-gradle-plugin copied to clipboard
Add option to runIde using a IJ-community source
There are times when I need to make changes to IJ community and inspect the outcome from my plugin. It would be nice if I could point the plugin to the local IJ sources and have runIde use that as the runtime.
I think its fair to require the sources to be compiled before attempting to call runIde
I think its fair to require the sources to be compiled before attempting to call runIde
If IDE is already built, you can employ runIde#ideDirectory to point to the compiled distribution. I don't see what else can be added in gradle-intellij-plugin in that regard. If you see, please share your ideas.
I think, compilation of the intellij-community shouldn't be part of gradle-intellij-plugin.
Yes, creating the distribution and using ideDirectory is the workaround, but creating the distribution is another step outside a normal compile. I was hoping we could just point to the out/production path and run IJ through the compiled classpath. However just a thought depending on the complexity, I believe Yann mentioned this would be very complex in which case its not worth it.
I was hoping we could just point to the out/production path and run IJ through the compiled classpath.
Got it. I’ll check how hard that would be to implement. Looks like the only problem is to read the project model and build a proper classpath out from it.