Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Hide length and __proto__ for arrays #389

Open
atg opened this issue Jan 9, 2019 · 1 comment
Open

Hide length and __proto__ for arrays #389

atg opened this issue Jan 9, 2019 · 1 comment
Assignees

Comments

@atg
Copy link

atg commented Jan 9, 2019

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.

50869018-32410200-13aa-11e9-8ec7-f81b2ec1b7b1

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:

50869180-d9be3480-13aa-11e9-83cb-8800833f1d5d

screen shot 2019-01-09 at 01 39 51

(I hope this is the right issue tracker)

@sebthaele
Copy link

That would be helpful.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants