简体   繁体   中英

How to split the Run Tool Window in IntelliJ IDEA?

I'm relatively new to IntelliJ IDEA and was wondering whether it would be possible to split the Run Window, so that I have multiple Run views visible at the same time. Which would be convenient when running multiple modules concurrently. Currently they show as tabs in the same region, so I have to switch the tab whenever I want to see the other run log.

+---------------------------------+
|                                 |
|            Source Code          |
|                                 |
+----------------+----------------+
|                |                |
|     Run 1      |     Run 2      |
|                |                |
+----------------+----------------+

Any way to do this?

As far as I know the h/v split feature is available only for editor tabs. There's also a split mode for tool windows but it works only for different windows, not for multiple tabs of the same windows, so basically no you can't, and I can't imagine what was the reason behind this choice.

You have to right-click on the terminal tab choose "Move to Editor". Then in the editor, you can split editor tabs vertically or horizontally to have more than one terminal in a column or row. Your answer is discussed ( here ) as well.

移动终端

分体式端子

You can't split runs, but you can open build in a terminal and split/stack them in any combination. It's not like a one-click run solution, but can be splited/stacket. Hope somebody found it useful.

Tip: you can copy command from the run tab and paste to the terminal so you don't need to type it.

多终端

IntelliJ Ultimate 2018

IntelliJ IDEA Ultimate 2022.2.1

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM