First time here? Check out the FAQ!
1

Command history

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 :)

KhazAkar's avatar
124
KhazAkar
asked 2022-05-05 04:33:04 -0500, updated 2022-05-05 07:13:29 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

0

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.

Wingware Support's avatar
4k
Wingware Support
answered 2022-05-05 07:14:57 -0500
edit flag offensive 0 remove flag delete link

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
add a comment see more comments
0

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.

Wingware Support's avatar
4k
Wingware Support
answered 2022-05-05 07:19:05 -0500
edit flag offensive 0 remove flag delete link

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
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer