简体   繁体   English

PyCharm 4.0终端窗口

[英]PyCharm 4.0 Terminal Window

When using the terminal window in PyCharm, I cannot find a way to use a keyboard shortcut to close the terminal window, other than SHIFT+ESC. 在PyCharm中使用终端窗口时,除了SHIFT + ESC之外,我找不到使用键盘快捷键关闭终端窗口的方法。 This particular keyboard shortcut is going to give me carpal tunnel. 这个特殊的键盘快捷键将给我腕管。 Trying to assign a custom keyboard shortcut like COMMAND+\\ does not work. 尝试分配自定义键盘快捷键(例如COMMAND + \\)不起作用。 Also pressing the ESC key alone doesn't loose focus. 同样,仅按ESC键也不会失去焦点。

Does anyone know a way that makes it easier to close the window without a mouse? 有谁知道一种无需鼠标即可更轻松地关闭窗口的方法? I know it seems like a minor thing but if you switch back and forth between the editor and terminal as much as I do... it matters. 我知道这似乎是一件小事,但是如果您像我一样在编辑器和终端之间来回切换,那很重要。

I can't reproduce the issue you're experiencing. 我无法重现您遇到的问题。 I remapped "Hide Active Tool Window" to Ctrl-Shift-H in PyCharm 4.0.3 on OS X and it worked fine. 我在OS X的PyCharm 4.0.3中将“隐藏活动工具窗口”重新映射为Ctrl-Shift-H,并且工作正常。

  • Preferences -> (Search box) "keymap" -> (Keymap Search box) "hide active" 首选项->(搜索框)“键映射”->(“键映射搜索框”)“隐藏活动”
  • Right-click, Add Keyboard Shortcut 右键单击,添加键盘快捷键

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM