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

Hide length and __proto__ for arrays #389

Open

Description

@atg

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)

Activity

  1. sebthaele commented on Sep 11, 2020

    @sebthaele

    That would be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions