opensource software

Groovy Console Plugin

Products: IntelliJ IDEA

Vendor: Sergey Bondarenko


Website: N/A


Bugtracker page


Allows to run Groovy Console in Idea classloader, so that makes testing different APIs really easy
Downloads: 9047
Participated in rating: 1
Version Since Build Until Build File/URL Size (Kb) Date Details
0.1.5. 80.8000. . Download 4630.62 2010-08-29 03:59:37 details
. .
4 updates are hidden show all updates
Screenshot #3801

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.


2011-07-08 20:01:04
Could you please try Remote Groovy Console plugin?
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.
2011-07-08 17:11:11
Is this plugin compatible with the latest version of Idea? When I try to run it with the "IDEA CORE" classloader I get the following error:

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]
2010-03-31 15:46:50
It's me again. Yes, looks like I misused your plugin. I didn't notice its category. I don't make any plugin development and tried to use it as "interpreted java" for smooth development. But nevertheless, integrating as tool window would be cool, I think =) That's why having plugin would be better than doing as you hinted. BTW, thanks for hint.

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.
2010-03-27 23:14:31
New version released - 0.1.2.
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).
2010-03-24 16:57:50
Cool :). You are my first real user.
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.
2010-03-24 16:22:04
Good idea, but currently plugin is raw. First, it crashes with OutOfMemoryError on large projects. Second, as far as I understand, it must import project classpath, but I don't actually see that anything is imported. Third, console window should be integrated as tool window. For now, ancient BeanShell Box plugin is much more usable, though I'd prefer to use Groovy.
2010-03-14 00:32:20
New version (0.1.1) available.
The main change - fixed weird problem with too slow script execution. Also script result now is displayed in the result panel, as expected.