How to split the Run Tool Window in IntelliJ IDEA? - 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

Related

How to hide path location in Run Window in Pycharm?

Today is my first day with Python and I started Using Pycharm Community edition in my Mac. This IDE is really good but one thing annoyed me a lot.
Is there any way I can remove the whole path from showing every time I run a program?
Wanted to remove this Path :
/Users/rajvivan/PycharmProjects/Python/venv/bin/python /Users/rajvivan/PycharmProjects/Python/App.py
Would just like to see the exact responses from the program:
First Day in Python
Hello, World!
There is no option to hide it completely, you can only make it appear folded by adding a pattern like /bin/python in File | Settings | Editor | General | Console, Fold console lines that contain.
In watching the Bro Code channel on Youtube, he changed the font color of the file path so that it's camouflaged. His words not mine just thought I'd share. I can't find the exact area that he's referring to as of yet so if someone else see's it, please share for the rest of us.
Thank you
Based on Bro Code's response I believe the attached is what he was referring too. This is what I came up with. If you goto Help>Find Action>output you'll see Console//System output. Change/Camouflage the color codes as in the picture. Hopefully this works for others.
If you copy the path into
File | Settings | Editor | General | Console`
and paste it as new Fold console lines, it will hide the line as <1 internal line>.

Split view with Project and Problems Tool Window

I am about to switch from Eclipse to IntelliJ Idea and I would like to configure IntelliJ to display the same Information as my Eclipse setup. Here is the Tool Window layout I want to achieve:
+----------+-----------------------+
| | |
| Project | Source editor |
| | |
| | |
| | |
| | |
+----------+ |
| | |
| Problems | |
| | |
+----------+-----------------------+
It is not supposed to hide when it is focused/unfocused. It simply should sit there for me to look at it.
I read this guide which tells me that the Project and Problems Tool Window have to be in different tab groups to get this working:
To be able to see two windows simultaneously, the corresponding windows should belong to different groups, that is, one of the windows should have the split mode off and the other one on.
I understand that and I am able to get the above layout with the Project and Structure Tool Windows. However, since the Project and Problems Tool Windows happen to be in the same tab group, I can't figure out how to get the requests layout. I guess, I have to move the Problems Tool Window to a separate tab group, but I did not find a way to do so.
Thus, my question is, how can I get the above Tool Window layout, which probably comes down to the question: How can I move the Problems Tool Window to another (a new) tab group?
There is a standalone Problems tool window available. It's activated after you enable the automatic compilation.
Once activated, enable the split mode for the Problems tool window and move it to the left. Also make sure side-by-side layout is not enabled.
Example:

PHPStorm move file from one split to another

I have 2 vertical splits and I would like to move a file from one split to another using the keyboard.
Is there any way of doing this?
Thanks!
Is there any way of doing this?
Yes.
P.S.
You can assign any shortcuts you want to those actions in Settings (Preferences on Mac) | Appearance & Behavior | Keymap
This question and several similar ones pop out regularly in the case of members of the IntellijIdea family of IDE's. I've seen it asked for example in the case of AndroidStudio.
Using an IntellijIdea-based IDE there is a general solution for finding any command without leaving the keyboard, and that is CTRL-SHIFT-a.
As soon as the dialog appears, in the case of this question it's sufficient to type move opp and then you can already hit ENTER to have the command executed.

How to open Quick list in Intellij Idea

Maybe do I do something wrong, but I can't open Idea's Quick list. I tried do that on Intellij 12 on Windows and 13, 14 on Linux by assigning shortcut, search action, search everywhere with no luck...
No action when I'm trying open it
First you need to create Quick List in File | Settings | Appearance and Behavior | Quick Lists and then it would appear in File | Settings | Appearance and Behavior | Keymap where you can define a shortcut for it.

Switching from Eclipse to IntelliJ: Is there a way to split tool windows?

Having used Eclipse for more years than I care to admit, I'm currently trying to get adjusted to IntelliJ 12 but I'm having a hard time with the totally different UI metaphors/concepts.
I'd like to be able to have a window layout like this:
+--------+------------------------
| | |
| (1) | |
| | |
|+-------+ Source editor |
| | |
| (2) | |
| | |
+--------+-----------------------+
| |
| Console output etc. |
+--------------------------------+
With (1) being the "Project" tool window and (2) being the "Structure" tool window. I tried to follow the instructions given at http://www.jetbrains.com/idea/webhelp/viewing-modes.html but changing the "Split" mode doesn't seem to have any noticeable effect. Clicking on the "Structure" or "Project" toolbar buttons always hides the current tool window and displays the other one.
Ok. I worked it all out with googling and https://www.jetbrains.com/idea/help/viewing-modes.html . It's not obvious at all.
In Setting->Appearance & Behavior->Appearance:
Side-by-side layouts on left and right will control whether left and right side splits are horizontal or vertical - you can also Control-click on the divider to switch.
Widescreen tool window layout switches whether vertical or horizontal toolbars get full height/width: on gives full height to side tool windows and off gives full width to bottom(top?).
Ok, by some more or less random combination of the "docked" , "pinned" , "view as tab" and "split mode" modifiers I got it to work. I wonder why they didn't simply implement dragging the window where you'd like it to appear...
I love Intellij IDEA, but every once in a while there is some glitch like this. Anyway, here is a key point that you need to know from this writeup:
To be able to see two windows simultaneously, the corresponding
windows should belong to different groups, that is, one of the windows
should have the split mode off and the other one on
.
My problem was I had split mode ON for both the Project Tool window and the Structure Tool window. If one tool window has that mode OFF, and the other ON, that will help them show together correctly. However, this is NOT guaranteed to work, which negatively impacts usability. I have filed a usability enhancement request with our friends at Intellij. I hope others in my situation will help me vote it up: https://youtrack.jetbrains.com/issue/IDEA-144963
Usually setting split on the structure and toggle the windows method that Trillian mentioned above works.
However for the case where it does not, I've had some success with editing the project's .idea/workspace.xml file directly and replacing the lines (with all settings) for id="Project" and id="Structure" from a project that has the window layout I want them into the project that I can't get the layout working correctly.
First, set the desired two tool windows to be pinned and docked (not floating, not windowed).
Second, the window to be above, set no split mode, the window below, set to split mode.