Categories
|
opensource software
Groovy Console PluginProducts: IntelliJ IDEA Vendor: Sergey Bondarenko Email: Website: N/A SourceCode: Groovy_Console_Plugin_4660.zip Description:
Allows to run Groovy Console in Idea classloader, so that makes testing different APIs really easy
4 updates are hidden
show all updates
Recent change notes:New version of Idea Groovy Console Plugin - 0.1.5. Now it allows to run console for Idea plugins written in Groovy (does not matter whether they use Groovy embedded in Idea, or their own version). Previously this plugin allowed only running console for plugins written in Java. |
|||||||||||||||||||||
Comments:
It is much more useful for these purposes, because you have code completion working there. I could help you with setup and usage tips if you want.
I do not work on Groovy Console Plugin anymore, because there is no reason to support two plugins with the same functionality.
groovy.lang.MissingMethodException: No signature of method: com.intellij.util.lang.UrlClassLoader.loadClassInsideSelf() is applicable for argument types: (java.lang.String) values: [groovy.lang.GroovyObject]
As for OutOfMemoryError, it is not reproduced for now. Probably, problem was not in your plugin, but in EAP Idea edition. Scenario was simple: I had my project and tried to open your plugin from Tools menu, nothing special.
Now it is possible to select plugin classloader to run console in. So that console has become fast(since there it does not need to seach classes in all plugins).
I'll try to reproduce and fix OutOfMemory. Could you please help me with scenario for this issue?
Regarding imports, my intention was to make plugin development easier. So that all active plugins classes are imported in current console.
But it looks like you are trying to use console in different way. You want it to work in the project's classpath, right?
I also use Groovy Console in project's classpath. I just add groovy-all-xxx.jar to the project's classpath, and create Run Configuration in Idea with "groovy.ui.Console" as main class. I think it is quite easy, so probably there is no need in special plugin. Could you please try this approach? If you think special plugin could handle it better, probably I could create one.
The main change - fixed weird problem with too slow script execution. Also script result now is displayed in the result panel, as expected.