UNPKG

1.92 kBTypeScriptView Raw
1import { interfaces } from 'inversify';
2import { PreferenceProxy, PreferenceService, PreferenceSchema } from './preferences';
3export declare const corePreferenceSchema: PreferenceSchema;
4export interface CoreConfiguration {
5 'application.confirmExit': 'never' | 'ifRequired' | 'always';
6 'breadcrumbs.enabled': boolean;
7 'files.encoding': string;
8 'keyboard.dispatch': 'code' | 'keyCode';
9 'window.tabbar.enhancedPreview': 'classic' | 'enhanced' | 'visual';
10 'window.menuBarVisibility': 'classic' | 'visible' | 'hidden' | 'compact';
11 'window.title': string;
12 'window.titleSeparator': string;
13 'workbench.list.openMode': 'singleClick' | 'doubleClick';
14 'workbench.commandPalette.history': number;
15 'workbench.editor.highlightModifiedTabs': boolean;
16 'workbench.editor.mouseBackForwardToNavigate': boolean;
17 'workbench.editor.closeOnFileDelete': boolean;
18 'workbench.editor.revealIfOpen': boolean;
19 'workbench.colorTheme': string;
20 'workbench.iconTheme': string;
21 'workbench.silentNotifications': boolean;
22 'workbench.statusBar.visible': boolean;
23 'workbench.tree.renderIndentGuides': 'onHover' | 'none' | 'always';
24 'workbench.hover.delay': number;
25 'workbench.sash.hoverDelay': number;
26 'workbench.sash.size': number;
27 'workbench.tab.maximize': boolean;
28 'workbench.tab.shrinkToFit.enabled': boolean;
29 'workbench.tab.shrinkToFit.minimumSize': number;
30 'workbench.tab.shrinkToFit.defaultSize': number;
31}
32export declare const CorePreferenceContribution: unique symbol;
33export declare const CorePreferences: unique symbol;
34export declare type CorePreferences = PreferenceProxy<CoreConfiguration>;
35export declare function createCorePreferences(preferences: PreferenceService, schema?: PreferenceSchema): CorePreferences;
36export declare function bindCorePreferences(bind: interfaces.Bind): void;
37//# sourceMappingURL=core-preferences.d.ts.map
\No newline at end of file