Hide length and __proto__ for arrays
atg opened this issue · 1 comments
atg commented
vscode currently includes two named children for every array: length
and __proto__
. When you have e.g. JSON data with lots of nested data structures it becomes quite distracting.
As you can see there is a lot of redundant visual noise. The length
property does not need to be included as a named child because it is already shown as Array(<length>)
in the variable description. The __proto__
property isn't interesting either, it's just Array.prototype
which can be accessed through the debug console if desired.
It would be nice if vscode could hide these two properties and display arrays such as this:
(I hope this is the right issue tracker)
sebthaele commented
That would be helpful.