The Spyder Variable researcher looks very interesting to me, but currently it can only display a limited number of data types: https://pythonhosted.org/spyder/variableexplorer.html
If I define a custom class / data type, its instances by default will not appear in the Variable Explorer; if I deselect the "Exclude unsupported data types" checkbox, then there will be huge (global) variables and functions displayed in the Variable Explorer, which makes it very difficult to use.
So my questions are:
is there a protocol / configuration to add a custom data type to the list of supported Spyder data types so that the custom data type will be displayed in the Variable Explorer by default? (e.g. by creating a custom data type?)
Is it possible for the Variable explorer to display only the created variables after , starting with the Spyder / IPython pool (after loading pylab or something in running the IPython script, etc.)? If so, a large number of variables can be filtered out, and users can focus on new variables.
Is there a switch to simply apply a filter to data types in the Variable explorer, for example, filter out all functions / methods / class definitions and leave only class instances / primitives so that the Variable explorer is more oriented to "data" similar to the Matlab style?
BTW, is there any “best practice” in the Variable explorer for “data-driven” development?
Thank you all in advance!
source
share