How to open two terminal windows in IntelliJ IDEA, PyCharm?
Solution 1
In case of terminal toolbar status, you can do one of these options
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
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
Hope it helped someone.
Solution 4
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.
Related videos on Youtube
Max Malysh
Follow me on Twitter! https://twitter.com/maxmalysh About me: https://maxmalysh.com
Updated on July 09, 2022Comments
-
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 over 8 yearsWell 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 over 8 years@BohuslavBurghardt I'd like to see them side by side. Thanks for the tab advice though!
-
-
Max Malysh over 7 yearsCould you add a screenshot, please?
-
Janneman96 about 6 yearsIs 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 almost 6 yearsIs 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 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 over 4 yearsthis is completely not related to the question.
-
UnsettlingTrend over 4 yearsThis is what I came here for, and still can't find a solution for this @Janneman96
-
Janneman96 over 4 yearsI'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 over 3 yearsthis is exactly the answer I need.
-
michaelsnowden over 3 yearsIs there a shortcut to switch between the views?