Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shortcut to switch project and editor in PyCharm?

I often need to edit some code (in editor) and then work in the project structure. I would like switch between these two using the keyboard instead the mouse. How can I do that in PyCharm ?

enter image description here

like image 661
Valter Silva Avatar asked Dec 13 '14 21:12

Valter Silva


1 Answers

At https://www.jetbrains.com/pycharm/docs/PyCharm_ReferenceCard.pdf you'll find PyCharm default keymap in the pdf format. You can also access it from PyCharm by pressing Shift twice and then typing keymap and choosing Default Keymap Reference. In the keymap you see the following two entries:

  • F12 Go back to previous tool window
  • Esc Go to editor (from tool window)

So once you are in the Project tool window (which you can open with Alt+1 shortcut) you can switch to editor by pressing Esc and back to the Project window by pressing F12.

The shortcut described above as Go back to previous tool window is called Jump to Last Tool Window in the Settings/Keymap.
The shortcut descried above as Go to editor seems to be absent from Settings/Keymap so can't be customized.

like image 114
Piotr Dobrogost Avatar answered Oct 27 '22 13:10

Piotr Dobrogost