5
Vote

Improve "smart history" in the REPL

description

Hi first of all, thanks so much for this great tool. I'm a long time Matlab user, and have now decided to stop using Matlab in favor of Python inside the Visual Studio IDE. I think this is a very attractive environment for Matlab users, and you should try to target such users more.

One area which could do with some improvement in pytools is the interactive shell / debug interactive shell. Specifically, the "smart history" is very annoying to use, and also using iPython mode is a bit slow and unresponsive.

For the "smart history" behavior, it should work the same as iPython and Matlab do:

1) After navigating the command history with up and down keys, pressing escape should exit the command history view mode, and pressing up again should take us to the last entered command, not to the command before the last command we were looking at when we last navigated the history (i.e. just before pressing escape) as it currently does.

2) Partial completion should be supported. I.e. if at the start of my session I entered "x=linspace(1,10,100)" and then I entered a hundred different commands, then if I press x, then the up button I should be taken to the first command, rather than having to press up a hundred times.

comments

Ptools wrote Aug 29, 2013 at 5:40 PM

just a note that we'll be considering these for 2.1.

PhilMacKay wrote Feb 26 at 3:28 PM

I'm voting mainly for 2) Partial completion. This saves enormous time when working in the REPL!