Skip to content

Support dynamic QuickPickItem items #25140

Closed

Description

In order to implement #21439, it would be great to have a QuickPickItem which is never filtered out no matter what the user types. Additionally, it would be aware of what the user has typed when selected.

Proposal 1

export interface QuickPickItem {
  alwaysVisible?: boolean;
}

export interface QuickPickOptions {
  onDidPickItem?<T extends QuickPickItem>(item: T | string, input: string): any;
}

cc Johannes Rieken (@jrieken)

Activity

  1. added
    feature-request
    on Apr 21, 2017
  2. added
    *duplicate
    on Apr 21, 2017
  3. joaomoreno commented on Apr 24, 2017

    @joaomoreno
    ContributorAuthor

    Johannes Rieken (@jrieken) Did you just flush my proposal down the toilet? I'm actually trying to do something here and starting a discussion.

  4. jrieken commented on Apr 24, 2017

    @jrieken
    Contributor

    No. As I have told you this request has been made already a few time, so I wasn't expecting you to create yet another duplicate but use an existing, long-standing issue. For instance these: #21372, #15659, and #11468

  5. joaomoreno commented on Apr 24, 2017

    @joaomoreno
    ContributorAuthor

    All those requests, aside from not fully addressing my issue, bring considerable conceptual changes to the quick pick API. The proposal in this issue is an incremental change.

    But I understand if you want to stop any incremental changes in favour of a better thought-out APIv2.

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

Metadata

Metadata

Labels

*duplicateapifeature-requestquick-pick

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions