Multiple consoles next to each other?

Hi all,

Just a simple question: I'm trying to run a couple of programs in IntelliJ which talk to each other using RabbitMQ. The messages are displayed on the console, and I would like to see those messages which are received in the running applications. However, I cannot find a way in IntelliJ to display two (or more) consoles next to each other. I've tried all kind of floating, docking, splitting options, but the consoles are just displayed in tabs, and I want to 'untab' them and display them multiple times. How can I do this??

Thanks for the help,

Erik

2 comments
Comment actions Permalink

When you have a log (or multiple log) files defined for a run configuration (via the "Logs" tab in the Run/Debug Configuration dialog), multiple tabs show in the Run (or Debug) Tool Window. One for the console, and one for each of the log definitions. With that, you can rip and drag the console tab off the run tool window. You can then do that for the console tab on different run/debug configurations (that are pinned) and view them side by side. Even if you do not have a log file, you could as a workaround/hack, just configure your run/debug configuration to an empty (or perhaps even a non-existent) log/test file. If you did that in the default settings, you would have it each time. Unfortunately I am not aware of a way of doing this without havinfg the log defined.

One thing to be aware of. While you can also rip off the log tabs, they unfortunately suffer from IDEA-19517: Log tab from Run tool window does not update on subsequent runs if detached  Fortunately, the console tab when detached does not suffer from this bug.

screenshot.png

0
Comment actions Permalink

Hi Mark,

Thanks for your help! First, I couldn't get it to work since my application only does some println's, and doesn't use a logger. However, what I did now is using a different file (in this case a README.txt), and told IntelliJ this was a log file. Then I was able to drag away the console, and now I can indeed have multiple consoles next to each other. Best (or worst?) hack ever :-)

Again, thanks for the help! Most appreciated!

Erik

0

Please sign in to leave a comment.