1 | import { KeybindingRegistry } from '../keybinding';
|
2 | import { Disposable, Command, CommandRegistry, CancellationToken } from '../../common';
|
3 | import { ContextKeyService } from '../context-key-service';
|
4 | import { CorePreferences } from '../core-preferences';
|
5 | import { QuickAccessContribution, QuickAccessProvider, QuickAccessRegistry } from './quick-access';
|
6 | import { QuickPickItem, QuickPicks } from './quick-input-service';
|
7 | export declare const quickCommand: Command;
|
8 | export declare const CLEAR_COMMAND_HISTORY: Command;
|
9 | export declare class QuickCommandService implements QuickAccessContribution, QuickAccessProvider {
|
10 | static PREFIX: string;
|
11 | protected readonly contextKeyService: ContextKeyService;
|
12 | protected readonly commandRegistry: CommandRegistry;
|
13 | protected readonly corePreferences: CorePreferences;
|
14 | protected readonly quickAccessRegistry: QuickAccessRegistry;
|
15 | protected readonly keybindingRegistry: KeybindingRegistry;
|
16 | readonly exemptedCommands: Command[];
|
17 | private recentItems;
|
18 | private otherItems;
|
19 | registerQuickAccessProvider(): void;
|
20 | reset(): void;
|
21 | getPicks(filter: string, token: CancellationToken): QuickPicks;
|
22 | toItem(command: Command): QuickPickItem;
|
23 | private getKeybinding;
|
24 | private getItemIconClasses;
|
25 | protected readonly contexts: Map<string, string[]>;
|
26 | pushCommandContext(commandId: string, when: string): Disposable;
|
27 | |
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 | protected getValidCommands(raw: Command[]): Command[];
|
34 | |
35 |
|
36 |
|
37 |
|
38 |
|
39 | getCommands(): {
|
40 | recent: Command[];
|
41 | other: Command[];
|
42 | };
|
43 | |
44 |
|
45 |
|
46 |
|
47 |
|
48 |
|
49 |
|
50 | private normalize;
|
51 | |
52 |
|
53 |
|
54 |
|
55 |
|
56 |
|
57 | private sort;
|
58 | }
|
59 |
|
\ | No newline at end of file |