@codingame/monaco-vscode-api 1.79.12 → 1.79.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,195 +1,44 @@
1
1
  /// <reference path="./debugProtocol.d.ts" />
2
2
 
3
- import { E as Event$1, a as IDisposable, C as CancellationToken, D as Disposable, c as Emitter } from './event.js';
4
- import { q as IMarkdownString, r as IEditorModel, x as ITextBufferFactory, l as ITextModel, F as ITextModelCreationOptions, d as IEditorOptions, B as IRange, p as IPosition, P as Position$1, G as IDocumentDiffProviderOptions, H as IDocumentDiff, J as IChange, b as ICodeEditor, u as IProgress, v as IProgressStep, K as IBoundarySashes, j as IComposite, y as ICompositeControl, O as Orientation, k as IProgressIndicator, c as IDiffEditor, L as IDecorationRenderOptions, m as IModelDecorationOptions, f as ITextResourceEditorInput, e as IResourceEditorInput } from './editorBrowser.js';
5
- export { s as IDimension, N as ITextEditorOptions, M as ITextModelContentProvider, a as ITextModelService, Q as MarkdownStringTrustedOptions } from './editorBrowser.js';
6
- import { S as ServiceIdentifier, c as IConstructorSignature, I as IInstantiationService, B as BrandedService, a as ServicesAccessor } from './instantiation.js';
7
- import { c as ILanguageIdCodec, S as SubmenuAction, d as IAction, e as ICommandService, f as ColorIdentifier, g as Color, h as LanguageSelector, i as Command, T as TextEdit, j as IInplaceReplaceSupportResult, W as WorkspaceEdit, k as WorkspaceEditMetadata, l as IActionRunner, A as AtLeastOne } from './languageFeatures.js';
8
- export { a as ILanguageConfigurationService, I as ILanguageFeaturesService, m as IMarkerService, s as INeverShowAgainOptions, t as INotification, u as INotificationActions, x as INotificationHandle, v as INotificationProgress, w as INotificationProgressProperties, p as INotificationProperties, b as INotificationService, y as IPromptChoice, z as IPromptChoiceWithMenu, B as IPromptOptions, D as IStatusMessageOptions, q as NeverShowAgainScope, E as NoOpNotification, G as NoOpProgress, n as NotificationMessage, o as NotificationPriority, N as NotificationsFilter } from './languageFeatures.js';
3
+ import { E as Event, a as IDisposable, C as CancellationToken, D as Disposable, c as Emitter } from './event.js';
4
+ import { m as IMarkdownString, v as IEditorModel, B as ITextBufferFactory, j as ITextModel, G as ITextModelCreationOptions, k as IRange, d as IEditorOptions, l as IPosition, P as Position, H as IDocumentDiffProviderOptions, J as IDocumentDiff, K as IChange, b as ICodeEditor, y as IProgress, z as IProgressStep, c as IDiffEditor, L as IDecorationRenderOptions, o as IModelDecorationOptions, f as ITextResourceEditorInput, e as IResourceEditorInput, M as ProgressLocation } from './editorBrowser.js';
5
+ export { w as IDimension, O as ITextEditorOptions, N as ITextModelContentProvider, a as ITextModelService, Q as MarkdownStringTrustedOptions } from './editorBrowser.js';
6
+ import { S as ServiceIdentifier, a as ServicesAccessor } from './instantiation.js';
7
+ export { I as IInstantiationService, b as SyncDescriptor } from './instantiation.js';
8
+ import { a as ILanguageIdCodec, G as Command, J as TextEdit, K as IInplaceReplaceSupportResult, W as WorkspaceEdit, M as WorkspaceEditMetadata, N as IWorkspaceFileEdit, P as WorkspaceFileEditOptions, Q as AtLeastOne } from './colorRegistry.js';
9
+ export { A as IAction, B as ICommandService, U as IMarkerService, $ as INeverShowAgainOptions, a0 as INotification, a1 as INotificationActions, a4 as INotificationHandle, a2 as INotificationProgress, a3 as INotificationProgressProperties, Z as INotificationProperties, I as INotificationService, a5 as IPromptChoice, a6 as IPromptChoiceWithMenu, a7 as IPromptOptions, a8 as IStatusMessageOptions, _ as NeverShowAgainScope, a9 as NoOpNotification, aa as NoOpProgress, X as NotificationMessage, Y as NotificationPriority, V as NotificationsFilter } from './colorRegistry.js';
9
10
  import { S as Severity } from './severity.js';
10
- import { a as IContextKeyService, C as ContextKeyExpression } from './contextkey.js';
11
- import { c as FileType, q as VSBuffer, w as IRelativePattern, x as IFileService } from './files.js';
12
- import { a as UriComponents, U as URI } from './uri.js';
13
- import { b as IWorkspaceFolder, I as IAnyWorkspaceIdentifier, c as IWorkspaceContextService } from './workspace.js';
11
+ export { a as IContextKeyService } from './contextkey.js';
12
+ import { x as IBaseFileStat, V as VSBuffer, n as IRelativePattern, y as IFileService, z as IFileStat } from './files.js';
13
+ import { b as LanguageSelector } from './languageFeatures.js';
14
+ export { a as ILanguageConfigurationService, I as ILanguageFeaturesService } from './languageFeatures.js';
15
+ import { U as URI } from './uri.js';
16
+ import { w as IConfigurationService, R as ConfigurationTarget, T as ITelemetryEndpoint, U as IOpenEmptyWindowOptions, W as IWindowOpenable, X as IOpenWindowOptions, E as Dimension, Y as IEditableData } from './hover.js';
17
+ export { t as IActivityService, q as IBadge, _ as IColorTheme, Z as IConfigurationChangeEvent, y as IHoverService, a3 as ILayoutService, a1 as IOpenerService, u as IPaneCompositePartService, G as IStatusbarService, h as IStorageService, f as ITelemetryService, k as IThemeService, s as IViewDescriptorService, a2 as IViewsService, x as IWorkbenchEnvironmentService, $ as StorageScope, a0 as StorageTarget } from './hover.js';
14
18
  import { c as IStringDictionary, d as IExtensionInfo, C as ConfigurationScope, E as EditPresentationTypes } from './configurationRegistry.js';
15
19
  import { P as PlatformName, O as OperatingSystem } from './platform.js';
16
20
  import { I as ILogService } from './log.js';
17
21
  export { a as ILoggerService, L as LogLevel } from './log.js';
18
- import { R as ResolvedKeybinding, K as KeyCode, a as KeyCodeChord, b as IKeybindingService, c as ResolvedKeybindingItem } from './keybinding.js';
22
+ import { b as IWorkspaceFolder } from './workspace.js';
23
+ export { c as IWorkspaceContextService } from './workspace.js';
24
+ import { R as ResolvedKeybinding, b as ResolvedKeybindingItem } from './keybinding.js';
19
25
  import { d as IEditorPane, E as EditorInput, G as GroupIdentifier, e as IUntypedEditorInput, r as EditorInputWithOptionsAndGroup, k as IEditorGroup, f as IUntitledTextResourceEditorInput, g as IResourceDiffEditorInput, s as IResourceMergeEditorInput, i as EditorInputWithOptions, t as IUntypedFileEditorInput, u as IFileEditorInput } from './editor.js';
20
26
  export { O as CloseDirection, Z as DialogType, D as EditorGroupLayout, b as EditorsOrder, x as GroupDirection, C as GroupLayoutArgument, z as GroupLocation, y as GroupOrientation, B as GroupsArrangement, L as GroupsOrder, U as IActiveEditorChangeEvent, F as IAddGroupOptions, a3 as IBaseDialogOptions, a4 as ICheckbox, a5 as ICheckboxResult, K as ICloseAllEditorsOptions, n as ICloseEditorOptions, J as ICloseEditorsFilter, a0 as IConfirmDialogArgs, a8 as IConfirmation, a9 as IConfirmationResult, a7 as ICustomDialogMarkdown, a6 as ICustomDialogOptions, Y as IDialogArgs, $ as IDialogHandler, _ as IDialogResult, v as IDialogService, I as IEditorCloseEvent, V as IEditorControl, w as IEditorGroupsService, P as IEditorPartOptions, Q as IEditorPartOptionsChangeEvent, j as IEditorReplacement, N as IEditorSideGroup, R as IEditorWillMoveEvent, S as IEditorWillOpenEvent, l as IFindEditorOptions, A as IFindGroupScope, p as IGroupModelChangeEvent, aa as IInput, a1 as IInputDialogArgs, ac as IInputElement, ab as IInputResult, T as IMatchEditorOptions, H as IMergeGroupOptions, ad as IPrompt, af as IPromptBaseButton, ag as IPromptButton, ah as IPromptCancelButton, a2 as IPromptDialogArgs, ae as IPromptResult, ai as IPromptResultWithCancel, aj as IPromptWithCustomCancel, ak as IPromptWithDefaultCancel, W as ITextFileService, a as IVisibleEditorPane, X as IWorkingCopyFileService, M as MergeGroupMode } from './editor.js';
21
- import { I as IView$3, a as IViewDescriptorService, b as IViewPaneContainer, c as ViewContainer, d as IViewContainerModel, e as IViewDescriptor, f as IAddedViewDescriptorRef, g as IPaneComposite, V as ViewContainerLocation } from './views.js';
22
- export { h as IViewsService } from './views.js';
23
27
  import { I as IEditorService, P as PreferredGroup } from './editorService.js';
24
- import { I as IconIdentifier, T as ThemeIcon } from './themables.js';
25
- import { I as IJSONSchema, a as IJSONSchemaMap } from './jsonSchema.js';
26
- import { e as ICommandAction, f as ICommandActionTitle, g as Icon, h as IEnvironmentService, E as ExtensionIdentifier, T as TargetPlatform, a as IExtensionDescription } from './extensions.d2.ts';
27
- import { a as IExtensionService } from './extensionsRegistry.js';
28
28
  import { I as IEditorOverrideServices } from './standaloneServices.js';
29
29
  export { S as StandaloneServices } from './standaloneServices.js';
30
+ import { T as ThemeIcon } from './themables.js';
31
+ import { T as TargetPlatform, E as ExtensionIdentifier, a as IExtensionDescription } from './extensions.d2.ts';
32
+ import { a as IJSONSchemaMap, I as IJSONSchema } from './jsonSchema.js';
30
33
  import 'vscode';
31
34
  import 'monaco-editor';
35
+ import './extensionsRegistry.js';
32
36
 
33
37
  interface IAccessibilityInformation {
34
38
  label: string;
35
39
  role?: string;
36
40
  }
37
41
 
38
- interface IConfigurationOverrides {
39
- overrideIdentifier?: string | null;
40
- resource?: URI | null;
41
- }
42
- type IConfigurationUpdateOverrides = Omit<IConfigurationOverrides, 'overrideIdentifier'> & {
43
- overrideIdentifiers?: string[] | null;
44
- };
45
- declare const enum ConfigurationTarget {
46
- APPLICATION = 1,
47
- USER = 2,
48
- USER_LOCAL = 3,
49
- USER_REMOTE = 4,
50
- WORKSPACE = 5,
51
- WORKSPACE_FOLDER = 6,
52
- DEFAULT = 7,
53
- MEMORY = 8
54
- }
55
- interface IConfigurationChange {
56
- keys: string[];
57
- overrides: [string, string[]][];
58
- }
59
- interface IConfigurationChangeEvent {
60
- readonly source: ConfigurationTarget;
61
- readonly affectedKeys: ReadonlySet<string>;
62
- readonly change: IConfigurationChange;
63
- affectsConfiguration(configuration: string, overrides?: IConfigurationOverrides): boolean;
64
- readonly sourceConfig: any;
65
- }
66
- interface IConfigurationValue<T> {
67
- readonly defaultValue?: T;
68
- readonly applicationValue?: T;
69
- readonly userValue?: T;
70
- readonly userLocalValue?: T;
71
- readonly userRemoteValue?: T;
72
- readonly workspaceValue?: T;
73
- readonly workspaceFolderValue?: T;
74
- readonly memoryValue?: T;
75
- readonly policyValue?: T;
76
- readonly value?: T;
77
- readonly default?: {
78
- value?: T;
79
- override?: T;
80
- };
81
- readonly application?: {
82
- value?: T;
83
- override?: T;
84
- };
85
- readonly user?: {
86
- value?: T;
87
- override?: T;
88
- };
89
- readonly userLocal?: {
90
- value?: T;
91
- override?: T;
92
- };
93
- readonly userRemote?: {
94
- value?: T;
95
- override?: T;
96
- };
97
- readonly workspace?: {
98
- value?: T;
99
- override?: T;
100
- };
101
- readonly workspaceFolder?: {
102
- value?: T;
103
- override?: T;
104
- };
105
- readonly memory?: {
106
- value?: T;
107
- override?: T;
108
- };
109
- readonly policy?: {
110
- value?: T;
111
- };
112
- readonly overrideIdentifiers?: string[];
113
- }
114
- interface IConfigurationUpdateOptions {
115
- /**
116
- * If `true`, do not notifies the error to user by showing the message box. Default is `false`.
117
- */
118
- donotNotifyError?: boolean;
119
- /**
120
- * How to handle dirty file when updating the configuration.
121
- */
122
- handleDirtyFile?: 'save' | 'revert';
123
- }
124
-
125
- declare const IConfigurationService: ServiceIdentifier<IConfigurationService>;
126
- interface IConfigurationService {
127
- readonly _serviceBrand: undefined;
128
- onDidChangeConfiguration: Event$1<IConfigurationChangeEvent>;
129
- getConfigurationData(): IConfigurationData | null;
130
- /**
131
- * Fetches the value of the section for the given overrides.
132
- * Value can be of native type or an object keyed off the section name.
133
- *
134
- * @param section - Section of the configuration. Can be `null` or `undefined`.
135
- * @param overrides - Overrides that has to be applied while fetching
136
- *
137
- */
138
- getValue<T>(): T;
139
- getValue<T>(section: string): T;
140
- getValue<T>(overrides: IConfigurationOverrides): T;
141
- getValue<T>(section: string, overrides: IConfigurationOverrides): T;
142
- /**
143
- * Update a configuration value.
144
- *
145
- * Use `target` to update the configuration in a specific `ConfigurationTarget`.
146
- *
147
- * Use `overrides` to update the configuration for a resource or for override identifiers or both.
148
- *
149
- * Passing a resource through overrides will update the configuration in the workspace folder containing that resource.
150
- *
151
- * *Note 1:* Updating configuration to a default value will remove the configuration from the requested target. If not target is passed, it will be removed from all writeable targets.
152
- *
153
- * *Note 2:* Use `undefined` value to remove the configuration from the given target. If not target is passed, it will be removed from all writeable targets.
154
- *
155
- * Use `donotNotifyError` and set it to `true` to surpresss errors.
156
- *
157
- * @param key setting to be updated
158
- * @param value The new value
159
- */
160
- updateValue(key: string, value: any): Promise<void>;
161
- updateValue(key: string, value: any, target: ConfigurationTarget): Promise<void>;
162
- updateValue(key: string, value: any, overrides: IConfigurationOverrides | IConfigurationUpdateOverrides): Promise<void>;
163
- updateValue(key: string, value: any, overrides: IConfigurationOverrides | IConfigurationUpdateOverrides, target: ConfigurationTarget, options?: IConfigurationUpdateOptions): Promise<void>;
164
- inspect<T>(key: string, overrides?: IConfigurationOverrides): IConfigurationValue<Readonly<T>>;
165
- reloadConfiguration(target?: ConfigurationTarget | IWorkspaceFolder): Promise<void>;
166
- keys(): {
167
- default: string[];
168
- user: string[];
169
- workspace: string[];
170
- workspaceFolder: string[];
171
- memory?: string[];
172
- };
173
- }
174
- interface IConfigurationModel {
175
- contents: any;
176
- keys: string[];
177
- overrides: IOverrides[];
178
- }
179
- interface IOverrides {
180
- keys: string[];
181
- contents: any;
182
- identifiers: string[];
183
- }
184
- interface IConfigurationData {
185
- defaults: IConfigurationModel;
186
- policy: IConfigurationModel;
187
- application: IConfigurationModel;
188
- user: IConfigurationModel;
189
- workspace: IConfigurationModel;
190
- folders: [UriComponents, IConfigurationModel][];
191
- }
192
-
193
42
  interface ILanguageExtensionPoint {
194
43
  id: string;
195
44
  extensions?: string[];
@@ -206,7 +55,7 @@ interface ILanguageExtensionPoint {
206
55
  }
207
56
  interface ILanguageSelection {
208
57
  readonly languageId: string;
209
- readonly onDidChange: Event$1<string>;
58
+ readonly onDidChange: Event<string>;
210
59
  }
211
60
  interface ILanguageNameIdPair {
212
61
  readonly languageName: string;
@@ -232,7 +81,7 @@ interface ILanguageService {
232
81
  * **Note**: Basic language features refers to language configuration related features.
233
82
  * **Note**: This event is a superset of `onDidRequestRichLanguageFeatures`
234
83
  */
235
- onDidRequestBasicLanguageFeatures: Event$1<string>;
84
+ onDidRequestBasicLanguageFeatures: Event<string>;
236
85
  /**
237
86
  * An event emitted when rich language features are requested for the first time.
238
87
  * This event is emitted when a language is associated to a text model.
@@ -240,11 +89,11 @@ interface ILanguageService {
240
89
  * **Note**: Rich language features refers to tokenizers, language features based on providers, etc.
241
90
  * **Note**: This event is a subset of `onDidRequestRichLanguageFeatures`
242
91
  */
243
- onDidRequestRichLanguageFeatures: Event$1<string>;
92
+ onDidRequestRichLanguageFeatures: Event<string>;
244
93
  /**
245
94
  * An event emitted when languages have changed.
246
95
  */
247
- onDidChange: Event$1<void>;
96
+ onDidChange: Event<void>;
248
97
  /**
249
98
  * Register a language.
250
99
  */
@@ -330,233 +179,6 @@ declare class UndoRedoSource {
330
179
  static None: UndoRedoSource;
331
180
  }
332
181
 
333
- interface ISubmenuItem {
334
- title: string | ICommandActionTitle;
335
- submenu: MenuId;
336
- icon?: Icon;
337
- when?: ContextKeyExpression;
338
- group?: 'navigation' | string;
339
- order?: number;
340
- isSelection?: boolean;
341
- rememberDefaultAction?: boolean;
342
- }
343
- declare class MenuId {
344
- private static readonly _instances;
345
- static readonly CommandPalette: MenuId;
346
- static readonly DebugBreakpointsContext: MenuId;
347
- static readonly DebugCallStackContext: MenuId;
348
- static readonly DebugConsoleContext: MenuId;
349
- static readonly DebugVariablesContext: MenuId;
350
- static readonly DebugWatchContext: MenuId;
351
- static readonly DebugToolBar: MenuId;
352
- static readonly DebugToolBarStop: MenuId;
353
- static readonly EditorContext: MenuId;
354
- static readonly SimpleEditorContext: MenuId;
355
- static readonly EditorContent: MenuId;
356
- static readonly EditorLineNumberContext: MenuId;
357
- static readonly EditorContextCopy: MenuId;
358
- static readonly EditorContextPeek: MenuId;
359
- static readonly EditorContextShare: MenuId;
360
- static readonly EditorTitle: MenuId;
361
- static readonly EditorTitleRun: MenuId;
362
- static readonly EditorTitleContext: MenuId;
363
- static readonly EditorTitleContextShare: MenuId;
364
- static readonly EmptyEditorGroup: MenuId;
365
- static readonly EmptyEditorGroupContext: MenuId;
366
- static readonly EditorTabsBarContext: MenuId;
367
- static readonly ExplorerContext: MenuId;
368
- static readonly ExplorerContextShare: MenuId;
369
- static readonly ExtensionContext: MenuId;
370
- static readonly GlobalActivity: MenuId;
371
- static readonly CommandCenter: MenuId;
372
- static readonly LayoutControlMenuSubmenu: MenuId;
373
- static readonly LayoutControlMenu: MenuId;
374
- static readonly MenubarMainMenu: MenuId;
375
- static readonly MenubarAppearanceMenu: MenuId;
376
- static readonly MenubarDebugMenu: MenuId;
377
- static readonly MenubarEditMenu: MenuId;
378
- static readonly MenubarCopy: MenuId;
379
- static readonly MenubarFileMenu: MenuId;
380
- static readonly MenubarGoMenu: MenuId;
381
- static readonly MenubarHelpMenu: MenuId;
382
- static readonly MenubarLayoutMenu: MenuId;
383
- static readonly MenubarNewBreakpointMenu: MenuId;
384
- static readonly PanelAlignmentMenu: MenuId;
385
- static readonly PanelPositionMenu: MenuId;
386
- static readonly MenubarPreferencesMenu: MenuId;
387
- static readonly MenubarRecentMenu: MenuId;
388
- static readonly MenubarSelectionMenu: MenuId;
389
- static readonly MenubarShare: MenuId;
390
- static readonly MenubarSwitchEditorMenu: MenuId;
391
- static readonly MenubarSwitchGroupMenu: MenuId;
392
- static readonly MenubarTerminalMenu: MenuId;
393
- static readonly MenubarViewMenu: MenuId;
394
- static readonly MenubarHomeMenu: MenuId;
395
- static readonly OpenEditorsContext: MenuId;
396
- static readonly OpenEditorsContextShare: MenuId;
397
- static readonly ProblemsPanelContext: MenuId;
398
- static readonly SCMChangeContext: MenuId;
399
- static readonly SCMResourceContext: MenuId;
400
- static readonly SCMResourceContextShare: MenuId;
401
- static readonly SCMResourceFolderContext: MenuId;
402
- static readonly SCMResourceGroupContext: MenuId;
403
- static readonly SCMSourceControl: MenuId;
404
- static readonly SCMTitle: MenuId;
405
- static readonly SearchContext: MenuId;
406
- static readonly SearchActionMenu: MenuId;
407
- static readonly StatusBarWindowIndicatorMenu: MenuId;
408
- static readonly StatusBarRemoteIndicatorMenu: MenuId;
409
- static readonly StickyScrollContext: MenuId;
410
- static readonly TestItem: MenuId;
411
- static readonly TestItemGutter: MenuId;
412
- static readonly TestPeekElement: MenuId;
413
- static readonly TestPeekTitle: MenuId;
414
- static readonly TouchBarContext: MenuId;
415
- static readonly TitleBarContext: MenuId;
416
- static readonly TitleBarTitleContext: MenuId;
417
- static readonly TunnelContext: MenuId;
418
- static readonly TunnelPrivacy: MenuId;
419
- static readonly TunnelProtocol: MenuId;
420
- static readonly TunnelPortInline: MenuId;
421
- static readonly TunnelTitle: MenuId;
422
- static readonly TunnelLocalAddressInline: MenuId;
423
- static readonly TunnelOriginInline: MenuId;
424
- static readonly ViewItemContext: MenuId;
425
- static readonly ViewContainerTitle: MenuId;
426
- static readonly ViewContainerTitleContext: MenuId;
427
- static readonly ViewTitle: MenuId;
428
- static readonly ViewTitleContext: MenuId;
429
- static readonly CommentEditorActions: MenuId;
430
- static readonly CommentThreadTitle: MenuId;
431
- static readonly CommentThreadActions: MenuId;
432
- static readonly CommentThreadAdditionalActions: MenuId;
433
- static readonly CommentThreadTitleContext: MenuId;
434
- static readonly CommentThreadCommentContext: MenuId;
435
- static readonly CommentTitle: MenuId;
436
- static readonly CommentActions: MenuId;
437
- static readonly InteractiveToolbar: MenuId;
438
- static readonly InteractiveCellTitle: MenuId;
439
- static readonly InteractiveCellDelete: MenuId;
440
- static readonly InteractiveCellExecute: MenuId;
441
- static readonly InteractiveInputExecute: MenuId;
442
- static readonly NotebookToolbar: MenuId;
443
- static readonly NotebookCellTitle: MenuId;
444
- static readonly NotebookCellDelete: MenuId;
445
- static readonly NotebookCellInsert: MenuId;
446
- static readonly NotebookCellBetween: MenuId;
447
- static readonly NotebookCellListTop: MenuId;
448
- static readonly NotebookCellExecute: MenuId;
449
- static readonly NotebookCellExecutePrimary: MenuId;
450
- static readonly NotebookDiffCellInputTitle: MenuId;
451
- static readonly NotebookDiffCellMetadataTitle: MenuId;
452
- static readonly NotebookDiffCellOutputsTitle: MenuId;
453
- static readonly NotebookOutputToolbar: MenuId;
454
- static readonly NotebookEditorLayoutConfigure: MenuId;
455
- static readonly NotebookKernelSource: MenuId;
456
- static readonly BulkEditTitle: MenuId;
457
- static readonly BulkEditContext: MenuId;
458
- static readonly TimelineItemContext: MenuId;
459
- static readonly TimelineTitle: MenuId;
460
- static readonly TimelineTitleContext: MenuId;
461
- static readonly TimelineFilterSubMenu: MenuId;
462
- static readonly AccountsContext: MenuId;
463
- static readonly PanelTitle: MenuId;
464
- static readonly AuxiliaryBarTitle: MenuId;
465
- static readonly TerminalInstanceContext: MenuId;
466
- static readonly TerminalEditorInstanceContext: MenuId;
467
- static readonly TerminalNewDropdownContext: MenuId;
468
- static readonly TerminalTabContext: MenuId;
469
- static readonly TerminalTabEmptyAreaContext: MenuId;
470
- static readonly TerminalInlineTabContext: MenuId;
471
- static readonly WebviewContext: MenuId;
472
- static readonly InlineCompletionsActions: MenuId;
473
- static readonly NewFile: MenuId;
474
- static readonly MergeInput1Toolbar: MenuId;
475
- static readonly MergeInput2Toolbar: MenuId;
476
- static readonly MergeBaseToolbar: MenuId;
477
- static readonly MergeInputResultToolbar: MenuId;
478
- static readonly InlineSuggestionToolbar: MenuId;
479
- static readonly ChatContext: MenuId;
480
- static readonly ChatCodeBlock: MenuId;
481
- static readonly ChatMessageTitle: MenuId;
482
- static readonly ChatExecute: MenuId;
483
- /**
484
- * Create or reuse a `MenuId` with the given identifier
485
- */
486
- static for(identifier: string): MenuId;
487
- readonly id: string;
488
- /**
489
- * Create a new `MenuId` with the unique identifier. Will throw if a menu
490
- * with the identifier already exists, use `MenuId.for(ident)` or a unique
491
- * identifier
492
- */
493
- constructor(identifier: string);
494
- }
495
- interface IMenuActionOptions {
496
- arg?: any;
497
- shouldForwardArgs?: boolean;
498
- renderShortTitle?: boolean;
499
- }
500
- interface IMenuChangeEvent {
501
- readonly menu: IMenu;
502
- readonly isStructuralChange: boolean;
503
- readonly isToggleChange: boolean;
504
- readonly isEnablementChange: boolean;
505
- }
506
- interface IMenu extends IDisposable {
507
- readonly onDidChange: Event$1<IMenuChangeEvent>;
508
- getActions(options?: IMenuActionOptions): [string, Array<MenuItemAction | SubmenuItemAction>][];
509
- }
510
- interface IMenuCreateOptions {
511
- emitEventsForSubmenuChanges?: boolean;
512
- eventDebounceDelay?: number;
513
- }
514
- declare const IMenuService: ServiceIdentifier<IMenuService>;
515
- interface IMenuService {
516
- readonly _serviceBrand: undefined;
517
- /**
518
- * Create a new menu for the given menu identifier. A menu sends events when it's entries
519
- * have changed (placement, enablement, checked-state). By default it does not send events for
520
- * submenu entries. That is more expensive and must be explicitly enabled with the
521
- * `emitEventsForSubmenuChanges` flag.
522
- */
523
- createMenu(id: MenuId, contextKeyService: IContextKeyService, options?: IMenuCreateOptions): IMenu;
524
- /**
525
- * Reset **all** menu item hidden states.
526
- */
527
- resetHiddenStates(): void;
528
- /**
529
- * Reset the menu's hidden states.
530
- */
531
- resetHiddenStates(menuIds: readonly MenuId[] | undefined): void;
532
- }
533
- declare class SubmenuItemAction extends SubmenuAction {
534
- readonly item: ISubmenuItem;
535
- readonly hideActions: IMenuItemHide | undefined;
536
- constructor(item: ISubmenuItem, hideActions: IMenuItemHide | undefined, actions: IAction[]);
537
- }
538
- interface IMenuItemHide {
539
- readonly isHidden: boolean;
540
- readonly hide: IAction;
541
- readonly toggle: IAction;
542
- }
543
- declare class MenuItemAction implements IAction {
544
- readonly hideActions: IMenuItemHide | undefined;
545
- private _commandService;
546
- static label(action: ICommandAction, options?: IMenuActionOptions): string;
547
- readonly item: ICommandAction;
548
- readonly alt: MenuItemAction | undefined;
549
- private readonly _options;
550
- readonly id: string;
551
- readonly label: string;
552
- readonly tooltip: string;
553
- readonly class: string | undefined;
554
- readonly enabled: boolean;
555
- readonly checked?: boolean;
556
- constructor(item: ICommandAction, alt: ICommandAction | undefined, options: IMenuActionOptions | undefined, hideActions: IMenuItemHide | undefined, contextKeyService: IContextKeyService, _commandService: ICommandService);
557
- run(...args: any[]): Promise<void>;
558
- }
559
-
560
182
  interface IExtUri {
561
183
  /**
562
184
  * Compares two uris.
@@ -694,225 +316,6 @@ interface IUriIdentityService {
694
316
  asCanonicalUri(uri: URI): URI;
695
317
  }
696
318
 
697
- /**
698
- * Flags to indicate whether to use the default profile or not.
699
- */
700
- type UseDefaultProfileFlags = {
701
- settings?: boolean;
702
- keybindings?: boolean;
703
- tasks?: boolean;
704
- snippets?: boolean;
705
- extensions?: boolean;
706
- uiState?: boolean;
707
- };
708
- interface IUserDataProfile {
709
- readonly id: string;
710
- readonly isDefault: boolean;
711
- readonly name: string;
712
- readonly shortName?: string;
713
- readonly location: URI;
714
- readonly globalStorageHome: URI;
715
- readonly settingsResource: URI;
716
- readonly keybindingsResource: URI;
717
- readonly tasksResource: URI;
718
- readonly snippetsHome: URI;
719
- readonly extensionsResource: URI;
720
- readonly cacheHome: URI;
721
- readonly useDefaultFlags?: UseDefaultProfileFlags;
722
- readonly isTransient?: boolean;
723
- }
724
-
725
- declare enum WillSaveStateReason {
726
- /**
727
- * No specific reason to save state.
728
- */
729
- NONE = 0,
730
- /**
731
- * A hint that the workbench is about to shutdown.
732
- */
733
- SHUTDOWN = 1
734
- }
735
- interface IWillSaveStateEvent {
736
- readonly reason: WillSaveStateReason;
737
- }
738
- declare const IStorageService: ServiceIdentifier<IStorageService>;
739
- interface IStorageService {
740
- readonly _serviceBrand: undefined;
741
- /**
742
- * Emitted whenever data is updated or deleted.
743
- */
744
- readonly onDidChangeValue: Event$1<IStorageValueChangeEvent>;
745
- /**
746
- * Emitted whenever target of a storage entry changes.
747
- */
748
- readonly onDidChangeTarget: Event$1<IStorageTargetChangeEvent>;
749
- /**
750
- * Emitted when the storage is about to persist. This is the right time
751
- * to persist data to ensure it is stored before the application shuts
752
- * down.
753
- *
754
- * The will save state event allows to optionally ask for the reason of
755
- * saving the state, e.g. to find out if the state is saved due to a
756
- * shutdown.
757
- *
758
- * Note: this event may be fired many times, not only on shutdown to prevent
759
- * loss of state in situations where the shutdown is not sufficient to
760
- * persist the data properly.
761
- */
762
- readonly onWillSaveState: Event$1<IWillSaveStateEvent>;
763
- /**
764
- * Retrieve an element stored with the given key from storage. Use
765
- * the provided `defaultValue` if the element is `null` or `undefined`.
766
- *
767
- * @param scope allows to define the scope of the storage operation
768
- * to either the current workspace only, all workspaces or all profiles.
769
- */
770
- get(key: string, scope: StorageScope, fallbackValue: string): string;
771
- get(key: string, scope: StorageScope, fallbackValue?: string): string | undefined;
772
- /**
773
- * Retrieve an element stored with the given key from storage. Use
774
- * the provided `defaultValue` if the element is `null` or `undefined`.
775
- * The element will be converted to a `boolean`.
776
- *
777
- * @param scope allows to define the scope of the storage operation
778
- * to either the current workspace only, all workspaces or all profiles.
779
- */
780
- getBoolean(key: string, scope: StorageScope, fallbackValue: boolean): boolean;
781
- getBoolean(key: string, scope: StorageScope, fallbackValue?: boolean): boolean | undefined;
782
- /**
783
- * Retrieve an element stored with the given key from storage. Use
784
- * the provided `defaultValue` if the element is `null` or `undefined`.
785
- * The element will be converted to a `number` using `parseInt` with a
786
- * base of `10`.
787
- *
788
- * @param scope allows to define the scope of the storage operation
789
- * to either the current workspace only, all workspaces or all profiles.
790
- */
791
- getNumber(key: string, scope: StorageScope, fallbackValue: number): number;
792
- getNumber(key: string, scope: StorageScope, fallbackValue?: number): number | undefined;
793
- /**
794
- * Retrieve an element stored with the given key from storage. Use
795
- * the provided `defaultValue` if the element is `null` or `undefined`.
796
- * The element will be converted to a `object` using `JSON.parse`.
797
- *
798
- * @param scope allows to define the scope of the storage operation
799
- * to either the current workspace only, all workspaces or all profiles.
800
- */
801
- getObject<T extends object>(key: string, scope: StorageScope, fallbackValue: T): T;
802
- getObject<T extends object>(key: string, scope: StorageScope, fallbackValue?: T): T | undefined;
803
- /**
804
- * Store a value under the given key to storage. The value will be
805
- * converted to a `string`. Storing either `undefined` or `null` will
806
- * remove the entry under the key.
807
- *
808
- * @param scope allows to define the scope of the storage operation
809
- * to either the current workspace only, all workspaces or all profiles.
810
- *
811
- * @param target allows to define the target of the storage operation
812
- * to either the current machine or user.
813
- */
814
- store(key: string, value: string | boolean | number | undefined | null | object, scope: StorageScope, target: StorageTarget): void;
815
- /**
816
- * Delete an element stored under the provided key from storage.
817
- *
818
- * The scope argument allows to define the scope of the storage
819
- * operation to either the current workspace only, all workspaces
820
- * or all profiles.
821
- */
822
- remove(key: string, scope: StorageScope): void;
823
- /**
824
- * Returns all the keys used in the storage for the provided `scope`
825
- * and `target`.
826
- *
827
- * Note: this will NOT return all keys stored in the storage layer.
828
- * Some keys may not have an associated `StorageTarget` and thus
829
- * will be excluded from the results.
830
- *
831
- * @param scope allows to define the scope for the keys
832
- * to either the current workspace only, all workspaces or all profiles.
833
- *
834
- * @param target allows to define the target for the keys
835
- * to either the current machine or user.
836
- */
837
- keys(scope: StorageScope, target: StorageTarget): string[];
838
- /**
839
- * Log the contents of the storage to the console.
840
- */
841
- log(): void;
842
- /**
843
- * Returns true if the storage service handles the provided scope.
844
- */
845
- hasScope(scope: IAnyWorkspaceIdentifier | IUserDataProfile): boolean;
846
- /**
847
- * Switch storage to another workspace or profile. Optionally preserve the
848
- * current data to the new storage.
849
- */
850
- switch(to: IAnyWorkspaceIdentifier | IUserDataProfile, preserveData: boolean): Promise<void>;
851
- /**
852
- * Whether the storage for the given scope was created during this session or
853
- * existed before.
854
- */
855
- isNew(scope: StorageScope): boolean;
856
- /**
857
- * Allows to flush state, e.g. in cases where a shutdown is
858
- * imminent. This will send out the `onWillSaveState` to ask
859
- * everyone for latest state.
860
- *
861
- * @returns a `Promise` that can be awaited on when all updates
862
- * to the underlying storage have been flushed.
863
- */
864
- flush(reason?: WillSaveStateReason): Promise<void>;
865
- }
866
- declare const enum StorageScope {
867
- /**
868
- * The stored data will be scoped to all workspaces across all profiles.
869
- */
870
- APPLICATION = -1,
871
- /**
872
- * The stored data will be scoped to all workspaces of the same profile.
873
- */
874
- PROFILE = 0,
875
- /**
876
- * The stored data will be scoped to the current workspace.
877
- */
878
- WORKSPACE = 1
879
- }
880
- declare const enum StorageTarget {
881
- /**
882
- * The stored data is user specific and applies across machines.
883
- */
884
- USER = 0,
885
- /**
886
- * The stored data is machine specific.
887
- */
888
- MACHINE = 1
889
- }
890
- interface IStorageValueChangeEvent {
891
- /**
892
- * The scope for the storage entry that changed
893
- * or was removed.
894
- */
895
- readonly scope: StorageScope;
896
- /**
897
- * The `key` of the storage entry that was changed
898
- * or was removed.
899
- */
900
- readonly key: string;
901
- /**
902
- * The `target` can be `undefined` if a key is being
903
- * removed.
904
- */
905
- readonly target: StorageTarget | undefined;
906
- }
907
- interface IStorageTargetChangeEvent {
908
- /**
909
- * The scope for the target that changed. Listeners
910
- * should use `keys(scope, target)` to get an updated
911
- * list of keys for the given `scope` and `target`.
912
- */
913
- readonly scope: StorageScope;
914
- }
915
-
916
319
  interface IBuiltInExtension {
917
320
  readonly name: string;
918
321
  readonly version: string;
@@ -1392,8 +795,8 @@ interface IQuickInputHideEvent {
1392
795
  reason: QuickInputHideReason;
1393
796
  }
1394
797
  interface IQuickInput extends IDisposable {
1395
- readonly onDidHide: Event$1<IQuickInputHideEvent>;
1396
- readonly onDispose: Event$1<void>;
798
+ readonly onDidHide: Event<IQuickInputHideEvent>;
799
+ readonly onDispose: Event<void>;
1397
800
  title: string | undefined;
1398
801
  description: string | undefined;
1399
802
  /**
@@ -1439,9 +842,9 @@ interface IQuickPick<T extends IQuickPickItem> extends IQuickInput {
1439
842
  filterValue: (value: string) => string;
1440
843
  ariaLabel: string | undefined;
1441
844
  placeholder: string | undefined;
1442
- readonly onDidChangeValue: Event$1<string>;
1443
- readonly onWillAccept: Event$1<IQuickPickWillAcceptEvent>;
1444
- readonly onDidAccept: Event$1<IQuickPickDidAcceptEvent>;
845
+ readonly onDidChangeValue: Event<string>;
846
+ readonly onWillAccept: Event<IQuickPickWillAcceptEvent>;
847
+ readonly onDidAccept: Event<IQuickPickDidAcceptEvent>;
1445
848
  /**
1446
849
  * If enabled, will fire the `onDidAccept` event when
1447
850
  * pressing the arrow-right key with the idea of accepting
@@ -1449,14 +852,14 @@ interface IQuickPick<T extends IQuickPickItem> extends IQuickInput {
1449
852
  */
1450
853
  canAcceptInBackground: boolean;
1451
854
  ok: boolean | 'default';
1452
- readonly onDidCustom: Event$1<void>;
855
+ readonly onDidCustom: Event<void>;
1453
856
  customButton: boolean;
1454
857
  customLabel: string | undefined;
1455
858
  customHover: string | undefined;
1456
859
  buttons: ReadonlyArray<IQuickInputButton>;
1457
- readonly onDidTriggerButton: Event$1<IQuickInputButton>;
1458
- readonly onDidTriggerItemButton: Event$1<IQuickPickItemButtonEvent<T>>;
1459
- readonly onDidTriggerSeparatorButton: Event$1<IQuickPickSeparatorButtonEvent>;
860
+ readonly onDidTriggerButton: Event<IQuickInputButton>;
861
+ readonly onDidTriggerItemButton: Event<IQuickPickItemButtonEvent<T>>;
862
+ readonly onDidTriggerSeparatorButton: Event<IQuickPickSeparatorButtonEvent>;
1460
863
  items: ReadonlyArray<T | IQuickPickSeparator>;
1461
864
  scrollTop: number;
1462
865
  canSelectMany: boolean;
@@ -1474,13 +877,13 @@ interface IQuickPick<T extends IQuickPickItem> extends IQuickInput {
1474
877
  keepScrollPosition: boolean;
1475
878
  quickNavigate: IQuickNavigateConfiguration | undefined;
1476
879
  activeItems: ReadonlyArray<T>;
1477
- readonly onDidChangeActive: Event$1<T[]>;
880
+ readonly onDidChangeActive: Event<T[]>;
1478
881
  /**
1479
882
  * Allows to control which entry should be activated by default.
1480
883
  */
1481
884
  itemActivation: ItemActivation;
1482
885
  selectedItems: ReadonlyArray<T>;
1483
- readonly onDidChangeSelection: Event$1<T[]>;
886
+ readonly onDidChangeSelection: Event<T[]>;
1484
887
  readonly keyMods: IKeyMods;
1485
888
  valueSelection: Readonly<[number, number]> | undefined;
1486
889
  validationMessage: string | undefined;
@@ -1499,7 +902,7 @@ interface IQuickPick<T extends IQuickPickItem> extends IQuickInput {
1499
902
  toggles: IQuickInputToggle[] | undefined;
1500
903
  }
1501
904
  interface IQuickInputToggle {
1502
- onChange: Event$1<boolean>;
905
+ onChange: Event<boolean>;
1503
906
  }
1504
907
  interface IInputBox extends IQuickInput {
1505
908
  /**
@@ -1521,11 +924,11 @@ interface IInputBox extends IQuickInput {
1521
924
  /**
1522
925
  * Event called when the input value changes.
1523
926
  */
1524
- readonly onDidChangeValue: Event$1<string>;
927
+ readonly onDidChangeValue: Event<string>;
1525
928
  /**
1526
929
  * Event called when the user submits the input.
1527
930
  */
1528
- readonly onDidAccept: Event$1<void>;
931
+ readonly onDidAccept: Event<void>;
1529
932
  /**
1530
933
  * Buttons to show in addition to user input submission.
1531
934
  */
@@ -1533,7 +936,7 @@ interface IInputBox extends IQuickInput {
1533
936
  /**
1534
937
  * Event called when a button is selected.
1535
938
  */
1536
- readonly onDidTriggerButton: Event$1<IQuickInputButton>;
939
+ readonly onDidTriggerButton: Event<IQuickInputButton>;
1537
940
  /**
1538
941
  * Text show below the input box.
1539
942
  */
@@ -1590,11 +993,11 @@ interface IQuickInputService {
1590
993
  /**
1591
994
  * Allows to register on the event that quick input is showing.
1592
995
  */
1593
- readonly onShow: Event$1<void>;
996
+ readonly onShow: Event<void>;
1594
997
  /**
1595
998
  * Allows to register on the event that quick input is hiding.
1596
999
  */
1597
- readonly onHide: Event$1<void>;
1000
+ readonly onHide: Event<void>;
1598
1001
  /**
1599
1002
  * Opens the quick input box for selecting items and returns a promise
1600
1003
  * with the user selected item(s) if any.
@@ -1647,77 +1050,6 @@ interface IQuickInputService {
1647
1050
  cancel(): Promise<void>;
1648
1051
  }
1649
1052
 
1650
- interface IPropertyData {
1651
- classification: 'SystemMetaData' | 'CallstackOrException' | 'CustomerContent' | 'PublicNonPersonalData' | 'EndUserPseudonymizedInformation';
1652
- purpose: 'PerformanceAndHealth' | 'FeatureInsight' | 'BusinessInsight';
1653
- comment: string;
1654
- expiration?: string;
1655
- endpoint?: string;
1656
- isMeasurement?: boolean;
1657
- }
1658
- interface IGDPRProperty {
1659
- owner: string;
1660
- comment: string;
1661
- expiration?: string;
1662
- readonly [name: string]: IPropertyData | undefined | IGDPRProperty | string;
1663
- }
1664
- type IGDPRPropertyWithoutMetadata = Omit<IGDPRProperty, 'owner' | 'comment' | 'expiration'>;
1665
- type OmitMetadata<T> = Omit<T, 'owner' | 'comment' | 'expiration'>;
1666
- type ClassifiedEvent<T extends IGDPRPropertyWithoutMetadata> = {
1667
- [k in keyof T]: any;
1668
- };
1669
- type StrictPropertyChecker<TEvent, TClassification, TError> = keyof TEvent extends keyof OmitMetadata<TClassification> ? keyof OmitMetadata<TClassification> extends keyof TEvent ? TEvent : TError : TError;
1670
- type StrictPropertyCheckError = {
1671
- error: 'Type of classified event does not match event properties';
1672
- };
1673
- type StrictPropertyCheck<T extends IGDPRProperty, E> = StrictPropertyChecker<E, ClassifiedEvent<OmitMetadata<T>>, StrictPropertyCheckError>;
1674
-
1675
- interface ITelemetryData {
1676
- from?: string;
1677
- target?: string;
1678
- [key: string]: any;
1679
- }
1680
-
1681
- declare const ITelemetryService: ServiceIdentifier<ITelemetryService>;
1682
- interface ITelemetryService {
1683
- readonly _serviceBrand: undefined;
1684
- readonly telemetryLevel: TelemetryLevel;
1685
- readonly sessionId: string;
1686
- readonly machineId: string;
1687
- readonly firstSessionDate: string;
1688
- readonly msftInternal?: boolean;
1689
- /**
1690
- * Whether error telemetry will get sent. If false, `publicLogError` will no-op.
1691
- */
1692
- readonly sendErrorTelemetry: boolean;
1693
- /**
1694
- * @deprecated Use publicLog2 and the typescript GDPR annotation where possible
1695
- */
1696
- publicLog(eventName: string, data?: ITelemetryData): void;
1697
- /**
1698
- * Sends a telemetry event that has been privacy approved.
1699
- * Do not call this unless you have been given approval.
1700
- */
1701
- publicLog2<E extends ClassifiedEvent<OmitMetadata<T>> = never, T extends IGDPRProperty = never>(eventName: string, data?: StrictPropertyCheck<T, E>): void;
1702
- /**
1703
- * @deprecated Use publicLogError2 and the typescript GDPR annotation where possible
1704
- */
1705
- publicLogError(errorEventName: string, data?: ITelemetryData): void;
1706
- publicLogError2<E extends ClassifiedEvent<OmitMetadata<T>> = never, T extends IGDPRProperty = never>(eventName: string, data?: StrictPropertyCheck<T, E>): void;
1707
- setExperimentProperty(name: string, value: string): void;
1708
- }
1709
- interface ITelemetryEndpoint {
1710
- id: string;
1711
- aiKey: string;
1712
- sendErrorTelemetry: boolean;
1713
- }
1714
- declare const enum TelemetryLevel {
1715
- NONE = 0,
1716
- CRASH = 1,
1717
- ERROR = 2,
1718
- USAGE = 3
1719
- }
1720
-
1721
1053
  /**
1722
1054
  * The editor model is the heavyweight counterpart of editor input. Depending on the editor input, it
1723
1055
  * resolves from a file system retrieve content and may allow for saving it back or reverting it.
@@ -1725,7 +1057,7 @@ declare const enum TelemetryLevel {
1725
1057
  */
1726
1058
  declare class EditorModel extends Disposable implements IEditorModel {
1727
1059
  private readonly _onWillDispose;
1728
- readonly onWillDispose: Event$1<void>;
1060
+ readonly onWillDispose: Event<void>;
1729
1061
  private disposed;
1730
1062
  private resolved;
1731
1063
  /**
@@ -1755,243 +1087,40 @@ interface IModelService {
1755
1087
  getModels(): ITextModel[];
1756
1088
  getCreationOptions(language: string, resource: URI, isForSimpleWidget: boolean): ITextModelCreationOptions;
1757
1089
  getModel(resource: URI): ITextModel | null;
1758
- onModelAdded: Event$1<ITextModel>;
1759
- onModelRemoved: Event$1<ITextModel>;
1760
- onModelLanguageChanged: Event$1<{
1090
+ onModelAdded: Event<ITextModel>;
1091
+ onModelRemoved: Event<ITextModel>;
1092
+ onModelLanguageChanged: Event<{
1761
1093
  model: ITextModel;
1762
1094
  oldLanguageId: string;
1763
1095
  }>;
1764
1096
  }
1765
1097
 
1766
- type IconDefaults = ThemeIcon | IconDefinition;
1767
- interface IconDefinition {
1768
- font?: IconFontContribution;
1769
- fontCharacter: string;
1770
- }
1771
- interface IconContribution {
1772
- readonly id: string;
1773
- description: string | undefined;
1774
- deprecationMessage?: string;
1775
- readonly defaults: IconDefaults;
1776
- }
1777
- declare namespace IconContribution {
1778
- function getDefinition(contribution: IconContribution, registry: IIconRegistry): IconDefinition | undefined;
1779
- }
1780
- interface IconFontContribution {
1781
- readonly id: string;
1782
- readonly definition: IconFontDefinition;
1783
- }
1784
- interface IconFontDefinition {
1785
- readonly weight?: string;
1786
- readonly style?: string;
1787
- readonly src: IconFontSource[];
1788
- }
1789
- declare namespace IconFontDefinition {
1790
- function toJSONObject(iconFont: IconFontDefinition): any;
1791
- function fromJSONObject(json: any): IconFontDefinition | undefined;
1792
- }
1793
- interface IconFontSource {
1794
- readonly location: URI;
1795
- readonly format: string;
1796
- }
1797
- interface IIconRegistry {
1798
- readonly onDidChange: Event$1<void>;
1799
- /**
1800
- * Register a icon to the registry.
1801
- * @param id The icon id
1802
- * @param defaults The default values
1803
- * @param description The description
1804
- */
1805
- registerIcon(id: IconIdentifier, defaults: IconDefaults, description?: string): ThemeIcon;
1806
- /**
1807
- * Deregister a icon from the registry.
1808
- */
1809
- deregisterIcon(id: IconIdentifier): void;
1810
- /**
1811
- * Get all icon contributions
1812
- */
1813
- getIcons(): IconContribution[];
1814
- /**
1815
- * Get the icon for the given id
1816
- */
1817
- getIcon(id: IconIdentifier): IconContribution | undefined;
1818
- /**
1819
- * JSON schema for an object to assign icon values to one of the icon contributions.
1820
- */
1821
- getIconSchema(): IJSONSchema;
1822
- /**
1823
- * JSON schema to for a reference to a icon contribution.
1824
- */
1825
- getIconReferenceSchema(): IJSONSchema;
1826
- /**
1827
- * Register a icon font to the registry.
1828
- * @param id The icon font id
1829
- * @param definition The icon font definition
1830
- */
1831
- registerIconFont(id: string, definition: IconFontDefinition): IconFontDefinition;
1832
- /**
1833
- * Deregister an icon font to the registry.
1834
- */
1835
- deregisterIconFont(id: string): void;
1836
- /**
1837
- * Get the icon font for the given id
1838
- */
1839
- getIconFont(id: string): IconFontDefinition | undefined;
1840
- }
1841
-
1842
- /**
1843
- * Color scheme used by the OS and by color themes.
1844
- */
1845
- declare enum ColorScheme {
1846
- DARK = "dark",
1847
- LIGHT = "light",
1848
- HIGH_CONTRAST_DARK = "hcDark",
1849
- HIGH_CONTRAST_LIGHT = "hcLight"
1850
- }
1851
-
1852
- interface ITokenStyle {
1853
- readonly foreground: number | undefined;
1854
- readonly bold: boolean | undefined;
1855
- readonly underline: boolean | undefined;
1856
- readonly strikethrough: boolean | undefined;
1857
- readonly italic: boolean | undefined;
1858
- }
1859
- interface IColorTheme {
1860
- readonly type: ColorScheme;
1861
- readonly label: string;
1862
- /**
1863
- * Resolves the color of the given color identifier. If the theme does not
1864
- * specify the color, the default color is returned unless <code>useDefault</code> is set to false.
1865
- * @param color the id of the color
1866
- * @param useDefault specifies if the default color should be used. If not set, the default is used.
1867
- */
1868
- getColor(color: ColorIdentifier, useDefault?: boolean): Color | undefined;
1869
- /**
1870
- * Returns whether the theme defines a value for the color. If not, that means the
1871
- * default color will be used.
1872
- */
1873
- defines(color: ColorIdentifier): boolean;
1874
- /**
1875
- * Returns the token style for a given classification. The result uses the <code>MetadataConsts</code> format
1876
- */
1877
- getTokenStyleMetadata(type: string, modifiers: string[], modelLanguage: string): ITokenStyle | undefined;
1878
- /**
1879
- * List of all colors used with tokens. <code>getTokenStyleMetadata</code> references the colors by index into this list.
1880
- */
1881
- readonly tokenColorMap: string[];
1882
- /**
1883
- * Defines whether semantic highlighting should be enabled for the theme.
1884
- */
1885
- readonly semanticHighlighting: boolean;
1886
- }
1887
- interface IFileIconTheme {
1888
- readonly hasFileIcons: boolean;
1889
- readonly hasFolderIcons: boolean;
1890
- readonly hidesExplorerArrows: boolean;
1098
+ interface IAutoSaveConfiguration {
1099
+ autoSaveDelay?: number;
1100
+ autoSaveFocusChange: boolean;
1101
+ autoSaveApplicationChange: boolean;
1891
1102
  }
1892
- interface IProductIconTheme {
1893
- /**
1894
- * Resolves the definition for the given icon as defined by the theme.
1895
- *
1896
- * @param iconContribution The icon
1897
- */
1898
- getIcon(iconContribution: IconContribution): IconDefinition | undefined;
1103
+ declare const enum AutoSaveMode {
1104
+ OFF = 0,
1105
+ AFTER_SHORT_DELAY = 1,
1106
+ AFTER_LONG_DELAY = 2,
1107
+ ON_FOCUS_CHANGE = 3,
1108
+ ON_WINDOW_CHANGE = 4
1899
1109
  }
1900
-
1901
- declare const IThemeService: ServiceIdentifier<IThemeService>;
1902
- interface IThemeService {
1110
+ declare const IFilesConfigurationService: ServiceIdentifier<IFilesConfigurationService>;
1111
+ interface IFilesConfigurationService {
1903
1112
  readonly _serviceBrand: undefined;
1904
- getColorTheme(): IColorTheme;
1905
- readonly onDidColorThemeChange: Event$1<IColorTheme>;
1906
- getFileIconTheme(): IFileIconTheme;
1907
- readonly onDidFileIconThemeChange: Event$1<IFileIconTheme>;
1908
- getProductIconTheme(): IProductIconTheme;
1909
- readonly onDidProductIconThemeChange: Event$1<IProductIconTheme>;
1910
- }
1911
- /**
1912
- * Utility base class for all themable components.
1913
- */
1914
- declare class Themable extends Disposable {
1915
- protected themeService: IThemeService;
1916
- protected theme: IColorTheme;
1917
- constructor(themeService: IThemeService);
1918
- protected onThemeChange(theme: IColorTheme): void;
1919
- updateStyles(): void;
1920
- protected getColor(id: string, modify?: (color: Color, theme: IColorTheme) => Color): string | null;
1921
- }
1922
-
1923
- interface IBaseOpenWindowsOptions {
1924
- /**
1925
- * Whether to reuse the window or open a new one.
1926
- */
1927
- readonly forceReuseWindow?: boolean;
1928
- /**
1929
- * The remote authority to use when windows are opened with either
1930
- * - no workspace (empty window)
1931
- * - a workspace that is neither `file://` nor `vscode-remote://`
1932
- * Use 'null' for a local window.
1933
- * If not set, defaults to the remote authority of the current window.
1934
- */
1935
- readonly remoteAuthority?: string | null;
1936
- }
1937
- interface IOpenWindowOptions extends IBaseOpenWindowsOptions {
1938
- readonly forceNewWindow?: boolean;
1939
- readonly preferNewWindow?: boolean;
1940
- readonly noRecentEntry?: boolean;
1941
- readonly addMode?: boolean;
1942
- readonly diffMode?: boolean;
1943
- readonly mergeMode?: boolean;
1944
- readonly gotoLineMode?: boolean;
1945
- readonly waitMarkerFileURI?: URI;
1946
- readonly forceProfile?: string;
1947
- readonly forceTempProfile?: boolean;
1948
- }
1949
- interface IOpenEmptyWindowOptions extends IBaseOpenWindowsOptions {
1950
- }
1951
- type IWindowOpenable = IWorkspaceToOpen | IFolderToOpen | IFileToOpen;
1952
- interface IBaseWindowOpenable {
1953
- label?: string;
1954
- }
1955
- interface IWorkspaceToOpen extends IBaseWindowOpenable {
1956
- readonly workspaceUri: URI;
1957
- }
1958
- interface IFolderToOpen extends IBaseWindowOpenable {
1959
- readonly folderUri: URI;
1960
- }
1961
- interface IFileToOpen extends IBaseWindowOpenable {
1962
- readonly fileUri: URI;
1963
- }
1964
- interface IPath$1<T = IEditorOptions> extends IPathData<T> {
1965
- /**
1966
- * The file path to open within the instance
1967
- */
1968
- fileUri?: URI;
1969
- }
1970
- interface IPathData<T = IEditorOptions> {
1971
- /**
1972
- * The file path to open within the instance
1973
- */
1974
- readonly fileUri?: UriComponents;
1975
- /**
1976
- * Optional editor options to apply in the file
1977
- */
1978
- readonly options?: T;
1979
- /**
1980
- * A hint that the file exists. if true, the
1981
- * file exists, if false it does not. with
1982
- * `undefined` the state is unknown.
1983
- */
1984
- readonly exists?: boolean;
1985
- /**
1986
- * A hint about the file type of this path.
1987
- * with `undefined` the type is unknown.
1988
- */
1989
- readonly type?: FileType;
1990
- /**
1991
- * Specifies if the file should be only be opened
1992
- * if it exists.
1993
- */
1994
- readonly openOnlyIfExists?: boolean;
1113
+ readonly onAutoSaveConfigurationChange: Event<IAutoSaveConfiguration>;
1114
+ getAutoSaveConfiguration(): IAutoSaveConfiguration;
1115
+ getAutoSaveMode(): AutoSaveMode;
1116
+ toggleAutoSave(): Promise<void>;
1117
+ readonly onReadonlyChange: Event<void>;
1118
+ isReadonly(resource: URI, stat?: IBaseFileStat): boolean;
1119
+ updateReadonly(resource: URI, readonly: true | false | 'toggle' | 'reset'): Promise<void>;
1120
+ readonly onFilesAssociationChange: Event<void>;
1121
+ readonly isHotExitEnabled: boolean;
1122
+ readonly hotExitConfiguration: string | undefined;
1123
+ preventSaveConflicts(resource: URI, language?: string): boolean;
1995
1124
  }
1996
1125
 
1997
1126
  declare abstract class AbstractSettingsModel extends EditorModel {
@@ -2013,7 +1142,7 @@ declare abstract class AbstractSettingsModel extends EditorModel {
2013
1142
  declare class Settings2EditorModel extends AbstractSettingsModel implements ISettingsEditorModel {
2014
1143
  private _defaultSettings;
2015
1144
  private readonly _onDidChangeGroups;
2016
- readonly onDidChangeGroups: Event$1<void>;
1145
+ readonly onDidChangeGroups: Event<void>;
2017
1146
  private additionalGroups;
2018
1147
  private dirty;
2019
1148
  constructor(_defaultSettings: DefaultSettings, configurationService: IConfigurationService);
@@ -2033,7 +1162,7 @@ declare class DefaultSettings extends Disposable {
2033
1162
  private _contentWithoutMostCommonlyUsed;
2034
1163
  private _settingsByName;
2035
1164
  readonly _onDidChange: Emitter<void>;
2036
- readonly onDidChange: Event$1<void>;
1165
+ readonly onDidChange: Event<void>;
2037
1166
  constructor(_mostCommonlyUsedSettingsKeys: string[], target: ConfigurationTarget);
2038
1167
  getContent(forceUpdate?: boolean): string;
2039
1168
  getContentWithoutMostCommonlyUsed(forceUpdate?: boolean): string;
@@ -2180,7 +1309,7 @@ type ISettingMatcher = (setting: ISetting, group: ISettingsGroup) => {
2180
1309
  score: number;
2181
1310
  } | null;
2182
1311
  interface ISettingsEditorModel extends IPreferencesEditorModel<ISetting> {
2183
- readonly onDidChangeGroups: Event$1<void>;
1312
+ readonly onDidChangeGroups: Event<void>;
2184
1313
  settingsGroups: ISettingsGroup[];
2185
1314
  filterSettings(filter: string, groupFilter: IGroupFilter, settingMatcher: ISettingMatcher): ISettingMatch[];
2186
1315
  findValueMatches(filter: string, setting: ISetting): IRange[];
@@ -2231,7 +1360,7 @@ interface IPreferencesService {
2231
1360
  declare class DebugCompoundRoot {
2232
1361
  private stopped;
2233
1362
  private stopEmitter;
2234
- onDidSessionStop: Event$1<void>;
1363
+ onDidSessionStop: Event<void>;
2235
1364
  sessionStopped(): void;
2236
1365
  }
2237
1366
 
@@ -2405,7 +1534,7 @@ interface IMemoryRegion extends IDisposable {
2405
1534
  * Event that fires when memory changes. Can be a result of memory events or
2406
1535
  * `write` requests.
2407
1536
  */
2408
- readonly onDidInvalidate: Event$1<IMemoryInvalidationEvent>;
1537
+ readonly onDidInvalidate: Event<IMemoryInvalidationEvent>;
2409
1538
  /**
2410
1539
  * Whether writes are supported on this memory region.
2411
1540
  */
@@ -2460,7 +1589,7 @@ interface IDebugSession extends ITreeElement {
2460
1589
  setSubId(subId: string | undefined): void;
2461
1590
  getMemory(memoryReference: string): IMemoryRegion;
2462
1591
  setName(name: string): void;
2463
- readonly onDidChangeName: Event$1<string>;
1592
+ readonly onDidChangeName: Event<string>;
2464
1593
  getLabel(): string;
2465
1594
  getSourceForUri(modelUri: URI): Source | undefined;
2466
1595
  getSource(raw?: DebugProtocol.Source): Source;
@@ -2478,16 +1607,16 @@ interface IDebugSession extends ITreeElement {
2478
1607
  removeReplExpressions(): void;
2479
1608
  addReplExpression(stackFrame: IStackFrame | undefined, name: string): Promise<void>;
2480
1609
  appendToRepl(data: INewReplElementData): void;
2481
- readonly onDidEndAdapter: Event$1<AdapterEndEvent | undefined>;
2482
- readonly onDidChangeState: Event$1<void>;
2483
- readonly onDidChangeReplElements: Event$1<void>;
1610
+ readonly onDidEndAdapter: Event<AdapterEndEvent | undefined>;
1611
+ readonly onDidChangeState: Event<void>;
1612
+ readonly onDidChangeReplElements: Event<void>;
2484
1613
  readonly capabilities: DebugProtocol.Capabilities;
2485
- readonly onDidLoadedSource: Event$1<LoadedSourceEvent>;
2486
- readonly onDidCustomEvent: Event$1<DebugProtocol.Event>;
2487
- readonly onDidProgressStart: Event$1<DebugProtocol.ProgressStartEvent>;
2488
- readonly onDidProgressUpdate: Event$1<DebugProtocol.ProgressUpdateEvent>;
2489
- readonly onDidProgressEnd: Event$1<DebugProtocol.ProgressEndEvent>;
2490
- readonly onDidInvalidateMemory: Event$1<DebugProtocol.MemoryEvent>;
1614
+ readonly onDidLoadedSource: Event<LoadedSourceEvent>;
1615
+ readonly onDidCustomEvent: Event<DebugProtocol.Event>;
1616
+ readonly onDidProgressStart: Event<DebugProtocol.ProgressStartEvent>;
1617
+ readonly onDidProgressUpdate: Event<DebugProtocol.ProgressUpdateEvent>;
1618
+ readonly onDidProgressEnd: Event<DebugProtocol.ProgressEndEvent>;
1619
+ readonly onDidInvalidateMemory: Event<DebugProtocol.MemoryEvent>;
2491
1620
  initialize(dbgr: IDebugger): Promise<void>;
2492
1621
  launchOrAttach(config: IConfig): Promise<void>;
2493
1622
  restart(): Promise<void>;
@@ -2521,7 +1650,7 @@ interface IDebugSession extends ITreeElement {
2521
1650
  reverseContinue(threadId: number): Promise<void>;
2522
1651
  pause(threadId: number): Promise<void>;
2523
1652
  terminateThreads(threadIds: number[]): Promise<void>;
2524
- completions(frameId: number | undefined, threadId: number, text: string, position: Position$1, overwriteBefore: number, token: CancellationToken): Promise<DebugProtocol.CompletionsResponse | undefined>;
1653
+ completions(frameId: number | undefined, threadId: number, text: string, position: Position, overwriteBefore: number, token: CancellationToken): Promise<DebugProtocol.CompletionsResponse | undefined>;
2525
1654
  setVariable(variablesReference: number | undefined, name: string, value: string): Promise<DebugProtocol.SetVariableResponse | undefined>;
2526
1655
  setExpression(frameId: number, expression: string, value: string): Promise<DebugProtocol.SetExpressionResponse | undefined>;
2527
1656
  loadSource(resource: URI): Promise<DebugProtocol.SourceResponse | undefined>;
@@ -2689,23 +1818,23 @@ interface IViewModel extends ITreeElement {
2689
1818
  setSelectedExpression(expression: IExpression | undefined, settingWatch: boolean): void;
2690
1819
  updateViews(): void;
2691
1820
  isMultiSessionView(): boolean;
2692
- onDidFocusSession: Event$1<IDebugSession | undefined>;
2693
- onDidFocusThread: Event$1<{
1821
+ onDidFocusSession: Event<IDebugSession | undefined>;
1822
+ onDidFocusThread: Event<{
2694
1823
  thread: IThread | undefined;
2695
1824
  explicit: boolean;
2696
1825
  session: IDebugSession | undefined;
2697
1826
  }>;
2698
- onDidFocusStackFrame: Event$1<{
1827
+ onDidFocusStackFrame: Event<{
2699
1828
  stackFrame: IStackFrame | undefined;
2700
1829
  explicit: boolean;
2701
1830
  session: IDebugSession | undefined;
2702
1831
  }>;
2703
- onDidSelectExpression: Event$1<{
1832
+ onDidSelectExpression: Event<{
2704
1833
  expression: IExpression;
2705
1834
  settingWatch: boolean;
2706
1835
  } | undefined>;
2707
- onDidEvaluateLazyExpression: Event$1<IExpressionContainer>;
2708
- onWillUpdateViews: Event$1<void>;
1836
+ onDidEvaluateLazyExpression: Event<IExpressionContainer>;
1837
+ onWillUpdateViews: Event<void>;
2709
1838
  evaluateLazyExpression(expression: IExpressionContainer): void;
2710
1839
  }
2711
1840
  interface IEvaluate {
@@ -2735,9 +1864,9 @@ interface IDebugModel extends ITreeElement {
2735
1864
  getExceptionBreakpointsForSession(sessionId?: string): ReadonlyArray<IExceptionBreakpoint>;
2736
1865
  getInstructionBreakpoints(): ReadonlyArray<IInstructionBreakpoint>;
2737
1866
  getWatchExpressions(): ReadonlyArray<IExpression & IEvaluate>;
2738
- onDidChangeBreakpoints: Event$1<IBreakpointsChangeEvent | undefined>;
2739
- onDidChangeCallStack: Event$1<void>;
2740
- onDidChangeWatchExpressions: Event$1<IExpression | undefined>;
1867
+ onDidChangeBreakpoints: Event<IBreakpointsChangeEvent | undefined>;
1868
+ onDidChangeCallStack: Event<void>;
1869
+ onDidChangeWatchExpressions: Event<IExpression | undefined>;
2741
1870
  fetchCallstack(thread: IThread, levels?: number): Promise<void>;
2742
1871
  }
2743
1872
  /**
@@ -2789,8 +1918,8 @@ interface ICompound {
2789
1918
  presentation?: IConfigPresentation;
2790
1919
  }
2791
1920
  interface IDebugAdapter extends IDisposable {
2792
- readonly onError: Event$1<Error>;
2793
- readonly onExit: Event$1<number | null>;
1921
+ readonly onError: Event<Error>;
1922
+ readonly onExit: Event<number | null>;
2794
1923
  onRequest(callback: (request: DebugProtocol.Request) => void): void;
2795
1924
  onEvent(callback: (event: DebugProtocol.Event) => void): void;
2796
1925
  startSession(): Promise<void>;
@@ -2825,7 +1954,7 @@ interface IDebugAdapterNamedPipeServer {
2825
1954
  readonly path: string;
2826
1955
  }
2827
1956
  interface IDebugAdapterInlineImpl extends IDisposable {
2828
- readonly onDidSendMessage: Event$1<DebugProtocol.Message>;
1957
+ readonly onDidSendMessage: Event<DebugProtocol.Message>;
2829
1958
  handleMessage(message: DebugProtocol.Message): void;
2830
1959
  }
2831
1960
  interface IDebugAdapterImpl {
@@ -2885,7 +2014,7 @@ interface IConfigurationManager {
2885
2014
  /**
2886
2015
  * Allows to register on change of selected debug configuration.
2887
2016
  */
2888
- onDidSelectConfiguration: Event$1<void>;
2017
+ onDidSelectConfiguration: Event<void>;
2889
2018
  hasDebugConfigurationProvider(debugType: string): boolean;
2890
2019
  getDynamicProviders(): Promise<{
2891
2020
  label: string;
@@ -2903,7 +2032,7 @@ declare enum DebuggerString {
2903
2032
  UnverifiedBreakpoints = "unverifiedBreakpoints"
2904
2033
  }
2905
2034
  interface IAdapterManager {
2906
- onDidRegisterDebugger: Event$1<void>;
2035
+ onDidRegisterDebugger: Event<void>;
2907
2036
  hasEnabledDebuggers(): boolean;
2908
2037
  getDebugAdapterDescriptor(session: IDebugSession): Promise<IAdapterDescriptor | undefined>;
2909
2038
  getDebuggerLabel(type: string): string | undefined;
@@ -2918,7 +2047,7 @@ interface IAdapterManager {
2918
2047
  runInTerminal(debugType: string, args: DebugProtocol.RunInTerminalRequestArguments, sessionId: string): Promise<number | undefined>;
2919
2048
  getEnabledDebugger(type: string): (IDebugger & IDebuggerMetadata) | undefined;
2920
2049
  guessDebugger(gettingConfigurations: boolean): Promise<(IDebugger & IDebuggerMetadata) | undefined>;
2921
- get onDidDebuggersExtPointRead(): Event$1<void>;
2050
+ get onDidDebuggersExtPointRead(): Event<void>;
2922
2051
  }
2923
2052
  interface ILaunch {
2924
2053
  /**
@@ -2975,19 +2104,19 @@ interface IDebugService {
2975
2104
  /**
2976
2105
  * Allows to register on debug state changes.
2977
2106
  */
2978
- onDidChangeState: Event$1<State>;
2107
+ onDidChangeState: Event<State>;
2979
2108
  /**
2980
2109
  * Allows to register on new session events.
2981
2110
  */
2982
- onDidNewSession: Event$1<IDebugSession>;
2111
+ onDidNewSession: Event<IDebugSession>;
2983
2112
  /**
2984
2113
  * Allows to register on sessions about to be created (not yet fully initialised)
2985
2114
  */
2986
- onWillNewSession: Event$1<IDebugSession>;
2115
+ onWillNewSession: Event<IDebugSession>;
2987
2116
  /**
2988
2117
  * Allows to register on end session events.
2989
2118
  */
2990
- onDidEndSession: Event$1<IDebugSession>;
2119
+ onDidEndSession: Event<IDebugSession>;
2991
2120
  /**
2992
2121
  * Gets the configuration manager.
2993
2122
  */
@@ -3142,7 +2271,7 @@ interface ILanguageStatus {
3142
2271
  declare const ILanguageStatusService: ServiceIdentifier<ILanguageStatusService>;
3143
2272
  interface ILanguageStatusService {
3144
2273
  _serviceBrand: undefined;
3145
- onDidChange: Event$1<void>;
2274
+ onDidChange: Event<void>;
3146
2275
  addStatus(status: ILanguageStatus): IDisposable;
3147
2276
  getLanguageStatus(model: ITextModel): ILanguageStatus[];
3148
2277
  }
@@ -3178,7 +2307,7 @@ interface IOutputService {
3178
2307
  /**
3179
2308
  * Allows to register on active output channel change.
3180
2309
  */
3181
- onActiveOutputChannel: Event$1<string>;
2310
+ onActiveOutputChannel: Event<string>;
3182
2311
  }
3183
2312
  declare enum OutputChannelUpdateMode {
3184
2313
  Append = 1,
@@ -3229,31 +2358,6 @@ interface IOutputChannelDescriptor {
3229
2358
  extensionId?: string;
3230
2359
  }
3231
2360
 
3232
- declare const IWorkbenchEnvironmentService: ServiceIdentifier<IWorkbenchEnvironmentService>;
3233
- /**
3234
- * A workbench specific environment service that is only present in workbench
3235
- * layer.
3236
- */
3237
- interface IWorkbenchEnvironmentService extends IEnvironmentService {
3238
- readonly logFile: URI;
3239
- readonly windowLogsPath: URI;
3240
- readonly extHostLogsPath: URI;
3241
- readonly extHostTelemetryLogFile: URI;
3242
- readonly extensionEnabledProposedApi?: string[];
3243
- readonly remoteAuthority?: string;
3244
- readonly skipReleaseNotes: boolean;
3245
- readonly skipWelcome: boolean;
3246
- readonly disableWorkspaceTrust: boolean;
3247
- readonly webviewExternalEndpoint: string;
3248
- readonly debugRenderer: boolean;
3249
- readonly logExtensionHostCommunication?: boolean;
3250
- readonly enableSmokeTestDriver?: boolean;
3251
- readonly profDurationMarkers?: string[];
3252
- readonly filesToOpenOrCreate?: IPath$1[] | undefined;
3253
- readonly filesToDiff?: IPath$1[] | undefined;
3254
- readonly filesToMerge?: IPath$1[] | undefined;
3255
- }
3256
-
3257
2361
  interface ParsedPath {
3258
2362
  root: string;
3259
2363
  dir: string;
@@ -3338,100 +2442,6 @@ interface IPathService {
3338
2442
  readonly resolvedUserHome: URI | undefined;
3339
2443
  }
3340
2444
 
3341
- type OpenInternalOptions = {
3342
- /**
3343
- * Signals that the intent is to open an editor to the side
3344
- * of the currently active editor.
3345
- */
3346
- readonly openToSide?: boolean;
3347
- /**
3348
- * Extra editor options to apply in case an editor is used to open.
3349
- */
3350
- readonly editorOptions?: IEditorOptions;
3351
- /**
3352
- * Signals that the editor to open was triggered through a user
3353
- * action, such as keyboard or mouse usage.
3354
- */
3355
- readonly fromUserGesture?: boolean;
3356
- /**
3357
- * Allow command links to be handled.
3358
- *
3359
- * If this is an array, then only the commands included in the array can be run.
3360
- */
3361
- readonly allowCommands?: boolean | readonly string[];
3362
- };
3363
- type OpenExternalOptions = {
3364
- readonly openExternal?: boolean;
3365
- readonly allowTunneling?: boolean;
3366
- readonly allowContributedOpeners?: boolean | string;
3367
- readonly fromWorkspace?: boolean;
3368
- };
3369
- type OpenOptions = OpenInternalOptions & OpenExternalOptions;
3370
- type ResolveExternalUriOptions = {
3371
- readonly allowTunneling?: boolean;
3372
- };
3373
- interface IResolvedExternalUri extends IDisposable {
3374
- resolved: URI;
3375
- }
3376
- interface IOpener {
3377
- open(resource: URI | string, options?: OpenInternalOptions | OpenExternalOptions): Promise<boolean>;
3378
- }
3379
- interface IExternalOpener {
3380
- openExternal(href: string, ctx: {
3381
- sourceUri: URI;
3382
- preferredOpenerId?: string;
3383
- }, token: CancellationToken): Promise<boolean>;
3384
- dispose?(): void;
3385
- }
3386
- interface IValidator {
3387
- shouldOpen(resource: URI | string, openOptions?: OpenOptions): Promise<boolean>;
3388
- }
3389
- interface IExternalUriResolver {
3390
- resolveExternalUri(resource: URI, options?: OpenOptions): Promise<{
3391
- resolved: URI;
3392
- dispose(): void;
3393
- } | undefined>;
3394
- }
3395
-
3396
- declare const IOpenerService: ServiceIdentifier<IOpenerService>;
3397
- interface IOpenerService {
3398
- readonly _serviceBrand: undefined;
3399
- /**
3400
- * Register a participant that can handle the open() call.
3401
- */
3402
- registerOpener(opener: IOpener): IDisposable;
3403
- /**
3404
- * Register a participant that can validate if the URI resource be opened.
3405
- * Validators are run before openers.
3406
- */
3407
- registerValidator(validator: IValidator): IDisposable;
3408
- /**
3409
- * Register a participant that can resolve an external URI resource to be opened.
3410
- */
3411
- registerExternalUriResolver(resolver: IExternalUriResolver): IDisposable;
3412
- /**
3413
- * Sets the handler for opening externally. If not provided,
3414
- * a default handler will be used.
3415
- */
3416
- setDefaultExternalOpener(opener: IExternalOpener): void;
3417
- /**
3418
- * Registers a new opener external resources openers.
3419
- */
3420
- registerExternalOpener(opener: IExternalOpener): IDisposable;
3421
- /**
3422
- * Opens a resource, like a webaddress, a document uri, or executes command.
3423
- *
3424
- * @param resource A resource
3425
- * @return A promise that resolves when the opening is done.
3426
- */
3427
- open(resource: URI | string, options?: OpenInternalOptions | OpenExternalOptions): Promise<boolean>;
3428
- /**
3429
- * Resolve a resource to its external form.
3430
- * @throws whenever resolvers couldn't resolve this resource externally.
3431
- */
3432
- resolveExternalUri(resource: URI, options?: ResolveExternalUriOptions): Promise<IResolvedExternalUri>;
3433
- }
3434
-
3435
2445
  declare const IHostService: ServiceIdentifier<IHostService>;
3436
2446
  /**
3437
2447
  * A set of methods supported in both web and native environments.
@@ -3444,7 +2454,7 @@ interface IHostService {
3444
2454
  /**
3445
2455
  * Emitted when the window focus changes.
3446
2456
  */
3447
- readonly onDidChangeFocus: Event$1<boolean>;
2457
+ readonly onDidChangeFocus: Event<boolean>;
3448
2458
  /**
3449
2459
  * Find out if the window has focus or not.
3450
2460
  */
@@ -3532,50 +2542,19 @@ interface IUnicodeHighlightsResult {
3532
2542
  ambiguousCharacterCount: number;
3533
2543
  }
3534
2544
 
3535
- interface IKeyboardEvent {
3536
- readonly _standardKeyboardEventBrand: true;
3537
- readonly browserEvent: KeyboardEvent;
3538
- readonly target: HTMLElement;
3539
- readonly ctrlKey: boolean;
3540
- readonly shiftKey: boolean;
3541
- readonly altKey: boolean;
3542
- readonly metaKey: boolean;
3543
- readonly altGraphKey: boolean;
3544
- readonly keyCode: KeyCode;
3545
- readonly code: string;
3546
- /**
3547
- * @internal
3548
- */
3549
- toKeyCodeChord(): KeyCodeChord;
3550
- equals(keybinding: number): boolean;
3551
- preventDefault(): void;
3552
- stopPropagation(): void;
3553
- }
3554
-
3555
- interface IMouseEvent {
3556
- readonly browserEvent: MouseEvent;
3557
- readonly leftButton: boolean;
3558
- readonly middleButton: boolean;
3559
- readonly rightButton: boolean;
3560
- readonly buttons: number;
3561
- readonly target: HTMLElement;
3562
- readonly detail: number;
3563
- readonly posx: number;
3564
- readonly posy: number;
3565
- readonly ctrlKey: boolean;
3566
- readonly shiftKey: boolean;
3567
- readonly altKey: boolean;
3568
- readonly metaKey: boolean;
3569
- readonly timestamp: number;
3570
- preventDefault(): void;
3571
- stopPropagation(): void;
3572
- }
3573
-
3574
2545
  declare class ResourceEdit {
3575
2546
  readonly metadata?: WorkspaceEditMetadata | undefined;
3576
2547
  protected constructor(metadata?: WorkspaceEditMetadata | undefined);
3577
2548
  static convert(edit: WorkspaceEdit): ResourceEdit[];
3578
2549
  }
2550
+ declare class ResourceFileEdit extends ResourceEdit implements IWorkspaceFileEdit {
2551
+ readonly oldResource: URI | undefined;
2552
+ readonly newResource: URI | undefined;
2553
+ readonly options: WorkspaceFileEditOptions;
2554
+ static is(candidate: any): candidate is IWorkspaceFileEdit;
2555
+ static lift(edit: IWorkspaceFileEdit): ResourceFileEdit;
2556
+ constructor(oldResource: URI | undefined, newResource: URI | undefined, options?: WorkspaceFileEditOptions, metadata?: WorkspaceEditMetadata);
2557
+ }
3579
2558
  interface IBulkEditOptions {
3580
2559
  editor?: ICodeEditor;
3581
2560
  progress?: IProgress<IProgressStep>;
@@ -3636,1330 +2615,17 @@ interface IClipboardService {
3636
2615
  hasResources(): Promise<boolean>;
3637
2616
  }
3638
2617
 
3639
- interface IDimension {
3640
- readonly width: number;
3641
- readonly height: number;
3642
- }
3643
- declare class Dimension implements IDimension {
3644
- readonly width: number;
3645
- readonly height: number;
3646
- static readonly None: Dimension;
3647
- constructor(width: number, height: number);
3648
- with(width?: number, height?: number): Dimension;
3649
- static is(obj: unknown): obj is IDimension;
3650
- static lift(obj: IDimension): Dimension;
3651
- static equals(a: Dimension | undefined, b: Dimension | undefined): boolean;
3652
- }
3653
- interface IDomPosition {
3654
- readonly left: number;
3655
- readonly top: number;
3656
- }
3657
-
3658
- interface ILayoutOffsetInfo {
3659
- /**
3660
- * Generic top offset
3661
- */
3662
- readonly top: number;
3663
- /**
3664
- * Quick pick specific top offset.
3665
- */
3666
- readonly quickPickTop: number;
3667
- }
3668
-
3669
- declare const ILayoutService: ServiceIdentifier<ILayoutService>;
3670
- interface ILayoutService {
3671
- readonly _serviceBrand: undefined;
3672
- /**
3673
- * The dimensions of the container.
3674
- */
3675
- readonly dimension: IDimension;
3676
- /**
3677
- * Does the application have a single container?
3678
- */
3679
- readonly hasContainer: boolean;
3680
- /**
3681
- * Container of the application.
3682
- *
3683
- * **NOTE**: In the standalone editor case, multiple editors can be created on a page.
3684
- * Therefore, in the standalone editor case, there are multiple containers, not just
3685
- * a single one. If you ship code that needs a "container" for the standalone editor,
3686
- * please use `ICodeEditorService` to get the current focused code editor and use its
3687
- * container if necessary. You can also instantiate `EditorScopedLayoutService`
3688
- * which implements `ILayoutService` but is not a part of the service collection because
3689
- * it is code editor instance specific.
3690
- *
3691
- */
3692
- readonly container: HTMLElement;
3693
- /**
3694
- * An offset to use for positioning elements inside the container.
3695
- */
3696
- readonly offset: ILayoutOffsetInfo;
3697
- /**
3698
- * An event that is emitted when the container is layed out. The
3699
- * event carries the dimensions of the container as part of it.
3700
- */
3701
- readonly onDidLayout: Event$1<IDimension>;
3702
- /**
3703
- * Focus the primary component of the container.
3704
- */
3705
- focus(): void;
3706
- }
3707
-
3708
- type MementoObject = {
3709
- [key: string]: any;
3710
- };
3711
-
3712
- declare class Component extends Themable {
3713
- private readonly id;
3714
- private readonly memento;
3715
- constructor(id: string, themeService: IThemeService, storageService: IStorageService);
3716
- getId(): string;
3717
- protected getMemento(scope: StorageScope, target: StorageTarget): MementoObject;
3718
- protected saveState(): void;
3719
- }
3720
-
3721
- declare const enum LayoutPriority {
3722
- Normal = 0,
3723
- Low = 1,
3724
- High = 2
3725
- }
3726
- /**
3727
- * The interface to implement for views within a {@link SplitView}.
3728
- *
3729
- * An optional {@link TLayoutContext layout context type} may be used in order to
3730
- * pass along layout contextual data from the {@link SplitView.layout} method down
3731
- * to each view's {@link IView.layout} calls.
3732
- */
3733
- interface IView$2<TLayoutContext = undefined> {
3734
- /**
3735
- * The DOM element for this view.
3736
- */
3737
- readonly element: HTMLElement;
3738
- /**
3739
- * A minimum size for this view.
3740
- *
3741
- * @remarks If none, set it to `0`.
3742
- */
3743
- readonly minimumSize: number;
3744
- /**
3745
- * A maximum size for this view.
3746
- *
3747
- * @remarks If none, set it to `Number.POSITIVE_INFINITY`.
3748
- */
3749
- readonly maximumSize: number;
3750
- /**
3751
- * The priority of the view when the {@link SplitView.resize layout} algorithm
3752
- * runs. Views with higher priority will be resized first.
3753
- *
3754
- * @remarks Only used when `proportionalLayout` is false.
3755
- */
3756
- readonly priority?: LayoutPriority;
3757
- /**
3758
- * If the {@link SplitView} supports {@link ISplitViewOptions.proportionalLayout proportional layout},
3759
- * this property allows for finer control over the proportional layout algorithm, per view.
3760
- *
3761
- * @defaultValue `true`
3762
- */
3763
- readonly proportionalLayout?: boolean;
3764
- /**
3765
- * Whether the view will snap whenever the user reaches its minimum size or
3766
- * attempts to grow it beyond the minimum size.
3767
- *
3768
- * @defaultValue `false`
3769
- */
3770
- readonly snap?: boolean;
3771
- /**
3772
- * View instances are supposed to fire the {@link IView.onDidChange} event whenever
3773
- * any of the constraint properties have changed:
3774
- *
3775
- * - {@link IView.minimumSize}
3776
- * - {@link IView.maximumSize}
3777
- * - {@link IView.priority}
3778
- * - {@link IView.snap}
3779
- *
3780
- * The SplitView will relayout whenever that happens. The event can optionally emit
3781
- * the view's preferred size for that relayout.
3782
- */
3783
- readonly onDidChange: Event$1<number | undefined>;
3784
- /**
3785
- * This will be called by the {@link SplitView} during layout. A view meant to
3786
- * pass along the layout information down to its descendants.
3787
- *
3788
- * @param size The size of this view, in pixels.
3789
- * @param offset The offset of this view, relative to the start of the {@link SplitView}.
3790
- * @param context The optional {@link IView layout context} passed to {@link SplitView.layout}.
3791
- */
3792
- layout(size: number, offset: number, context: TLayoutContext | undefined): void;
3793
- /**
3794
- * This will be called by the {@link SplitView} whenever this view is made
3795
- * visible or hidden.
3796
- *
3797
- * @param visible Whether the view becomes visible.
3798
- */
3799
- setVisible?(visible: boolean): void;
3800
- }
3801
-
3802
- interface IViewSize {
3803
- readonly width: number;
3804
- readonly height: number;
3805
- }
3806
- /**
3807
- * The interface to implement for views within a {@link GridView}.
3808
- */
3809
- interface IView$1 {
3810
- /**
3811
- * The DOM element for this view.
3812
- */
3813
- readonly element: HTMLElement;
3814
- /**
3815
- * A minimum width for this view.
3816
- *
3817
- * @remarks If none, set it to `0`.
3818
- */
3819
- readonly minimumWidth: number;
3820
- /**
3821
- * A minimum width for this view.
3822
- *
3823
- * @remarks If none, set it to `Number.POSITIVE_INFINITY`.
3824
- */
3825
- readonly maximumWidth: number;
3826
- /**
3827
- * A minimum height for this view.
3828
- *
3829
- * @remarks If none, set it to `0`.
3830
- */
3831
- readonly minimumHeight: number;
3832
- /**
3833
- * A minimum height for this view.
3834
- *
3835
- * @remarks If none, set it to `Number.POSITIVE_INFINITY`.
3836
- */
3837
- readonly maximumHeight: number;
3838
- /**
3839
- * The priority of the view when the {@link GridView} layout algorithm
3840
- * runs. Views with higher priority will be resized first.
3841
- *
3842
- * @remarks Only used when `proportionalLayout` is false.
3843
- */
3844
- readonly priority?: LayoutPriority;
3845
- /**
3846
- * If the {@link GridView} supports proportional layout,
3847
- * this property allows for finer control over the proportional layout algorithm, per view.
3848
- *
3849
- * @defaultValue `true`
3850
- */
3851
- readonly proportionalLayout?: boolean;
3852
- /**
3853
- * Whether the view will snap whenever the user reaches its minimum size or
3854
- * attempts to grow it beyond the minimum size.
3855
- *
3856
- * @defaultValue `false`
3857
- */
3858
- readonly snap?: boolean;
3859
- /**
3860
- * View instances are supposed to fire this event whenever any of the constraint
3861
- * properties have changed:
3862
- *
3863
- * - {@link IView.minimumWidth}
3864
- * - {@link IView.maximumWidth}
3865
- * - {@link IView.minimumHeight}
3866
- * - {@link IView.maximumHeight}
3867
- * - {@link IView.priority}
3868
- * - {@link IView.snap}
3869
- *
3870
- * The {@link GridView} will relayout whenever that happens. The event can
3871
- * optionally emit the view's preferred size for that relayout.
3872
- */
3873
- readonly onDidChange: Event$1<IViewSize | undefined>;
3874
- /**
3875
- * This will be called by the {@link GridView} during layout. A view meant to
3876
- * pass along the layout information down to its descendants.
3877
- */
3878
- layout(width: number, height: number, top: number, left: number): void;
3879
- /**
3880
- * This will be called by the {@link GridView} whenever this view is made
3881
- * visible or hidden.
3882
- *
3883
- * @param visible Whether the view becomes visible.
3884
- */
3885
- setVisible?(visible: boolean): void;
3886
- /**
3887
- * This will be called by the {@link GridView} whenever this view is on
3888
- * an edge of the grid and the grid's
3889
- * {@link GridView.boundarySashes boundary sashes} change.
3890
- */
3891
- setBoundarySashes?(sashes: IBoundarySashes): void;
3892
- }
3893
-
3894
- declare const enum Direction {
3895
- Up = 0,
3896
- Down = 1,
3897
- Left = 2,
3898
- Right = 3
3899
- }
3900
- /**
3901
- * The interface to implement for views within a {@link Grid}.
3902
- */
3903
- interface IView extends IView$1 {
3904
- /**
3905
- * The preferred width for when the user double clicks a sash
3906
- * adjacent to this view.
3907
- */
3908
- readonly preferredWidth?: number;
3909
- /**
3910
- * The preferred height for when the user double clicks a sash
3911
- * adjacent to this view.
3912
- */
3913
- readonly preferredHeight?: number;
3914
- }
3915
- interface ISerializableView extends IView {
3916
- toJSON(): object;
3917
- }
3918
-
3919
- interface IPartOptions {
3920
- readonly hasTitle?: boolean;
3921
- readonly borderWidth?: () => number;
3922
- }
3923
- interface ILayoutContentResult {
3924
- readonly titleSize: IDimension;
3925
- readonly contentSize: IDimension;
3926
- }
3927
- /**
3928
- * Parts are layed out in the workbench and have their own layout that
3929
- * arranges an optional title and mandatory content area to show content.
3930
- */
3931
- declare abstract class Part extends Component implements ISerializableView {
3932
- private options;
3933
- protected readonly layoutService: IWorkbenchLayoutService;
3934
- private _dimension;
3935
- get dimension(): Dimension | undefined;
3936
- protected _onDidVisibilityChange: Emitter<boolean>;
3937
- readonly onDidVisibilityChange: Event$1<boolean>;
3938
- private parent;
3939
- private titleArea;
3940
- private contentArea;
3941
- private partLayout;
3942
- constructor(id: string, options: IPartOptions, themeService: IThemeService, storageService: IStorageService, layoutService: IWorkbenchLayoutService);
3943
- protected onThemeChange(theme: IColorTheme): void;
3944
- updateStyles(): void;
3945
- /**
3946
- * Note: Clients should not call this method, the workbench calls this
3947
- * method. Calling it otherwise may result in unexpected behavior.
3948
- *
3949
- * Called to create title and content area of the part.
3950
- */
3951
- create(parent: HTMLElement, options?: object): void;
3952
- /**
3953
- * Returns the overall part container.
3954
- */
3955
- getContainer(): HTMLElement | undefined;
3956
- /**
3957
- * Subclasses override to provide a title area implementation.
3958
- */
3959
- protected createTitleArea(parent: HTMLElement, options?: object): HTMLElement | undefined;
3960
- /**
3961
- * Returns the title area container.
3962
- */
3963
- protected getTitleArea(): HTMLElement | undefined;
3964
- /**
3965
- * Subclasses override to provide a content area implementation.
3966
- */
3967
- protected createContentArea(parent: HTMLElement, options?: object): HTMLElement | undefined;
3968
- /**
3969
- * Returns the content area container.
3970
- */
3971
- protected getContentArea(): HTMLElement | undefined;
3972
- /**
3973
- * Layout title and content area in the given dimension.
3974
- */
3975
- protected layoutContents(width: number, height: number): ILayoutContentResult;
3976
- protected _onDidChange: Emitter<IViewSize | undefined>;
3977
- get onDidChange(): Event$1<IViewSize | undefined>;
3978
- element: HTMLElement;
3979
- abstract minimumWidth: number;
3980
- abstract maximumWidth: number;
3981
- abstract minimumHeight: number;
3982
- abstract maximumHeight: number;
3983
- layout(width: number, height: number, _top: number, _left: number): void;
3984
- setVisible(visible: boolean): void;
3985
- abstract toJSON(): object;
3986
- }
3987
-
3988
- declare const enum Parts {
3989
- TITLEBAR_PART = "workbench.parts.titlebar",
3990
- BANNER_PART = "workbench.parts.banner",
3991
- ACTIVITYBAR_PART = "workbench.parts.activitybar",
3992
- SIDEBAR_PART = "workbench.parts.sidebar",
3993
- PANEL_PART = "workbench.parts.panel",
3994
- AUXILIARYBAR_PART = "workbench.parts.auxiliarybar",
3995
- EDITOR_PART = "workbench.parts.editor",
3996
- STATUSBAR_PART = "workbench.parts.statusbar"
3997
- }
3998
- declare const enum Position {
3999
- LEFT = 0,
4000
- RIGHT = 1,
4001
- BOTTOM = 2
4002
- }
4003
- type PanelAlignment = 'left' | 'center' | 'right' | 'justify';
4004
-
4005
- declare const IWorkbenchLayoutService: ServiceIdentifier<IWorkbenchLayoutService>;
4006
- interface IWorkbenchLayoutService extends ILayoutService {
4007
- readonly _serviceBrand: undefined;
4008
- /**
4009
- * Emits when the zen mode is enabled or disabled.
4010
- */
4011
- readonly onDidChangeZenMode: Event$1<boolean>;
4012
- /**
4013
- * Emits when fullscreen is enabled or disabled.
4014
- */
4015
- readonly onDidChangeFullscreen: Event$1<boolean>;
4016
- /**
4017
- * Emits when the window is maximized or unmaximized.
4018
- */
4019
- readonly onDidChangeWindowMaximized: Event$1<boolean>;
4020
- /**
4021
- * Emits when centered layout is enabled or disabled.
4022
- */
4023
- readonly onDidChangeCenteredLayout: Event$1<boolean>;
4024
- readonly onDidChangePanelPosition: Event$1<string>;
4025
- /**
4026
- * Emit when panel alignment changes.
4027
- */
4028
- readonly onDidChangePanelAlignment: Event$1<PanelAlignment>;
4029
- /**
4030
- * Emit when part visibility changes
4031
- */
4032
- readonly onDidChangePartVisibility: Event$1<void>;
4033
- /**
4034
- * Emit when notifications (toasts or center) visibility changes.
4035
- */
4036
- readonly onDidChangeNotificationsVisibility: Event$1<boolean>;
4037
- /**
4038
- * True if a default layout with default editors was applied at startup
4039
- */
4040
- readonly openedDefaultEditors: boolean;
4041
- /**
4042
- * Run a layout of the workbench.
4043
- */
4044
- layout(): void;
4045
- /**
4046
- * Asks the part service if all parts have been fully restored. For editor part
4047
- * this means that the contents of visible editors have loaded.
4048
- */
4049
- isRestored(): boolean;
4050
- /**
4051
- * A promise for to await the `isRestored()` condition to be `true`.
4052
- */
4053
- readonly whenRestored: Promise<void>;
4054
- /**
4055
- * Returns whether the given part has the keyboard focus or not.
4056
- */
4057
- hasFocus(part: Parts): boolean;
4058
- /**
4059
- * Focuses the part. If the part is not visible this is a noop.
4060
- */
4061
- focusPart(part: Parts): void;
4062
- /**
4063
- * Returns the parts HTML element, if there is one.
4064
- */
4065
- getContainer(part: Parts): HTMLElement | undefined;
4066
- /**
4067
- * Returns if the part is visible.
4068
- */
4069
- isVisible(part: Parts): boolean;
4070
- /**
4071
- * Returns if the part is visible.
4072
- */
4073
- getDimension(part: Parts): Dimension | undefined;
4074
- /**
4075
- * Set part hidden or not
4076
- */
4077
- setPartHidden(hidden: boolean, part: Exclude<Parts, Parts.STATUSBAR_PART | Parts.TITLEBAR_PART>): void;
4078
- /**
4079
- * Maximizes the panel height if the panel is not already maximized.
4080
- * Shrinks the panel to the default starting size if the panel is maximized.
4081
- */
4082
- toggleMaximizedPanel(): void;
4083
- /**
4084
- * Returns true if the window has a border.
4085
- */
4086
- hasWindowBorder(): boolean;
4087
- /**
4088
- * Returns the window border width.
4089
- */
4090
- getWindowBorderWidth(): number;
4091
- /**
4092
- * Returns the window border radius if any.
4093
- */
4094
- getWindowBorderRadius(): string | undefined;
4095
- /**
4096
- * Returns true if the panel is maximized.
4097
- */
4098
- isPanelMaximized(): boolean;
4099
- /**
4100
- * Gets the current side bar position. Note that the sidebar can be hidden too.
4101
- */
4102
- getSideBarPosition(): Position;
4103
- /**
4104
- * Toggles the menu bar visibility.
4105
- */
4106
- toggleMenuBar(): void;
4107
- getPanelPosition(): Position;
4108
- /**
4109
- * Sets the panel position.
4110
- */
4111
- setPanelPosition(position: Position): void;
4112
- /**
4113
- * Gets the panel alignement.
4114
- */
4115
- getPanelAlignment(): PanelAlignment;
4116
- /**
4117
- * Sets the panel alignment.
4118
- */
4119
- setPanelAlignment(alignment: PanelAlignment): void;
4120
- /**
4121
- * Gets the maximum possible size for editor.
4122
- */
4123
- getMaximumEditorDimensions(): Dimension;
4124
- /**
4125
- * Toggles the workbench in and out of zen mode - parts get hidden and window goes fullscreen.
4126
- */
4127
- toggleZenMode(): void;
4128
- /**
4129
- * Returns whether the centered editor layout is active.
4130
- */
4131
- isEditorLayoutCentered(): boolean;
4132
- /**
4133
- * Sets the workbench in and out of centered editor layout.
4134
- */
4135
- centerEditorLayout(active: boolean): void;
4136
- /**
4137
- * Resizes currently focused part on main access
4138
- */
4139
- resizePart(part: Parts, sizeChangeWidth: number, sizeChangeHeight: number): void;
4140
- /**
4141
- * Register a part to participate in the layout.
4142
- */
4143
- registerPart(part: Part): void;
4144
- /**
4145
- * Returns whether the window is maximized.
4146
- */
4147
- isWindowMaximized(): boolean;
4148
- /**
4149
- * Updates the maximized state of the window.
4150
- */
4151
- updateWindowMaximizedState(maximized: boolean): void;
4152
- /**
4153
- * Returns the next visible view part in a given direction
4154
- */
4155
- getVisibleNeighborPart(part: Parts, direction: Direction): Parts | undefined;
4156
- }
4157
-
4158
- interface IAnchor {
4159
- x: number;
4160
- y: number;
4161
- width?: number;
4162
- height?: number;
4163
- }
4164
- declare const enum AnchorAlignment {
4165
- LEFT = 0,
4166
- RIGHT = 1
4167
- }
4168
- declare const enum AnchorPosition {
4169
- BELOW = 0,
4170
- ABOVE = 1
4171
- }
4172
- declare const enum AnchorAxisAlignment {
4173
- VERTICAL = 0,
4174
- HORIZONTAL = 1
4175
- }
4176
- interface IDelegate {
4177
- getAnchor(): HTMLElement | IAnchor;
4178
- render(container: HTMLElement): IDisposable | null;
4179
- focus?(): void;
4180
- layout?(): void;
4181
- anchorAlignment?: AnchorAlignment;
4182
- anchorPosition?: AnchorPosition;
4183
- anchorAxisAlignment?: AnchorAxisAlignment;
4184
- canRelayout?: boolean;
4185
- onDOMEvent?(e: Event, activeElement: HTMLElement): void;
4186
- onHide?(data?: unknown): void;
4187
- }
4188
- interface IContextViewProvider {
4189
- showContextView(delegate: IDelegate, container?: HTMLElement): void;
4190
- hideContextView(): void;
4191
- layout(): void;
4192
- }
4193
-
4194
- declare abstract class Widget extends Disposable {
4195
- protected onclick(domNode: HTMLElement, listener: (e: IMouseEvent) => void): void;
4196
- protected onmousedown(domNode: HTMLElement, listener: (e: IMouseEvent) => void): void;
4197
- protected onmouseover(domNode: HTMLElement, listener: (e: IMouseEvent) => void): void;
4198
- protected onmouseleave(domNode: HTMLElement, listener: (e: IMouseEvent) => void): void;
4199
- protected onkeydown(domNode: HTMLElement, listener: (e: IKeyboardEvent) => void): void;
4200
- protected onkeyup(domNode: HTMLElement, listener: (e: IKeyboardEvent) => void): void;
4201
- protected oninput(domNode: HTMLElement, listener: (e: Event) => void): void;
4202
- protected onblur(domNode: HTMLElement, listener: (e: Event) => void): void;
4203
- protected onfocus(domNode: HTMLElement, listener: (e: Event) => void): void;
4204
- protected onchange(domNode: HTMLElement, listener: (e: Event) => void): void;
4205
- protected ignoreGesture(domNode: HTMLElement): IDisposable;
4206
- }
4207
-
4208
- declare const enum HoverPosition {
4209
- LEFT = 0,
4210
- RIGHT = 1,
4211
- BELOW = 2,
4212
- ABOVE = 3
4213
- }
4214
-
4215
- /**
4216
- * Copied from src\vs\workbench\services\hover\browser\hover.ts
4217
- * @deprecated Use IHoverService
4218
- */
4219
- interface IHoverAction {
4220
- label: string;
4221
- commandId: string;
4222
- iconClass?: string;
4223
- run(target: HTMLElement): void;
4224
- }
4225
- interface IUpdatableHoverOptions {
4226
- actions?: IHoverAction[];
4227
- linkHandler?(url: string): void;
4228
- }
4229
-
4230
- interface IHoverDelegateTarget extends IDisposable {
4231
- readonly targetElements: readonly HTMLElement[];
4232
- x?: number;
4233
- }
4234
- interface IHoverDelegateOptions extends IUpdatableHoverOptions {
4235
- /**
4236
- * The content to display in the primary section of the hover. The type of text determines the
4237
- * default `hideOnHover` behavior.
4238
- */
4239
- content: IMarkdownString | string | HTMLElement;
4240
- /**
4241
- * The target for the hover. This determines the position of the hover and it will only be
4242
- * hidden when the mouse leaves both the hover and the target. A HTMLElement can be used for
4243
- * simple cases and a IHoverDelegateTarget for more complex cases where multiple elements and/or a
4244
- * dispose method is required.
4245
- */
4246
- target: IHoverDelegateTarget | HTMLElement;
4247
- /**
4248
- * Position of the hover. The default is to show above the target. This option will be ignored
4249
- * if there is not enough room to layout the hover in the specified position, unless the
4250
- * forcePosition option is set.
4251
- */
4252
- hoverPosition?: HoverPosition;
4253
- /**
4254
- * Whether to show the hover pointer
4255
- */
4256
- showPointer?: boolean;
4257
- /**
4258
- * Whether to skip the fade in animation, this should be used when hovering from one hover to
4259
- * another in the same group so it looks like the hover is moving from one element to the other.
4260
- */
4261
- skipFadeInAnimation?: boolean;
4262
- /**
4263
- * The container to pass to {@link IContextViewProvider.showContextView} which renders the hover
4264
- * in. This is particularly useful for more natural tab focusing behavior, where the hover is
4265
- * created as the next tab index after the element being hovered and/or to workaround the
4266
- * element's container hiding on `focusout`.
4267
- */
4268
- container?: HTMLElement;
4269
- }
4270
- interface IHoverDelegate {
4271
- showHover(options: IHoverDelegateOptions, focus?: boolean): IHoverWidget | undefined;
4272
- onDidHideHover?: () => void;
4273
- delay: number;
4274
- placement?: 'mouse' | 'element';
4275
- }
4276
- interface IHoverWidget extends IDisposable {
4277
- readonly isDisposed: boolean;
4278
- }
4279
-
4280
- interface IToggleStyles {
4281
- readonly inputActiveOptionBorder: string | undefined;
4282
- readonly inputActiveOptionForeground: string | undefined;
4283
- readonly inputActiveOptionBackground: string | undefined;
4284
- }
4285
-
4286
- interface IBaseActionViewItemOptions {
4287
- draggable?: boolean;
4288
- isMenu?: boolean;
4289
- useEventAsContext?: boolean;
4290
- hoverDelegate?: IHoverDelegate;
4291
- }
4292
- interface IActionViewItemOptions extends IBaseActionViewItemOptions {
4293
- icon?: boolean;
4294
- label?: boolean;
4295
- keybinding?: string | null;
4296
- toggleStyles?: IToggleStyles;
4297
- }
4298
-
4299
- interface IActionViewItem extends IDisposable {
4300
- action: IAction;
4301
- actionRunner: IActionRunner;
4302
- setActionContext(context: unknown): void;
4303
- render(element: HTMLElement): void;
4304
- isEnabled(): boolean;
4305
- focus(fromRight?: boolean): void;
4306
- blur(): void;
4307
- }
4308
- interface IActionViewItemProvider {
4309
- (action: IAction, options: IActionViewItemOptions): IActionViewItem | undefined;
4310
- }
4311
-
4312
- /**
4313
- * Composites are layed out in the sidebar and panel part of the workbench. At a time only one composite
4314
- * can be open in the sidebar, and only one composite can be open in the panel.
4315
- *
4316
- * Each composite has a minimized representation that is good enough to provide some
4317
- * information about the state of the composite data.
4318
- *
4319
- * The workbench will keep a composite alive after it has been created and show/hide it based on
4320
- * user interaction. The lifecycle of a composite goes in the order create(), setVisible(true|false),
4321
- * layout(), focus(), dispose(). During use of the workbench, a composite will often receive a setVisible,
4322
- * layout and focus call, but only one create and dispose call.
4323
- */
4324
- declare abstract class Composite extends Component implements IComposite {
4325
- private readonly _onTitleAreaUpdate;
4326
- readonly onTitleAreaUpdate: Event$1<void>;
4327
- private _onDidFocus;
4328
- get onDidFocus(): Event$1<void>;
4329
- protected fireOnDidFocus(): void;
4330
- private _onDidBlur;
4331
- get onDidBlur(): Event$1<void>;
4332
- private _hasFocus;
4333
- hasFocus(): boolean;
4334
- private registerFocusTrackEvents;
4335
- protected actionRunner: IActionRunner | undefined;
4336
- private _telemetryService;
4337
- protected get telemetryService(): ITelemetryService;
4338
- private visible;
4339
- private parent;
4340
- constructor(id: string, telemetryService: ITelemetryService, themeService: IThemeService, storageService: IStorageService);
4341
- getTitle(): string | undefined;
4342
- /**
4343
- * Note: Clients should not call this method, the workbench calls this
4344
- * method. Calling it otherwise may result in unexpected behavior.
4345
- *
4346
- * Called to create this composite on the provided parent. This method is only
4347
- * called once during the lifetime of the workbench.
4348
- * Note that DOM-dependent calculations should be performed from the setVisible()
4349
- * call. Only then the composite will be part of the DOM.
4350
- */
4351
- create(parent: HTMLElement): void;
4352
- /**
4353
- * Returns the container this composite is being build in.
4354
- */
4355
- getContainer(): HTMLElement | undefined;
4356
- /**
4357
- * Note: Clients should not call this method, the workbench calls this
4358
- * method. Calling it otherwise may result in unexpected behavior.
4359
- *
4360
- * Called to indicate that the composite has become visible or hidden. This method
4361
- * is called more than once during workbench lifecycle depending on the user interaction.
4362
- * The composite will be on-DOM if visible is set to true and off-DOM otherwise.
4363
- *
4364
- * Typically this operation should be fast though because setVisible might be called many times during a session.
4365
- * If there is a long running operation it is fine to have it running in the background asyncly and return before.
4366
- */
4367
- setVisible(visible: boolean): void;
4368
- /**
4369
- * Called when this composite should receive keyboard focus.
4370
- */
4371
- focus(): void;
4372
- /**
4373
- * Layout the contents of this composite using the provided dimensions.
4374
- */
4375
- abstract layout(dimension: Dimension, position?: IDomPosition): void;
4376
- /**
4377
- * Set boundary sashes for this composite. These are used to create
4378
- * draggable corner areas with inner sashes.
4379
- */
4380
- abstract setBoundarySashes(sashes: IBoundarySashes): void;
4381
- /**
4382
- * Update the styles of the contents of this composite.
4383
- */
4384
- updateStyles(): void;
4385
- /**
4386
- *
4387
- * @returns the action runner for this composite
4388
- */
4389
- getMenuIds(): readonly MenuId[];
4390
- /**
4391
- * Returns an array of actions to show in the action bar of the composite.
4392
- */
4393
- getActions(): readonly IAction[];
4394
- /**
4395
- * Returns an array of actions to show in the action bar of the composite
4396
- * in a less prominent way then action from getActions.
4397
- */
4398
- getSecondaryActions(): readonly IAction[];
4399
- /**
4400
- * Returns an array of actions to show in the context menu of the composite
4401
- */
4402
- getContextMenuActions(): readonly IAction[];
4403
- /**
4404
- * For any of the actions returned by this composite, provide an IActionViewItem in
4405
- * cases where the implementor of the composite wants to override the presentation
4406
- * of an action. Returns undefined to indicate that the action is not rendered through
4407
- * an action item.
4408
- */
4409
- getActionViewItem(action: IAction): IActionViewItem | undefined;
4410
- /**
4411
- * Provide a context to be passed to the toolbar.
4412
- */
4413
- getActionsContext(): unknown;
4414
- /**
4415
- * Returns the instance of IActionRunner to use with this composite for the
4416
- * composite tool bar.
4417
- */
4418
- getActionRunner(): IActionRunner;
4419
- /**
4420
- * Method for composite implementors to indicate to the composite container that the title or the actions
4421
- * of the composite have changed. Calling this method will cause the container to ask for title (getTitle())
4422
- * and actions (getActions(), getSecondaryActions()) if the composite is visible or the next time the composite
4423
- * gets visible.
4424
- */
4425
- protected updateTitleArea(): void;
4426
- /**
4427
- * Returns true if this composite is currently visible and false otherwise.
4428
- */
4429
- isVisible(): boolean;
4430
- /**
4431
- * Returns the underlying composite control or `undefined` if it is not accessible.
4432
- */
4433
- getControl(): ICompositeControl | undefined;
4434
- }
4435
- /**
4436
- * A composite descriptor is a lightweight descriptor of a composite in the workbench.
4437
- */
4438
- declare abstract class CompositeDescriptor<T extends Composite> {
4439
- private readonly ctor;
4440
- readonly id: string;
4441
- readonly name: string;
4442
- readonly cssClass?: string | undefined;
4443
- readonly order?: number | undefined;
4444
- readonly requestedIndex?: number | undefined;
4445
- constructor(ctor: IConstructorSignature<T>, id: string, name: string, cssClass?: string | undefined, order?: number | undefined, requestedIndex?: number | undefined);
4446
- instantiate(instantiationService: IInstantiationService): T;
4447
- }
4448
-
4449
- interface IContextMenuEvent {
4450
- readonly shiftKey?: boolean;
4451
- readonly ctrlKey?: boolean;
4452
- readonly altKey?: boolean;
4453
- readonly metaKey?: boolean;
4454
- }
4455
- interface IContextMenuDelegate {
4456
- getAnchor(): HTMLElement | {
4457
- x: number;
4458
- y: number;
4459
- width?: number;
4460
- height?: number;
4461
- };
4462
- getActions(): readonly IAction[];
4463
- getCheckedActionsRepresentation?(action: IAction): 'radio' | 'checkbox';
4464
- getActionViewItem?(action: IAction, options: IActionViewItemOptions): IActionViewItem | undefined;
4465
- getActionsContext?(event?: IContextMenuEvent): unknown;
4466
- getKeyBinding?(action: IAction): ResolvedKeybinding | undefined;
4467
- getMenuClassName?(): string;
4468
- onHide?(didCancel: boolean): void;
4469
- actionRunner?: IActionRunner;
4470
- skipTelemetry?: boolean;
4471
- autoSelectFirstItem?: boolean;
4472
- anchorAlignment?: AnchorAlignment;
4473
- anchorAxisAlignment?: AnchorAxisAlignment;
4474
- domForShadowRoot?: HTMLElement;
4475
- }
4476
-
4477
- declare const IContextViewService: ServiceIdentifier<IContextViewService>;
4478
- interface IContextViewService extends IContextViewProvider {
4479
- readonly _serviceBrand: undefined;
4480
- showContextView(delegate: IContextViewDelegate, container?: HTMLElement, shadowRoot?: boolean): IDisposable;
4481
- hideContextView(data?: any): void;
4482
- getContextViewElement(): HTMLElement;
4483
- layout(): void;
4484
- anchorAlignment?: AnchorAlignment;
4485
- }
4486
- interface IContextViewDelegate {
4487
- canRelayout?: boolean;
4488
- getAnchor(): HTMLElement | {
4489
- x: number;
4490
- y: number;
4491
- width?: number;
4492
- height?: number;
4493
- };
4494
- render(container: HTMLElement): IDisposable;
4495
- onDOMEvent?(e: any, activeElement: HTMLElement): void;
4496
- onHide?(data?: any): void;
4497
- focus?(): void;
4498
- anchorAlignment?: AnchorAlignment;
4499
- anchorAxisAlignment?: AnchorAxisAlignment;
4500
- }
4501
- declare const IContextMenuService: ServiceIdentifier<IContextMenuService>;
4502
- interface IContextMenuService {
4503
- readonly _serviceBrand: undefined;
4504
- readonly onDidShowContextMenu: Event$1<void>;
4505
- readonly onDidHideContextMenu: Event$1<void>;
4506
- showContextMenu(delegate: IContextMenuDelegate | IContextMenuMenuDelegate): void;
4507
- }
4508
- type IContextMenuMenuDelegate = {
4509
- /**
4510
- * The MenuId that should be used to populate the context menu.
4511
- */
4512
- menuId?: MenuId;
4513
- /**
4514
- * Optional options how menu actions are invoked
4515
- */
4516
- menuActionOptions?: IMenuActionOptions;
4517
- /**
4518
- * Optional context key service which drives the given menu
4519
- */
4520
- contextKeyService?: IContextKeyService;
4521
- /**
4522
- * Optional getter for extra actions. They will be prepended to the menu actions.
4523
- */
4524
- getActions?(): IAction[];
4525
- } & Omit<IContextMenuDelegate, 'getActions'>;
4526
-
4527
- interface IPaneOptions {
4528
- minimumBodySize?: number;
4529
- maximumBodySize?: number;
4530
- expanded?: boolean;
4531
- orientation?: Orientation;
4532
- title: string;
4533
- titleDescription?: string;
4534
- }
4535
- interface IPaneStyles {
4536
- readonly dropBackground: string | undefined;
4537
- readonly headerForeground: string | undefined;
4538
- readonly headerBackground: string | undefined;
4539
- readonly headerBorder: string | undefined;
4540
- readonly leftBorder: string | undefined;
4541
- }
4542
- /**
4543
- * A Pane is a structured SplitView view.
4544
- *
4545
- * WARNING: You must call `render()` after you construct it.
4546
- * It can't be done automatically at the end of the ctor
4547
- * because of the order of property initialization in TypeScript.
4548
- * Subclasses wouldn't be able to set own properties
4549
- * before the `render()` call, thus forbidding their use.
4550
- */
4551
- declare abstract class Pane extends Disposable implements IView$2 {
4552
- private static readonly HEADER_SIZE;
4553
- readonly element: HTMLElement;
4554
- private header;
4555
- private body;
4556
- protected _expanded: boolean;
4557
- protected _orientation: Orientation;
4558
- private expandedSize;
4559
- private _headerVisible;
4560
- private _bodyRendered;
4561
- private _minimumBodySize;
4562
- private _maximumBodySize;
4563
- private _ariaHeaderLabel;
4564
- private styles;
4565
- private animationTimer;
4566
- private readonly _onDidChange;
4567
- readonly onDidChange: Event$1<number | undefined>;
4568
- private readonly _onDidChangeExpansionState;
4569
- readonly onDidChangeExpansionState: Event$1<boolean>;
4570
- get ariaHeaderLabel(): string;
4571
- set ariaHeaderLabel(newLabel: string);
4572
- get draggableElement(): HTMLElement;
4573
- get dropTargetElement(): HTMLElement;
4574
- get dropBackground(): string | undefined;
4575
- get minimumBodySize(): number;
4576
- set minimumBodySize(size: number);
4577
- get maximumBodySize(): number;
4578
- set maximumBodySize(size: number);
4579
- private get headerSize();
4580
- get minimumSize(): number;
4581
- get maximumSize(): number;
4582
- orthogonalSize: number;
4583
- constructor(options: IPaneOptions);
4584
- isExpanded(): boolean;
4585
- setExpanded(expanded: boolean): boolean;
4586
- get headerVisible(): boolean;
4587
- set headerVisible(visible: boolean);
4588
- get orientation(): Orientation;
4589
- set orientation(orientation: Orientation);
4590
- render(): void;
4591
- layout(size: number): void;
4592
- style(styles: IPaneStyles): void;
4593
- protected updateHeader(): void;
4594
- protected abstract renderHeader(container: HTMLElement): void;
4595
- protected abstract renderBody(container: HTMLElement): void;
4596
- protected abstract layoutBody(height: number, width: number): void;
4597
- }
4598
- interface IPaneDndController {
4599
- canDrag(pane: Pane): boolean;
4600
- canDrop(pane: Pane, overPane: Pane): boolean;
4601
- }
4602
- interface IPaneViewOptions {
4603
- dnd?: IPaneDndController;
4604
- orientation?: Orientation;
4605
- }
4606
-
4607
- declare class CompositeMenuActions extends Disposable {
4608
- readonly menuId: MenuId;
4609
- private readonly contextMenuId;
4610
- private readonly options;
4611
- private readonly contextKeyService;
4612
- private readonly menuService;
4613
- private readonly menuActions;
4614
- private _onDidChange;
4615
- readonly onDidChange: Event$1<void>;
4616
- constructor(menuId: MenuId, contextMenuId: MenuId | undefined, options: IMenuActionOptions | undefined, contextKeyService: IContextKeyService, menuService: IMenuService);
4617
- getPrimaryActions(): IAction[];
4618
- getSecondaryActions(): IAction[];
4619
- getContextMenuActions(): IAction[];
4620
- }
4621
-
4622
- interface IKeybindingProvider {
4623
- (action: IAction): ResolvedKeybinding | undefined;
4624
- }
4625
- interface IAnchorAlignmentProvider {
4626
- (): AnchorAlignment;
4627
- }
4628
- interface IDropdownMenuActionViewItemOptions extends IBaseActionViewItemOptions {
4629
- readonly actionViewItemProvider?: IActionViewItemProvider;
4630
- readonly keybindingProvider?: IKeybindingProvider;
4631
- readonly actionRunner?: IActionRunner;
4632
- readonly classNames?: string[] | string;
4633
- readonly anchorAlignmentProvider?: IAnchorAlignmentProvider;
4634
- readonly menuAsChild?: boolean;
4635
- }
4636
-
4637
- interface IFilterWidgetOptions {
4638
- readonly text?: string;
4639
- readonly placeholder?: string;
4640
- readonly ariaLabel?: string;
4641
- readonly history?: string[];
4642
- readonly focusContextKey?: string;
4643
- }
4644
- declare class FilterWidget extends Widget {
4645
- private readonly options;
4646
- private readonly instantiationService;
4647
- private readonly contextViewService;
4648
- private readonly keybindingService;
4649
- readonly element: HTMLElement;
4650
- private readonly delayedFilterUpdate;
4651
- private readonly filterInputBox;
4652
- private readonly filterBadge;
4653
- private readonly toolbar;
4654
- private readonly focusContextKey;
4655
- private readonly _onDidChangeFilterText;
4656
- readonly onDidChangeFilterText: Event$1<string>;
4657
- private moreFiltersActionViewItem;
4658
- private isMoreFiltersChecked;
4659
- constructor(options: IFilterWidgetOptions, instantiationService: IInstantiationService, contextViewService: IContextViewService, contextKeyService: IContextKeyService, keybindingService: IKeybindingService);
4660
- focus(): void;
4661
- blur(): void;
4662
- updateBadge(message: string | undefined): void;
4663
- setFilterText(filterText: string): void;
4664
- getFilterText(): string;
4665
- getHistory(): string[];
4666
- layout(width: number): void;
4667
- checkMoreFilters(checked: boolean): void;
4668
- private createInput;
4669
- private createBadge;
4670
- private createToolBar;
4671
- private onDidInputChange;
4672
- private adjustInputBox;
4673
- private handleKeyboardEvent;
4674
- private onInputKeyDown;
4675
- }
4676
-
4677
- interface IViewPaneOptions extends IPaneOptions {
4678
- id: string;
4679
- showActionsAlways?: boolean;
4680
- titleMenuId?: MenuId;
4681
- donotForwardArgs?: boolean;
4682
- }
4683
- declare abstract class ViewPane extends Pane implements IView$3 {
4684
- protected keybindingService: IKeybindingService;
4685
- protected contextMenuService: IContextMenuService;
4686
- protected readonly configurationService: IConfigurationService;
4687
- protected contextKeyService: IContextKeyService;
4688
- protected viewDescriptorService: IViewDescriptorService;
4689
- protected instantiationService: IInstantiationService;
4690
- protected openerService: IOpenerService;
4691
- protected themeService: IThemeService;
4692
- protected telemetryService: ITelemetryService;
4693
- private static readonly AlwaysShowActionsConfig;
4694
- private _onDidFocus;
4695
- readonly onDidFocus: Event$1<void>;
4696
- private _onDidBlur;
4697
- readonly onDidBlur: Event$1<void>;
4698
- private _onDidChangeBodyVisibility;
4699
- readonly onDidChangeBodyVisibility: Event$1<boolean>;
4700
- protected _onDidChangeTitleArea: Emitter<void>;
4701
- readonly onDidChangeTitleArea: Event$1<void>;
4702
- protected _onDidChangeViewWelcomeState: Emitter<void>;
4703
- readonly onDidChangeViewWelcomeState: Event$1<void>;
4704
- private _isVisible;
4705
- readonly id: string;
4706
- private _title;
4707
- get title(): string;
4708
- private _titleDescription;
4709
- get titleDescription(): string | undefined;
4710
- readonly menuActions: CompositeMenuActions;
4711
- private progressBar;
4712
- private progressIndicator;
4713
- private toolbar?;
4714
- private readonly showActionsAlways;
4715
- private headerContainer?;
4716
- private titleContainer?;
4717
- private titleDescriptionContainer?;
4718
- private iconContainer?;
4719
- protected twistiesContainer?: HTMLElement;
4720
- private bodyContainer;
4721
- private viewWelcomeContainer;
4722
- private viewWelcomeDisposable;
4723
- private viewWelcomeController;
4724
- protected readonly scopedContextKeyService: IContextKeyService;
4725
- constructor(options: IViewPaneOptions, keybindingService: IKeybindingService, contextMenuService: IContextMenuService, configurationService: IConfigurationService, contextKeyService: IContextKeyService, viewDescriptorService: IViewDescriptorService, instantiationService: IInstantiationService, openerService: IOpenerService, themeService: IThemeService, telemetryService: ITelemetryService);
4726
- get headerVisible(): boolean;
4727
- set headerVisible(visible: boolean);
4728
- setVisible(visible: boolean): void;
4729
- isVisible(): boolean;
4730
- isBodyVisible(): boolean;
4731
- setExpanded(expanded: boolean): boolean;
4732
- render(): void;
4733
- protected renderHeader(container: HTMLElement): void;
4734
- protected getTwistyIcon(expanded: boolean): ThemeIcon;
4735
- style(styles: IPaneStyles): void;
4736
- private getIcon;
4737
- protected renderHeaderTitle(container: HTMLElement, title: string): void;
4738
- protected updateTitle(title: string): void;
4739
- private setTitleDescription;
4740
- protected updateTitleDescription(description?: string | undefined): void;
4741
- private calculateTitle;
4742
- private scrollableElement;
4743
- protected renderBody(container: HTMLElement): void;
4744
- protected layoutBody(height: number, width: number): void;
4745
- onDidScrollRoot(): void;
4746
- getProgressIndicator(): IProgressIndicator;
4747
- protected getProgressLocation(): string;
4748
- protected getBackgroundColor(): string;
4749
- focus(): void;
4750
- private setActions;
4751
- private updateActionsVisibility;
4752
- protected updateActions(): void;
4753
- getActionViewItem(action: IAction, options?: IDropdownMenuActionViewItemOptions): IActionViewItem | undefined;
4754
- getActionsContext(): unknown;
4755
- getActionRunner(): IActionRunner | undefined;
4756
- getOptimalWidth(): number;
4757
- saveState(): void;
4758
- private updateViewWelcome;
4759
- shouldShowWelcome(): boolean;
4760
- getFilterWidget(): FilterWidget | undefined;
4761
- shouldShowFilterInHeader(): boolean;
4762
- }
4763
-
4764
- interface IViewletViewOptions extends IViewPaneOptions {
4765
- readonly fromExtensionId?: ExtensionIdentifier;
4766
- }
4767
-
4768
- interface IViewPaneContainerOptions extends IPaneViewOptions {
4769
- mergeViewWithContainerWhenSingleView: boolean;
4770
- }
4771
- declare class ViewPaneContainer extends Component implements IViewPaneContainer {
4772
- private options;
4773
- protected instantiationService: IInstantiationService;
4774
- protected configurationService: IConfigurationService;
4775
- protected layoutService: IWorkbenchLayoutService;
4776
- protected contextMenuService: IContextMenuService;
4777
- protected telemetryService: ITelemetryService;
4778
- protected extensionService: IExtensionService;
4779
- protected storageService: IStorageService;
4780
- protected contextService: IWorkspaceContextService;
4781
- protected viewDescriptorService: IViewDescriptorService;
4782
- readonly viewContainer: ViewContainer;
4783
- private lastFocusedPane;
4784
- private lastMergedCollapsedPane;
4785
- private paneItems;
4786
- private paneview?;
4787
- private visible;
4788
- private areExtensionsReady;
4789
- private didLayout;
4790
- private dimension;
4791
- private _boundarySashes;
4792
- private readonly visibleViewsCountFromCache;
4793
- private readonly visibleViewsStorageId;
4794
- protected readonly viewContainerModel: IViewContainerModel;
4795
- private viewDisposables;
4796
- private readonly _onTitleAreaUpdate;
4797
- readonly onTitleAreaUpdate: Event$1<void>;
4798
- private readonly _onDidChangeVisibility;
4799
- readonly onDidChangeVisibility: Event$1<boolean>;
4800
- private readonly _onDidAddViews;
4801
- readonly onDidAddViews: Event$1<IView$3[]>;
4802
- private readonly _onDidRemoveViews;
4803
- readonly onDidRemoveViews: Event$1<IView$3[]>;
4804
- private readonly _onDidChangeViewVisibility;
4805
- readonly onDidChangeViewVisibility: Event$1<IView$3>;
4806
- private readonly _onDidFocusView;
4807
- readonly onDidFocusView: Event$1<IView$3>;
4808
- private readonly _onDidBlurView;
4809
- readonly onDidBlurView: Event$1<IView$3>;
4810
- get onDidSashChange(): Event$1<number>;
4811
- get panes(): ViewPane[];
4812
- get views(): IView$3[];
4813
- get length(): number;
4814
- private _menuActions?;
4815
- get menuActions(): CompositeMenuActions | undefined;
4816
- constructor(id: string, options: IViewPaneContainerOptions, instantiationService: IInstantiationService, configurationService: IConfigurationService, layoutService: IWorkbenchLayoutService, contextMenuService: IContextMenuService, telemetryService: ITelemetryService, extensionService: IExtensionService, themeService: IThemeService, storageService: IStorageService, contextService: IWorkspaceContextService, viewDescriptorService: IViewDescriptorService);
4817
- create(parent: HTMLElement): void;
4818
- getTitle(): string;
4819
- private showContextMenu;
4820
- getActionsContext(): unknown;
4821
- getActionViewItem(action: IAction): IActionViewItem | undefined;
4822
- focus(): void;
4823
- private get orientation();
4824
- layout(dimension: Dimension): void;
4825
- setBoundarySashes(sashes: IBoundarySashes): void;
4826
- getOptimalWidth(): number;
4827
- addPanes(panes: {
4828
- pane: ViewPane;
4829
- size: number;
4830
- index?: number;
4831
- }[]): void;
4832
- setVisible(visible: boolean): void;
4833
- isVisible(): boolean;
4834
- protected updateTitleArea(): void;
4835
- protected createView(viewDescriptor: IViewDescriptor, options: IViewletViewOptions): ViewPane;
4836
- getView(id: string): ViewPane | undefined;
4837
- private saveViewSizes;
4838
- private restoreViewSizes;
4839
- private computeInitialSizes;
4840
- protected saveState(): void;
4841
- private onContextMenu;
4842
- openView(id: string, focus?: boolean): IView$3 | undefined;
4843
- protected onDidAddViewDescriptors(added: IAddedViewDescriptorRef[]): ViewPane[];
4844
- private onDidRemoveViewDescriptors;
4845
- toggleViewVisibility(viewId: string): void;
4846
- private addPane;
4847
- removePanes(panes: ViewPane[]): void;
4848
- private removePane;
4849
- movePane(from: ViewPane, to: ViewPane): void;
4850
- resizePane(pane: ViewPane, size: number): void;
4851
- getPaneSize(pane: ViewPane): number;
4852
- private updateViewHeaders;
4853
- isViewMergedWithContainer(): boolean;
4854
- private onDidScrollPane;
4855
- private onDidSashReset;
4856
- dispose(): void;
4857
- }
4858
-
4859
- declare abstract class PaneComposite extends Composite implements IPaneComposite {
4860
- protected storageService: IStorageService;
4861
- protected instantiationService: IInstantiationService;
4862
- protected contextMenuService: IContextMenuService;
4863
- protected extensionService: IExtensionService;
4864
- protected contextService: IWorkspaceContextService;
4865
- private viewPaneContainer?;
4866
- constructor(id: string, telemetryService: ITelemetryService, storageService: IStorageService, instantiationService: IInstantiationService, themeService: IThemeService, contextMenuService: IContextMenuService, extensionService: IExtensionService, contextService: IWorkspaceContextService);
4867
- create(parent: HTMLElement): void;
4868
- setVisible(visible: boolean): void;
4869
- layout(dimension: Dimension): void;
4870
- setBoundarySashes(sashes: IBoundarySashes): void;
4871
- getOptimalWidth(): number;
4872
- openView<T extends IView$3>(id: string, focus?: boolean): T | undefined;
4873
- getViewPaneContainer(): ViewPaneContainer | undefined;
4874
- getActionsContext(): unknown;
4875
- getContextMenuActions(): readonly IAction[];
4876
- getMenuIds(): MenuId[];
4877
- getActions(): readonly IAction[];
4878
- getSecondaryActions(): readonly IAction[];
4879
- getActionViewItem(action: IAction): IActionViewItem | undefined;
4880
- getTitle(): string;
4881
- focus(): void;
4882
- protected abstract createViewPaneContainer(parent: HTMLElement): ViewPaneContainer;
4883
- }
4884
- /**
4885
- * A Pane Composite descriptor is a lightweight descriptor of a Pane Composite in the workbench.
4886
- */
4887
- declare class PaneCompositeDescriptor extends CompositeDescriptor<PaneComposite> {
4888
- readonly iconUrl?: URI | undefined;
4889
- static create<Services extends BrandedService[]>(ctor: {
4890
- new (...services: Services): PaneComposite;
4891
- }, id: string, name: string, cssClass?: string, order?: number, requestedIndex?: number, iconUrl?: URI): PaneCompositeDescriptor;
4892
- private constructor();
4893
- }
4894
-
4895
- interface IBadge {
4896
- getDescription(): string;
4897
- }
4898
-
4899
- declare const IPaneCompositePartService: ServiceIdentifier<IPaneCompositePartService>;
4900
- interface IPaneCompositePartService {
4901
- readonly _serviceBrand: undefined;
4902
- readonly onDidPaneCompositeOpen: Event$1<{
4903
- composite: IPaneComposite;
4904
- viewContainerLocation: ViewContainerLocation;
4905
- }>;
4906
- readonly onDidPaneCompositeClose: Event$1<{
4907
- composite: IPaneComposite;
4908
- viewContainerLocation: ViewContainerLocation;
4909
- }>;
4910
- /**
4911
- * Opens a viewlet with the given identifier and pass keyboard focus to it if specified.
4912
- */
4913
- openPaneComposite(id: string | undefined, viewContainerLocation: ViewContainerLocation, focus?: boolean): Promise<IPaneComposite | undefined>;
4914
- /**
4915
- * Returns the current active viewlet if any.
4916
- */
4917
- getActivePaneComposite(viewContainerLocation: ViewContainerLocation): IPaneComposite | undefined;
4918
- /**
4919
- * Returns the viewlet by id.
4920
- */
4921
- getPaneComposite(id: string, viewContainerLocation: ViewContainerLocation): PaneCompositeDescriptor | undefined;
4922
- /**
4923
- * Returns all enabled viewlets
4924
- */
4925
- getPaneComposites(viewContainerLocation: ViewContainerLocation): PaneCompositeDescriptor[];
4926
- /**
4927
- * Returns id of pinned view containers following the visual order.
4928
- */
4929
- getPinnedPaneCompositeIds(viewContainerLocation: ViewContainerLocation): string[];
4930
- /**
4931
- * Returns id of visible view containers following the visual order.
4932
- */
4933
- getVisiblePaneCompositeIds(viewContainerLocation: ViewContainerLocation): string[];
4934
- /**
4935
- * Returns the progress indicator for the side bar.
4936
- */
4937
- getProgressIndicator(id: string, viewContainerLocation: ViewContainerLocation): IProgressIndicator | undefined;
4938
- /**
4939
- * Hide the active viewlet.
4940
- */
4941
- hideActivePaneComposite(viewContainerLocation: ViewContainerLocation): void;
4942
- /**
4943
- * Return the last active viewlet id.
4944
- */
4945
- getLastActivePaneCompositeId(viewContainerLocation: ViewContainerLocation): string;
4946
- /**
4947
- * Show an activity in a viewlet.
4948
- */
4949
- showActivity(id: string, viewContainerLocation: ViewContainerLocation, badge: IBadge, clazz?: string, priority?: number): IDisposable;
4950
- }
4951
-
4952
2618
  declare const ICodeEditorService: ServiceIdentifier<ICodeEditorService>;
4953
2619
  interface ICodeEditorService {
4954
2620
  readonly _serviceBrand: undefined;
4955
- readonly onWillCreateCodeEditor: Event$1<void>;
4956
- readonly onCodeEditorAdd: Event$1<ICodeEditor>;
4957
- readonly onCodeEditorRemove: Event$1<ICodeEditor>;
4958
- readonly onWillCreateDiffEditor: Event$1<void>;
4959
- readonly onDiffEditorAdd: Event$1<IDiffEditor>;
4960
- readonly onDiffEditorRemove: Event$1<IDiffEditor>;
4961
- readonly onDidChangeTransientModelProperty: Event$1<ITextModel>;
4962
- readonly onDecorationTypeRegistered: Event$1<string>;
2621
+ readonly onWillCreateCodeEditor: Event<void>;
2622
+ readonly onCodeEditorAdd: Event<ICodeEditor>;
2623
+ readonly onCodeEditorRemove: Event<ICodeEditor>;
2624
+ readonly onWillCreateDiffEditor: Event<void>;
2625
+ readonly onDiffEditorAdd: Event<IDiffEditor>;
2626
+ readonly onDiffEditorRemove: Event<IDiffEditor>;
2627
+ readonly onDidChangeTransientModelProperty: Event<ITextModel>;
2628
+ readonly onDecorationTypeRegistered: Event<string>;
4963
2629
  willCreateCodeEditor(): void;
4964
2630
  addCodeEditor(editor: ICodeEditor): void;
4965
2631
  removeCodeEditor(editor: ICodeEditor): void;
@@ -5015,9 +2681,9 @@ declare class BreadcrumbsWidget {
5015
2681
  private readonly _onDidSelectItem;
5016
2682
  private readonly _onDidFocusItem;
5017
2683
  private readonly _onDidChangeFocus;
5018
- readonly onDidSelectItem: Event$1<IBreadcrumbsItemEvent>;
5019
- readonly onDidFocusItem: Event$1<IBreadcrumbsItemEvent>;
5020
- readonly onDidChangeFocus: Event$1<boolean>;
2684
+ readonly onDidSelectItem: Event<IBreadcrumbsItemEvent>;
2685
+ readonly onDidFocusItem: Event<IBreadcrumbsItemEvent>;
2686
+ readonly onDidChangeFocus: Event<boolean>;
5021
2687
  private readonly _items;
5022
2688
  private readonly _nodes;
5023
2689
  private readonly _freeNodes;
@@ -5131,7 +2797,7 @@ interface IEditorResolverService {
5131
2797
  /**
5132
2798
  * Emitted when an editor is registered or unregistered.
5133
2799
  */
5134
- readonly onDidChangeEditorRegistrations: Event$1<void>;
2800
+ readonly onDidChangeEditorRegistrations: Event<void>;
5135
2801
  /**
5136
2802
  * Given a callback, run the callback pausing the registration emitter
5137
2803
  */
@@ -5289,7 +2955,7 @@ interface IAudioCueService {
5289
2955
  playAudioCue(cue: AudioCue, allowManyInParallel?: boolean): Promise<void>;
5290
2956
  playAudioCues(cues: AudioCue[]): Promise<void>;
5291
2957
  isEnabled(cue: AudioCue): boolean;
5292
- onEnabledChanged(cue: AudioCue): Event$1<void>;
2958
+ onEnabledChanged(cue: AudioCue): Event<void>;
5293
2959
  playSound(cue: Sound, allowManyInParallel?: boolean): Promise<void>;
5294
2960
  }
5295
2961
  /**
@@ -5465,11 +3131,153 @@ interface IHistoryService {
5465
3131
  clearRecentlyOpened(): void;
5466
3132
  }
5467
3133
 
3134
+ declare const enum SortOrder {
3135
+ Default = "default",
3136
+ Mixed = "mixed",
3137
+ FilesFirst = "filesFirst",
3138
+ Type = "type",
3139
+ Modified = "modified",
3140
+ FoldersNestsFiles = "foldersNestsFiles"
3141
+ }
3142
+ declare const enum LexicographicOptions {
3143
+ Default = "default",
3144
+ Upper = "upper",
3145
+ Lower = "lower",
3146
+ Unicode = "unicode"
3147
+ }
3148
+ interface ISortOrderConfiguration {
3149
+ sortOrder: SortOrder;
3150
+ lexicographicOptions: LexicographicOptions;
3151
+ }
3152
+
3153
+ declare class ExplorerItem {
3154
+ resource: URI;
3155
+ private readonly fileService;
3156
+ private readonly configService;
3157
+ private readonly filesConfigService;
3158
+ private _parent;
3159
+ private _isDirectory?;
3160
+ private _isSymbolicLink?;
3161
+ private _readonly?;
3162
+ private _locked?;
3163
+ private _name;
3164
+ private _mtime?;
3165
+ private _unknown;
3166
+ _isDirectoryResolved: boolean;
3167
+ error: Error | undefined;
3168
+ private _isExcluded;
3169
+ nestedParent: ExplorerItem | undefined;
3170
+ nestedChildren: ExplorerItem[] | undefined;
3171
+ constructor(resource: URI, fileService: IFileService, configService: IConfigurationService, filesConfigService: IFilesConfigurationService, _parent: ExplorerItem | undefined, _isDirectory?: boolean | undefined, _isSymbolicLink?: boolean | undefined, _readonly?: boolean | undefined, _locked?: boolean | undefined, _name?: string, _mtime?: number | undefined, _unknown?: boolean);
3172
+ get isExcluded(): boolean;
3173
+ set isExcluded(value: boolean);
3174
+ hasChildren(filter: (stat: ExplorerItem) => boolean): boolean;
3175
+ get hasNests(): boolean;
3176
+ get isDirectoryResolved(): boolean;
3177
+ get isSymbolicLink(): boolean;
3178
+ get isDirectory(): boolean;
3179
+ get isReadonly(): boolean;
3180
+ get mtime(): number | undefined;
3181
+ get name(): string;
3182
+ get isUnknown(): boolean;
3183
+ get parent(): ExplorerItem | undefined;
3184
+ get root(): ExplorerItem;
3185
+ get children(): Map<string, ExplorerItem>;
3186
+ private updateName;
3187
+ getId(): string;
3188
+ toString(): string;
3189
+ get isRoot(): boolean;
3190
+ static create(fileService: IFileService, configService: IConfigurationService, filesConfigService: IFilesConfigurationService, raw: IFileStat, parent: ExplorerItem | undefined, resolveTo?: readonly URI[]): ExplorerItem;
3191
+ /**
3192
+ * Merges the stat which was resolved from the disk with the local stat by copying over properties
3193
+ * and children. The merge will only consider resolved stat elements to avoid overwriting data which
3194
+ * exists locally.
3195
+ */
3196
+ static mergeLocalWithDisk(disk: ExplorerItem, local: ExplorerItem): void;
3197
+ /**
3198
+ * Adds a child element to this folder.
3199
+ */
3200
+ addChild(child: ExplorerItem): void;
3201
+ getChild(name: string): ExplorerItem | undefined;
3202
+ fetchChildren(sortOrder: SortOrder): ExplorerItem[] | Promise<ExplorerItem[]>;
3203
+ private _fileNester;
3204
+ private get fileNester();
3205
+ /**
3206
+ * Removes a child element from this folder.
3207
+ */
3208
+ removeChild(child: ExplorerItem): void;
3209
+ forgetChildren(): void;
3210
+ private getPlatformAwareName;
3211
+ /**
3212
+ * Moves this element under a new parent element.
3213
+ */
3214
+ move(newParent: ExplorerItem): void;
3215
+ private updateResource;
3216
+ /**
3217
+ * Tells this stat that it was renamed. This requires changes to all children of this stat (if any)
3218
+ * so that the path property can be updated properly.
3219
+ */
3220
+ rename(renamedStat: {
3221
+ name: string;
3222
+ mtime?: number;
3223
+ }): void;
3224
+ /**
3225
+ * Returns a child stat from this stat that matches with the provided path.
3226
+ * Will return "null" in case the child does not exist.
3227
+ */
3228
+ find(resource: URI): ExplorerItem | null;
3229
+ private findByPath;
3230
+ }
3231
+
3232
+ interface IExplorerService {
3233
+ readonly _serviceBrand: undefined;
3234
+ readonly roots: ExplorerItem[];
3235
+ readonly sortOrderConfiguration: ISortOrderConfiguration;
3236
+ getContext(respectMultiSelection: boolean, ignoreNestedChildren?: boolean): ExplorerItem[];
3237
+ hasViewFocus(): boolean;
3238
+ setEditable(stat: ExplorerItem, data: IEditableData | null): Promise<void>;
3239
+ getEditable(): {
3240
+ stat: ExplorerItem;
3241
+ data: IEditableData;
3242
+ } | undefined;
3243
+ getEditableData(stat: ExplorerItem): IEditableData | undefined;
3244
+ isEditable(stat: ExplorerItem | undefined): boolean;
3245
+ findClosest(resource: URI): ExplorerItem | null;
3246
+ findClosestRoot(resource: URI): ExplorerItem | null;
3247
+ refresh(): Promise<void>;
3248
+ setToCopy(stats: ExplorerItem[], cut: boolean): Promise<void>;
3249
+ isCut(stat: ExplorerItem): boolean;
3250
+ applyBulkEdit(edit: ResourceFileEdit[], options: {
3251
+ undoLabel: string;
3252
+ progressLabel: string;
3253
+ confirmBeforeUndo?: boolean;
3254
+ progressLocation?: ProgressLocation.Explorer | ProgressLocation.Window;
3255
+ }): Promise<void>;
3256
+ /**
3257
+ * Selects and reveal the file element provided by the given resource if its found in the explorer.
3258
+ * Will try to resolve the path in case the explorer is not yet expanded to the file yet.
3259
+ */
3260
+ select(resource: URI, reveal?: boolean | string): Promise<void>;
3261
+ registerView(contextAndRefreshProvider: IExplorerView): void;
3262
+ }
3263
+ declare const IExplorerService: ServiceIdentifier<IExplorerService>;
3264
+ interface IExplorerView {
3265
+ getContext(respectMultiSelection: boolean): ExplorerItem[];
3266
+ refresh(recursive: boolean, item?: ExplorerItem): Promise<void>;
3267
+ selectResource(resource: URI | undefined, reveal?: boolean | string): Promise<void>;
3268
+ setTreeInput(): Promise<void>;
3269
+ itemsCopied(tats: ExplorerItem[], cut: boolean, previousCut: ExplorerItem[] | undefined): void;
3270
+ setEditable(stat: ExplorerItem, isEditing: boolean): Promise<void>;
3271
+ isItemVisible(item: ExplorerItem): boolean;
3272
+ isItemCollapsed(item: ExplorerItem): boolean;
3273
+ hasFocus(): boolean;
3274
+ }
3275
+
5468
3276
  interface ServiceInitializeParticipant {
5469
3277
  (accessor: ServicesAccessor): Promise<void>;
5470
3278
  }
5471
3279
  declare function registerServiceInitializeParticipant(participant: ServiceInitializeParticipant): void;
5472
- declare const onRenderWorkbench: Event$1<ServicesAccessor>;
3280
+ declare const onRenderWorkbench: Event<ServicesAccessor>;
5473
3281
  declare function initialize(overrides: IEditorOverrideServices): Promise<void>;
5474
3282
 
5475
- export { EditorInput, EditorInputWithOptions, GoFilter, GoScope, GroupIdentifier, IAction, IAudioCueService, IBreadcrumbsService, IBulkEditService, IClipboardService, ICodeEditorService, IColorTheme, ICommandService, IConfigurationChangeEvent, IConfigurationService, IContextKeyService, IDebugService, IEditorGroup, IEditorOptions, IEditorPane, IEditorResolverService, IEditorService, IEditorWorkerService, IFileService, IHistoryService, IHostService, IInstantiationService, IKeybindingEditingService, ILanguageService, ILanguageStatusService, ILayoutService, ILogService, IMarkdownString, IModelService, IOpenerService, IOutputService, IPaneCompositePartService, IPathService, IPreferencesSearchService, IPreferencesService, IProductService, IQuickInputService, IResourceEditorInput, ISnippetsService, IStorageService, ITelemetryService, ITextEditorService, IThemeService, IUntypedEditorInput, IUriIdentityService, IWorkbenchEnvironmentService, IWorkspaceContextService, Severity, StorageScope, StorageTarget, initialize, onRenderWorkbench, registerServiceInitializeParticipant };
3283
+ export { EditorInput, EditorInputWithOptions, GoFilter, GoScope, GroupIdentifier, IAudioCueService, IBreadcrumbsService, IBulkEditService, IClipboardService, ICodeEditorService, IConfigurationService, IDebugService, IEditorGroup, IEditorOptions, IEditorPane, IEditorResolverService, IEditorService, IEditorWorkerService, IExplorerService, IFileService, IHistoryService, IHostService, IKeybindingEditingService, ILanguageService, ILanguageStatusService, ILogService, IMarkdownString, IModelService, IOutputService, IPathService, IPreferencesSearchService, IPreferencesService, IProductService, IQuickInputService, IResourceEditorInput, ISnippetsService, ITextEditorService, IUntypedEditorInput, IUriIdentityService, Severity, initialize, onRenderWorkbench, registerServiceInitializeParticipant };