I split the editor
and I want to show the file in the both sides of the editor,
most probably this is too easy but I can't find how to do that,
edit: I find a way, I close all other files, and keep only the target file, and then I split the editor. now phpstorm will show the file in both windows. and then I reopen other files. but I don't think this is smart. Probably there is a better way.
thank you
To do this, (with your document open) go to Window > Arrange > New Window for [file name of your document], which will open up a second window for the original document. Then go to Window > Arrange > 2-Up Vertical to place the two windows side-by-side.
You can move them one by one by windows+alt+arrow keys to the direction you want but it has to be done one by one to the window that has been selected. To bring a windows to right side that is on the left activate it and then press win+right key twice.
In general: to split current tab in editor:
Right click
on editor tabSplit Horizontally
or Split Vertically
Move Down
or Move Right
-- but this will move editor tab into new split instead of "copying" it.Let's assume you have this setup (notice "test.php" is already located in both splits):
Now you want to have "css.css" to be in both splits as well. Depends on your IDE version you will have 2 choices:
1) Split this file -- you will have 3 splits now:
Using mouse move "css.css" from newly created split into existing split:
2) Use Open in Opposite Group
action
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With