Interface QuickAccessProviderDescriptor

interface QuickAccessProviderDescriptor {
    contextKey?: string;
    getInstance: (() => QuickAccessProvider);
    helpEntries: QuickAccessProviderHelp[];
    placeholder?: string;
    prefix: string;
}

Properties

contextKey?: string

A context key that will be set automatically when this quick access is being shown

getInstance: (() => QuickAccessProvider)

return an instance of QuickAccessProvider. Implementers are free to return that same instance multiple times

Type declaration

Help entries for this quick access provider

placeholder?: string

A placeholder to use for the input field when the provider is active. This will also be read out by screen readers and thus helps for accessibility.

prefix: string

The prefix for quick access picker to use the provider for.