简体   繁体   中英

Search in PyCharm interactive console command history

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?

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

Not available yet, please vote for the related feature requests:

  • PY-7922 In console, search history by typing prefix and pressing the "up" key
  • PY-5011 Ctrl+R in console should invoke history search like in bash

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

在Windows中,您可以使用Ctrl Alt e

Nowadays, there is "Browse Console History" button located to the left of python console. It works on all OS where PyCharm works.

In Windows and Linux there is Ctrl+Alt+E which does exectly the same, but it may not work on Linux if it is overriden by system hotkey Alt.

在此输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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