在PyCharm中切换项目和编辑器的快捷方式? [英] Shortcut to switch project and editor in PyCharm?

查看:248
本文介绍了在PyCharm中切换项目和编辑器的快捷方式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我经常需要编辑一些代码(在编辑器中),然后在项目结构中工作.我想使用键盘而不是鼠标在这两个之间切换.如何在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 ?

推荐答案

https: //www.jetbrains.com/pycharm/docs/PyCharm_ReferenceCard.pdf ,您会发现pdf格式的PyCharm默认键盘映射.您还可以通过两次按 Shift ,然后键入keymap并选择 Default Keymap Reference ,从PyCharm访问它.在键盘图中,您会看到以下两个条目:

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 返回上一个工具窗口
  • Esc 转到编辑器(从工具窗口)
  • F12 Go back to previous tool window
  • Esc Go to editor (from tool window)

因此,一旦进入 Project 工具窗口(可以使用 Alt + 1 快捷方式打开),您可以通过以下方式切换到编辑器:按 Esc 并按 F12 返回 Project 窗口.

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.

这篇关于在PyCharm中切换项目和编辑器的快捷方式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆