1 | import { CancellationToken, Disposable } from '../../common';
|
2 | import { ContextKeyService } from '../context-key-service';
|
3 | import { QuickAccessContribution, QuickAccessProvider, QuickAccessRegistry } from './quick-access';
|
4 | import { QuickPickItem, QuickPicks } from './quick-input-service';
|
5 | export interface QuickViewItem {
|
6 | readonly label: string;
|
7 | readonly when?: string;
|
8 | readonly open: () => void;
|
9 | }
|
10 | export declare class QuickViewService implements QuickAccessContribution, QuickAccessProvider {
|
11 | static PREFIX: string;
|
12 | protected readonly items: (QuickPickItem & {
|
13 | when?: string;
|
14 | })[];
|
15 | private hiddenItemLabels;
|
16 | protected readonly quickAccessRegistry: QuickAccessRegistry;
|
17 | protected readonly contextKexService: ContextKeyService;
|
18 | registerItem(item: QuickViewItem): Disposable;
|
19 | hideItem(label: string): void;
|
20 | showItem(label: string): void;
|
21 | registerQuickAccessProvider(): void;
|
22 | getPicks(filter: string, token: CancellationToken): QuickPicks;
|
23 | }
|
24 |
|
\ | No newline at end of file |