Embedded Groovy shell running in Run tool's console lacks tab-completion, up-arrow history, etc

I have a Java app that starts an embedded Groovy shell. When I run the app inside OS X's Terminal (or any other full-fledged terminal emulator), tab completion in the groovy shell works fine, as does using the arrow keys for history.

When I run it from IntelliJ, the tab key does nothing and the arrow keys simply move the cursor around inside the log of console output. What's going on?

3 comments
Comment actions Permalink

IDEA consoles handles them by itself. E.g. with arrow keys you can navigate and select text, and Tab invokes completion in those consoles where it is supported.

0
Comment actions Permalink

I see. Is there a way for the basic Run console to pass those keyboard events on to the process being run?

0
Comment actions Permalink

AFAIK no. Feel free to file a feature request in a tracker.

0

Please sign in to leave a comment.