Reputation: 779
In PyCharm, I know that you can use the 'split pane' option to open one file in two panes.
But how do you concurrently open two files side by side? E.g. stack.py and test_stack.py?
Upvotes: 7
Views: 8327
Reputation: 842
In PyCharm 2023:
Upvotes: 1
Reputation: 779
In PyCharm:
Upvotes: 4
Reputation: 3493
First, use split panel. After that, you can move any open files from one panel to the other by dragging and/or you can put the cursor in one panel and open a file as usual. The file will be opened in that panel.
If you split using either "split vertically" or "split horizontally" the file will be in both panels (you can close one of them) but there is also "split and move down" and "split and move right" actions.
Good shortcuts to know for this is Ctrl+Shift+A
for actions (then write "split" and choose what you want) and Ctrl+Shift+N
for easily opening files.
Upvotes: 6