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?

0

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

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

0

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

0

请先登录再写评论。