pycharm中在python控制台和编辑器之间切换的键盘快捷键 [英] Keyboard shortcut to switch between python console and the editor in pycharm

查看:69
本文介绍了pycharm中在python控制台和编辑器之间切换的键盘快捷键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一般来说,我想知道用于导航到多个部分(如项目结构、编辑器、控制台)的键盘快捷键.我在 pycharm 中使用 eclipse 键盘映射配置.我曾经使用 [Ctrl + F7] 在 Eclipse 中的不同视图之间切换.但这在 pycharm 中不起作用.

In general, I'd like to know the keyboard shortcut for navigating to multiple sections like the project structure, editor, console. I'm using eclipse keymap configuration in pycharm. I used to switch between different views in eclipse using [Ctrl + F7]. But that is not working in pycharm.

当焦点在任何其他视图上时,我也曾经使用 F12 将焦点带回编辑器.这在 pycharm 中也不起作用.

I also used to use F12 to bring the focus back to the editor when the focus is on any other view. That is also not working in pycharm.

环境:Ubuntu 12.04 64 位.

Environment: Ubuntu 12.04 64bit.

推荐答案

在 Pycharm 4 中,你可以用

In Pycharm 4, you can specify shortcuts with

文件/设置/外观和行为/键盘映射

您可以创建任何您喜欢的快捷方式,并将其绑定到命令Python Console"(搜索 Console),该命令没有默认的键盘映射.请注意,可以同时打开多个控制台(例如,如果您在调试窗口中打开一个控制台),因此这可能并不总是如您所愿.

You can create any shortcut you like, and bind it to the command "Python Console" (search for Console), which has no default keymapping. Be aware that it is possible to have multiple consoles open at the same time (for example if you open one in the debugging window) so this may not always behave as you expect it to.

您可以通过按 Esc 键切换回上一个编辑器窗口.

You can toggle back to the last editor window by hitting escape.

这篇关于pycharm中在python控制台和编辑器之间切换的键盘快捷键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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