在PyCharm交互式控制台命令历史中搜索 [英] Search in PyCharm interactive console command history

查看:386
本文介绍了在PyCharm交互式控制台命令历史中搜索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

PyCharm为其交互式Python控制台保留命令历史记录.

PyCharm keeps a command history for it's interactive Python console.

是否可以通过某种搜索来访问此历史记录,而不仅仅是在交互式控制台窗口中使用箭头键浏览条目?

Is there a way to access this history with some sort of search instead of just browsing the entries with the arrow keys in the interactive console window?

我的环境:MacOS X 10.8.2上的PyCharm 2.7 EAP(124.138).

My environment: PyCharm 2.7 EAP (124.138) on MacOS X 10.8.2.

推荐答案

从PyCharm 3.1开始,在控制台中按⌥⌘e,将出现浏览历史记录"窗口,开始键入内容以搜索特定命令

As of PyCharm 3.1, while in the console, press ⌥⌘e, the "Browse History" window will come up, start typing to search for specific commands

这篇关于在PyCharm交互式控制台命令历史中搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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