Skip to content

Use List instead of Tree for the QuickPick #29096

Closed

Description

Since QuickPick is a flat list It does not make sense to use the Tree as the implenetation mechanism we should use the List instead.
Refs: #27900

Activity

  1. alexdima commented on Jun 20, 2017

    @alexdima
    Member

    Isidor Nikolic (@isidorn) Not sure how these widgets all work, but fyi in the standalone editor they are located in src/vs/editor/standalone/browser/quickOpen

  2. isidorn commented on Nov 13, 2017

    @isidorn
    Author

    Benjamin Pasero (@bpasero) I might look into this, any objections to assigning this to November?

  3. bpasero commented on Nov 14, 2017

    @bpasero
    Contributor

    Isidor Nikolic (@isidorn) sure feel free. this would probably have to go into quickOpenWidget.ts. I hope the list covers all the features we have from the tree...

  4. brunnerh commented on May 25, 2018

    @brunnerh

    Does the list implementation have virtualization support?

    I just wrote an extension where ideally one could search through about 30,000 items. Currently this is not feasible in terms of performance; the item elements probably would have to be created only when they are actually visible.

  5. bpasero commented on May 26, 2018

    @bpasero
    Contributor

    Christof Marti (@chrmarti) can answer to that as he changed the underlying widget for the extensions picker just recently and I think this should improve performance at least for extensions.

  6. chrmarti commented on May 28, 2018

    @chrmarti
    Collaborator

    Performance has improved with the list widget, but there is no virtualization support in the API at the moment.

    There are a few cases where we still use the old implementation internally, the API always uses the list widget. Keeping this task around for the remaining cases.

  7. 17 remaining items

  8. bpasero commented on Oct 15, 2019

    @bpasero
    Contributor

    /duplicate #69955

  9. added
    *duplicate
    on Oct 15, 2019
  10. vscodebot commented on Oct 15, 2019

    @vscodebot

    Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

    Happy Coding!

  11. locked and limited conversation to collaborators on Nov 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*duplicatedebtperfquick-pick

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions