Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PyCharm switch between windows with split screen

In PyCharm, what is the keyboard shortcut (or menu command so I can define my own shortcut) to switch between windows in split screen?

To rephrase, when I can see two files on the screen, one in the left pane and the other in the right, how do I move the cursor from the left pane to the right pane without using the mouse?

In emacs, this would be "c-x o", but PyCharm interprets that as switching between tabs.

like image 777
dinosaur Avatar asked Jun 20 '14 18:06

dinosaur


People also ask

How do I toggle between split screens?

To switch between the different windows, you can use the combination alt + tab. This way, I'll select my active window on the left side. Same as before, by using Windows + up arrow I'm going to split the left screen as well.

Which function key is used to switch between the split screens?

Move the cursor from one panel to the other in split screen: To move the cursor from one panel to the other when the display screen is divided into two panels, use the SWAP PF key.

How do I view two files side by side in PyCharm?

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. Show activity on this post. In PyCharm: Open two files, say stack.py, and test_stack.py.


6 Answers

in (pycharm version 3.4)

CTRL + TAB

key will show a window.

you can switch by using this window to other splited windows of pycharm.

Even, you can switch to project toolbox elements.

for shortcut configuration visit this site.

have fun with pycharm...

like image 109
Celik Avatar answered Oct 05 '22 02:10

Celik


PyCharm 2018.1 (MacOS Highe Sierra)

Option + Tab
like image 31
Mathuv Avatar answered Oct 05 '22 03:10

Mathuv


This option is called Goto Next Splitter in Pycharm. In version 2018.3 (MacOS Mojave) the shortcut is Option + Tab, but you can edit it easily:

Preferences (cmd + ,) -> Keymap -> Goto Next Splitter.

like image 22
Tomasz Bartkowiak Avatar answered Oct 05 '22 02:10

Tomasz Bartkowiak


In Linux it can be achieved through the main menu:

Window -> Editor Tabs -> Goto Next Splitter

Unfortunately, there is no predefined shortcut for this operation. However, you can create your custom shortcut easy:

Settings -> Keymap
like image 23
Andriy Avatar answered Oct 05 '22 04:10

Andriy


For those familiar with vim there is the IdeaVim extension for pycharm

and you can use vim key mapping:

for splitting a window:

ctrl + w + n     # horizontally
ctrl + w + v     # verically

for switching between splitted windows:

ctrl + w + [arrow]
ctrl-w + w
ctrl-w + W

switching by a number:

[number] + ctrl-w + w
like image 27
Sławomir Lenart Avatar answered Oct 05 '22 03:10

Sławomir Lenart


PyCharm 3.4 (Windows)

CTRL + TAB
like image 38
Aliaksandr Klimovich Avatar answered Oct 05 '22 04:10

Aliaksandr Klimovich