Making the REPL GUI the primary UI

Aug 30, 2011 at 10:00 PM

We are generally trying to use IronPython as a shell.  When we saw the screenshot we pounced on the latest release to see if we could poke at the interpreter.  At this point I'm don't even know how to get that interpreter to come up.  Previously we've used the IronPython console interpreter, but it's a little clumsy for doing some things like copy-paste.  We're also tempted by the thought of having something like Intellisense--I don't know yet if your interpreter UI can even do that.  We had adapted some code online for our own Windows GUI to IronPython, but we would definitely be happier if we could adapt all our Visual Studio workstations to use somebody else's well-polished UI.

Our general usage model would be that the interpreter would be the primary feature, with code editing coming in second.  Is there some way to start up the tools in Visual Studio so we can get your interpreter UI right away?  And for that matter how can we get that Python view you have on the front page?

It may seem initially silly to fret over the console we use, but we know with enough time, a subpar console is going to cause somebody a little too much grief.

Coordinator
Aug 30, 2011 at 10:45 PM

 

RB, 

If you're a heavy IronPython user & want a decent REPL, you should check out Sho:

 

http://research.microsoft.com/en-us/projects/sho/ptvs.aspx

 

It integrates with PTVS as well.  If you have IronPython installed, you can set it as the REPL.  

 

s

Editor
Aug 31, 2011 at 12:14 AM

To open the IronPython REPL window, do Tools -> Python Tools -> IronPython 2.7 Interactive

Visual Studio will automatically remember your window layout, so if you close VS with the IronPython 2.7 Interactive open, it will re-open the REPL when it starts again.

One thing you'll have to work around is that VS has two different sets of window state; one for debug mode and one for edit mode.  So you will have to re-open the IronPython REPL if you use debug mode.

Sep 1, 2011 at 10:38 PM

Well, it looks like you've Sho'd us up. :p  This looks to have everything we need and since all our users would have Visual Studio on their machines.