Nikolay Kuznetsov
Nikolay Kuznetsov

Reputation: 9579

IDEA: previous commands in console

I am using IntelliJ IDEA version 11. And debugging my application using console.

Is it possible to use previous commands like in Linux shell with up arrow? Also it would be great if I can prepare a list of commands and then select them in a smart way.

Upvotes: 2

Views: 990

Answers (2)

senseiwu
senseiwu

Reputation: 5259

I am afraid that this is not possible.

For accepting user input(e.g. System.in), one can use either the built in console or one can even add an external command line tool as described here in the documentation. In Windows, I was able to successfully add the standard DOS prompt command line program to IntelliJ and use that to issue any commands that would be accepted by the OS, but even in that case, you do not have command history or autocomplete as discussed here

In the Editor setting, I see a setting "Console commands history size", but setting this doesn't seem to have any effect.

Upvotes: 3

marvin82
marvin82

Reputation: 216

I may be missing something, but what console are you talking about? Debug console is output only, and command line console (which is not bundled with IDEA anyway) does have the arrow feature you asked.

Upvotes: 1

Related Questions