New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could we provide more details of the variable when debug like the PyCharm does? #146748
Comments
Related microsoft/vscode-python-debugger#167, this is for the content shown in the code itself. For the additional information in the variable view it should come from the debugger. |
Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue. |
I agree that there is a lot to improve there. Not only showing the variables views when debugging but when running a python integrated terminal too. Like when we run a Jupyter Notebook. Not only PyCharm but R Studio's Python development do this very wheel. Not only displaying the variables but also when working with Pandas DataFrames (Sorting, Filtering, Page.ing ) |
In pycharm even position of the debug window is better. It is on the bottom with more width. In vscode we are stuck, can't move it anywhere. For example compare these two pictures: and What do you think which is better? In vscode, there is also a problem with showing dataframes. |
It would be nice if sections like Instead, place dynamically created functions and classes in the data frame please. Because sometimes I really need to inspect lots of dynamic functions and classes. |
@BlueGlassBlock as a note, this is already configurable in your |
@ghuname that's not entirely true, you can drag your variables elsewhere: |
@fabioz I didn't know that. You are right. It is much better if variables are near terminal region. Sorry for wrong statement. |
@fabioz How do you comment this picture? |
RStudio python IDLE dataframe viewer. Just type: Actually any variable you can click in the table if you think it's usefull. It you open in a new tab. Like this function "f". I prefer the vscode tree like view, like a dictionary, because its better organized, but the dataframe viewer its very good. This and run code in multiples python iterative terminals like in microsoft/vscode-python#18315 . |
That worked for me as I configured it to Well, I actually want the ability to search through the data frame, or something like |
@BlueGlassBlock can you please provide the launch.json with "inline" that prevents showing class and function variables. |
Well, what I want to do is show all the class and function variables, not hiding them. Because I mainly use it when I need to tweak dynamically created classes and functions, etc. And |
Thank you to everyone who upvoted this issue! Since the community showed interest in this feature request we will leave this issue open as something to consider implementing at some point in the future. We do encourage people to continue 👍 the first/opening comment as it helps us prioritize our work based on what the community seems to want the most. |
The extra information that PyCharm shows is the type of the variable. This is something that debugpy already provides, but VSCode doesn't display in the variable list (while VS does, for example). You can see it if you hover over the variable in the list. So I think this is really a VSCode enhancement to add a setting to display the type in the Variables pane? |
Yes that could be one enhancement, but pycharm shows variables in more pleasant format. |
Advise fot those who use wayland: such drag does not work currently. To drag that panel I restarted vscodium without |
Suggestion form @int19h: |
Is there a way to customize the order of variables? If so we can put the shape and type on the top of the list! |
Any progress on this issue? When I talked about this problem, people around me say "vscode is great, and PyCharm is much better". LOL Really looking forward to solve it before people turn away. |
I know, we can get more details through clicking the arrow to get into the variable or through some expression in the WATCH panel. But it will be better to act as the PyCharm does.
The text was updated successfully, but these errors were encountered: