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

22,132

Solution 1

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

Also after that you can drag them as tabs and let them be side by side.

Solution 2

You can open multiple tabs and then use the mouse drag them out into the editor area. Then you may want to split the editor vertically to have two consoles side by side. Or you could use one terminal in the tool window and the other up in the editor area.

Solution 3

This worked for me in IntelliJ Idea...

Click the plus icon to open a second terminal window

terminal image 1

If you want to split the windows so both shows at the same time, just right-click on the second tab and select horizontal or vertical

terminal image 2

Hope it helped someone.

Solution 4

enter image description here

Besides the great answer given by avb (using the + or right click), you can of course also use a hotkey for this (when selected the terminal) press:

MacOs: Command+T / ⌘T

Windows / Linux: Ctrl + T

Note: you can even rename tabs by double clicking on their label.

Solution 5

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

It's a bit hack since the editor then considers your terminal window a file and names it Local or Local(x) if you have multiple.

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

This is how it looks: enter image description here

Share:
22,132

Related videos on Youtube

Max Malysh
Author by

Max Malysh

Follow me on Twitter! https://twitter.com/maxmalysh About me: https://maxmalysh.com

Updated on July 09, 2022

Comments

  • Max Malysh
    Max Malysh almost 2 years

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

    • Bohuslav Burghardt
      Bohuslav Burghardt over 8 years
      Well the embedded terminal support tabs if that's good enough. If you want multiple terminals in one view, then use something like tmux ...
    • Max Malysh
      Max Malysh over 8 years
      @BohuslavBurghardt I'd like to see them side by side. Thanks for the tab advice though!
  • Max Malysh
    Max Malysh over 7 years
    Could you add a screenshot, please?
  • Janneman96
    Janneman96 about 6 years
    Is there a way to split the terminals at the bottom? One in the left bottom corner, one in the right bottom, instead of the full width terminal?
  • Adam Parkin
    Adam Parkin almost 6 years
    Is there any way to get two terminals side-by-side in the same view? Ie split the terminal window into two side-by-side terminal windows? VS Code can do this: code.visualstudio.com/docs/editor/… am wondering if Pycharm can.
  • Ahmad Behzadi
    Ahmad Behzadi almost 6 years
    @AdamParkin I don't use Pycharm but I don't think be any different between JetBrains tools. After clicking on plus icon and making new tab, then you drag each tab to any other place and let them be side by side.
  • episodeyang
    episodeyang over 4 years
    this is completely not related to the question.
  • UnsettlingTrend
    UnsettlingTrend over 4 years
    This is what I came here for, and still can't find a solution for this @Janneman96
  • Janneman96
    Janneman96 over 4 years
    I've stopped using IntelliJ as my default editor, I'm using Visual Studio Code now. It happens to have the option to use multiple terminal windows by clicking Terminal>split terminal. The amount of times you can 'split' (add new terminal windows) seems to be only limited by your resolution/screen size.
  • tuanngocptn
    tuanngocptn over 3 years
    this is exactly the answer I need.
  • michaelsnowden
    michaelsnowden over 3 years
    Is there a shortcut to switch between the views?