Ask Your Question
1

Command history

asked 2022-05-05 04:33:04 -0500

KhazAkar's avatar

updated 2022-05-05 07:13:29 -0500

Hello, Is there a plan to implement interactive command history from current python shell session?

For better clarification: Separate tool window which contains all declared variables within current python shell session :)

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2022-05-05 07:19:05 -0500

Another answer based on your clarification: If you Enable Debugging from the Python Shell's Options menu then you can run to breakpoints or exceptions and use all the debug tools to inspect the variables, etc. You do need to run to a breakpoint or exception, though, before the tools can do this. Making this always active, even when at the prompt, is on our list of future improvements for this capability.

edit flag offensive delete link more

Comments

Yes, this is exactly what I've meant - to have always active list of variables available for python shell, thank you for your answer. You guys are great :)

KhazAkar's avatar KhazAkar  ( 2022-05-05 07:23:59 -0500 )edit
0

answered 2022-05-05 07:14:57 -0500

The up arrow should scroll through previous commands. Currently this is not stored between sessions, so is lost if you restart Wing. It is retained, however, across restarts of the Python Shell from its Options menu.

In Wing Pro, typing a leading fragment first filters to just those matching the fragment. Although I think omitting that aspect of it from Wing Personal wasn't intentional, it appears that leading fragment matching is not available there.

edit flag offensive delete link more

Comments

In Personal, this can be enabled as well, it's disabled by default. :) Preferences -> Debugger -> Shells -> Filter History by Entered Prefix. Then you can type part of the previous command, do arrow up and works.

KhazAkar's avatar KhazAkar  ( 2022-05-11 05:47:40 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2022-05-05 04:33:04 -0500

Seen: 14 times

Last updated: May 05