Shortcut to switch project and editor in PyCharm?

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

enter image description here

+3


source to share


2 answers


At https://www.jetbrains.com/pycharm/docs/PyCharm_ReferenceCard.pdf you will find the default PyCharm keycard in pdf format. You can also access it from PyCharm by double-clicking Shiftand then typing keymap

and selecting the default Keymap link. In the keymap, you see the following two entries:

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


So, once you're in the Project tool window (which you can open with Alt+ 1), you can switch to the editor by clicking Escand return to the project window by clicking F12.

The shortcut described above, Returning to the previous tool window, is called "Go to the last tool window" in "Settings / Maps".
The shortcut described above as the Go editor seems to be missing from the Preferences / Keymap so it cannot be customized.

+6


source


This post should point you in the right direction (instead of Run, choose Project).



0


source







All Articles