Paidhi
Paidhi

Reputation: 775

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.

Upvotes: 25

Views: 17198

Answers (4)

sir__finley
sir__finley

Reputation: 160

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.

enter image description here

Upvotes: 11

Ruben Calje
Ruben Calje

Reputation: 71

In Windows you can use Ctrl Alt e

Upvotes: 7

Israel Zalmanov
Israel Zalmanov

Reputation: 811

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

Upvotes: 24

CrazyCoder
CrazyCoder

Reputation: 401945

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

Upvotes: 14

Related Questions