How to open two terminal windows in IntelliJ IDEA, PyCharm?

Is it possible to open two terminal windows in IntelliJ IDEA (or in any other IDE based on this, for example PyCharm)?

+18
intellij-idea ide pycharm
source share
6 answers

In the case of the status of the terminal toolbar, you can perform one of these options enter image description here

Also after that you can drag them in the form of tabs and allow them to be near.

+28
source share

You can open several tabs, and then use the mouse, drag them into the editor area. You can then split the editor vertically to have two consoles side by side. Or you can use one terminal in the tool window and the other in the editor area.

+9
source share

enter image description here

In addition to the excellent response from avb (using + or right click), you can also use the hotkey for this (when choosing a terminal) print:

MacOs: Command + T / ⌘T

Windows / Linux: Ctrl + T

Note: you can even rename tabs by double-clicking their shortcut.

+3
source share

Wow, I found that right now, the solution comes from PyCharm 2016.3 Help : Right-click the tab title and select "Change Separator Orientation" from the context menu.

+1
source share

You can drag the terminal tabs into the editor view and then use the standard horizontal / vertical split to position them where you want.

This is a bit of a hack, since the editor then considers your terminal window to be a file and calls it Local or Local(x) if you have several.

Also note that since the IDE considers this a file, you cannot just split the view to get a new terminal instance. You will have to use the terminal view to create a new tab, and then drag it again to the designated area.

Here's what it looks like: enter image description here

+1
source share

Before moving, rename the terminal tab in the terminal window. Then the name is saved instead of "Local"

0
source share

All Articles