Shortcut to switch project and editor in PyCharm?

半腔热情 提交于 2021-02-04 18:07:17

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/27463732/shortcut-to-switch-project-and-editor-in-pycharm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!