Skip to content

Setting to hide "Special Variables" #1804

@mgreiner79

Description

@mgreiner79

In the debug variables panel, one can see "special variables", "function variables" and "class variables". The special variables are very often not needed for debugging, and just clutter the panel. For example, every class I write myself, will automatically have special variables like __class__, __delattr__, __dict__, etc.. In fact the most basic python class has some 28 special variables that do not belong to the code I am writing. Similar to how "justMyCode" does not setting allows one to avoide stepping into code that the user cannot control, it would be nice to have a setting that hides the variables the the user cannot control. Yeah, sure sometimes the special variables are important to look into for debugging, but I find more often than not, they just create a lt of clutter, which is why I think it should be a setting one can turn on and off.
The Spyder IDE has something similar, where one can show/hide certin vairbal patterns, like thos in all-caps, or those starting and ending with "__", and it is quite handy and user friendly.

Metadata

Metadata

Labels

needs reproIssue has not been reproduced yet

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions