简体   繁体   English

IntelliJ IDEA中如何拆分运行工具Window?

[英]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.我对 IntelliJ IDEA 比较陌生,想知道是否可以拆分 Run Window,以便同时看到多个 Run 视图。 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.据我所知, h/v 拆分功能仅适用于编辑器选项卡。 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 Ultimate 2018

IntelliJ IDEA Ultimate 2022.2.1 IntelliJ IDEA Ultimate 2022.2.1

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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