Enhancement request: add ability to hide private attributes from Variable Explorer Object view
See original GitHub issueIssue Report Checklist
- Searched the issues page for similar reports
- Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
Problem Description
When double clicking an object in the Variable Explorer to open the Object Viewer, one can optionally turn on and off Show Special and Show Callable by using buttons in the Object View window. This request is to add a third option: “Show private”. Any attrs, properties, and methods with a leading underscore would be hidden when this new option is toggled off.
This would be an improvement to reduce visual clutter for viewing classes that have many private attrs.
Versions
- Spyder version: 4.2.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Variable Explorer in Jupyter Notebook - python - Stack Overflow
Here is a notebook on how to make your own Variable Inspector. ... For this example, hide these names, just to avoid polluting...
Read more >Variable Explorer — Spyder 5 documentation
The Variable Explorer allows you to interactively browse and manage the objects generated running your code. Spyder Variable Explorer execution with a variable ......
Read more >Private properties in JavaScript - Curiosity driven
Unprotected scenario. Person instances created using the function below will have properties stored directly in them. · Hiding properties with closures. To ...
Read more >Inspect XAML properties while debugging - Visual Studio ...
Let's get started with a very simple WPF application that has a list view and a button. Every time you click the button,...
Read more >Python Tutorial: Private attributes and methods - 2020
Suppose we have the following class which has private attributes (__alias): ... through an instance variable, but not for the private attribute alias....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
HI guys, thanks very much for the consideration!
@jbiz25 I’m not sure how likely this is to get implemented anytime soon; I imagine that instead of special-casing
_
we could simply sort all symbols after letters not unsure how generally applicable that change is. For now, is it too much of an inconvenience to simply sortName
by ascending instead of descending, so that they get sorted at the end?