@codingame/monaco-vscode-api 4.5.0 → 4.5.1
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.
- package/editor.api.d.ts +8 -0
- package/localExtensionHost.d.ts +41 -0
- package/package.json +10 -8
- package/service-override/accessibility.d.ts +5 -0
- package/service-override/ai.d.ts +5 -0
- package/service-override/authentication.d.ts +5 -0
- package/service-override/base.d.ts +5 -0
- package/service-override/bulkEdit.d.ts +5 -0
- package/service-override/chat.d.ts +5 -0
- package/service-override/comments.d.ts +5 -0
- package/service-override/configuration.d.ts +31 -0
- package/service-override/debug.d.ts +5 -0
- package/service-override/dialogs.d.ts +12 -0
- package/service-override/editSessions.d.ts +5 -0
- package/service-override/editor.d.ts +10 -0
- package/service-override/emmet.d.ts +5 -0
- package/service-override/environment.d.ts +10 -0
- package/service-override/explorer.d.ts +5 -0
- package/service-override/extensionGallery.d.ts +12 -0
- package/service-override/extensions.d.ts +43 -0
- package/service-override/files.d.ts +164 -0
- package/service-override/host.d.ts +5 -0
- package/service-override/interactive.d.ts +5 -0
- package/service-override/issue.d.ts +5 -0
- package/service-override/keybindings.d.ts +21 -0
- package/service-override/languageDetectionWorker.d.ts +5 -0
- package/service-override/languages.d.ts +6 -0
- package/service-override/layout.d.ts +128 -0
- package/service-override/lifecycle.d.ts +5 -0
- package/service-override/localization.d.ts +14 -0
- package/service-override/log.d.ts +14 -0
- package/service-override/markers.d.ts +5 -0
- package/service-override/model.d.ts +5 -0
- package/service-override/monarch.d.ts +5 -0
- package/service-override/multiDiffEditor.d.ts +5 -0
- package/service-override/notebook.d.ts +5 -0
- package/service-override/notifications.d.ts +5 -0
- package/service-override/outline.d.ts +5 -0
- package/service-override/output.d.ts +10 -0
- package/service-override/performance.d.ts +5 -0
- package/service-override/preferences.d.ts +5 -0
- package/service-override/quickaccess.d.ts +11 -0
- package/service-override/relauncher.d.ts +5 -0
- package/service-override/remoteAgent.d.ts +12 -0
- package/service-override/scm.d.ts +5 -0
- package/service-override/search.d.ts +12 -0
- package/service-override/secretStorage.d.ts +5 -0
- package/service-override/share.d.ts +5 -0
- package/service-override/snippets.d.ts +9 -0
- package/service-override/speech.d.ts +5 -0
- package/service-override/storage.d.ts +66 -0
- package/service-override/survey.d.ts +5 -0
- package/service-override/task.d.ts +5 -0
- package/service-override/terminal.d.ts +71 -0
- package/service-override/testing.d.ts +5 -0
- package/service-override/textmate.d.ts +6 -0
- package/service-override/theme.d.ts +7 -0
- package/service-override/timeline.d.ts +5 -0
- package/service-override/update.d.ts +5 -0
- package/service-override/userDataSync.d.ts +5 -0
- package/service-override/viewBanner.d.ts +6 -0
- package/service-override/viewCommon.d.ts +6 -0
- package/service-override/viewStatusBar.d.ts +6 -0
- package/service-override/viewTitleBar.d.ts +5 -0
- package/service-override/views.d.ts +47 -0
- package/service-override/walkthrough.d.ts +5 -0
- package/service-override/welcome.d.ts +5 -0
- package/service-override/workbench.d.ts +18 -0
- package/service-override/workingCopy.d.ts +5 -0
- package/service-override/workspaceTrust.d.ts +5 -0
- package/vscode/src/vs/base/browser/indexedDB.d.ts +17 -0
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +62 -0
- package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +73 -0
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.d.ts +43 -0
- package/vscode/src/vs/platform/files/browser/indexedDBFileSystemProvider.d.ts +48 -0
- package/vscode/src/vs/platform/files/common/inMemoryFilesystemProvider.d.ts +59 -0
- package/vscode/src/vs/platform/remote/common/remoteExtensionsScanner.service.d.ts +13 -0
- package/vscode/src/vs/workbench/browser/dnd.d.ts +14 -0
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.d.ts +61 -0
- package/vscode/src/vs/workbench/browser/parts/banner/bannerPart.d.ts +46 -0
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.d.ts +21 -0
- package/vscode/src/vs/workbench/browser/parts/compositePart.d.ts +89 -0
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.d.ts +108 -0
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +138 -0
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.d.ts +35 -0
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.d.ts +48 -0
- package/vscode/src/vs/workbench/browser/workbench.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +795 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +149 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalConfigHelper.d.ts +48 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalStatusList.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +168 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm-private.d.ts +55 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +238 -0
- package/vscode/src/vs/workbench/services/activity/browser/activityService.d.ts +28 -0
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.d.ts +53 -0
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts +106 -0
- package/vscode/src/vs/workbench/services/extensions/browser/extensionService.d.ts +45 -0
- package/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.d.ts +11 -0
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.d.ts +162 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.d.ts +18 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostManagers.d.ts +39 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProxy.d.ts +17 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionManifestPropertiesService.service.d.ts +20 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocationTracker.d.ts +45 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionsProposedApi.d.ts +17 -0
- package/vscode/src/vs/workbench/services/extensions/common/rpcProtocol.d.ts +6 -0
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.d.ts +50 -0
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.service.d.ts +40 -0
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.d.ts +185 -0
- package/vscode/src/vs/workbench/services/storage/browser/storageService.d.ts +41 -0
- package/vscode/src/vs/workbench/services/textMate/browser/textMateTokenizationFeature.service.d.ts +11 -0
- package/vscode/src/vs/workbench/services/userData/browser/userDataInit.d.ts +11 -0
- package/vscode/src/vs/workbench/services/userData/browser/userDataInit.service.d.ts +9 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { IEditorOverrideServices } from '../vscode/src/vs/editor/standalone/browser/standaloneServices.js';
|
|
2
|
+
import { Parts, Position, PanelAlignment } from '../vscode/src/vs/workbench/services/layout/browser/layoutService.js';
|
|
3
|
+
import { IWorkbenchLayoutService } from '../vscode/src/vs/workbench/services/layout/browser/layoutService.service.js';
|
|
4
|
+
import { ILayoutOffsetInfo } from '../vscode/src/vs/platform/layout/browser/layoutService.js';
|
|
5
|
+
import { ILayoutService } from '../vscode/src/vs/platform/layout/browser/layoutService.service.js';
|
|
6
|
+
import { Event } from '../vscode/src/vs/base/common/event.js';
|
|
7
|
+
import { IDimension, Dimension } from '../vscode/src/vs/base/browser/dom.js';
|
|
8
|
+
import { Part } from '../vscode/src/vs/workbench/browser/part.js';
|
|
9
|
+
import { ServicesAccessor } from '../vscode/src/vs/platform/instantiation/common/instantiation.js';
|
|
10
|
+
import { Disposable, DisposableStore } from '../vscode/src/vs/base/common/lifecycle.js';
|
|
11
|
+
import { IDisposable } from '@xterm/headless';
|
|
12
|
+
|
|
13
|
+
declare class LayoutService extends Disposable implements ILayoutService, IWorkbenchLayoutService {
|
|
14
|
+
mainContainer: HTMLElement;
|
|
15
|
+
readonly _serviceBrand: undefined;
|
|
16
|
+
private paneCompositeService;
|
|
17
|
+
private editorGroupService;
|
|
18
|
+
private statusBarService;
|
|
19
|
+
private viewDescriptorService;
|
|
20
|
+
private configurationService;
|
|
21
|
+
private auxiliaryWindowService;
|
|
22
|
+
private hostService;
|
|
23
|
+
private activeContainerId;
|
|
24
|
+
private sideBarPosition;
|
|
25
|
+
private panelPosition;
|
|
26
|
+
constructor(mainContainer?: HTMLElement);
|
|
27
|
+
whenContainerStylesLoaded(): undefined;
|
|
28
|
+
onDidChangeMainEditorCenteredLayout: Event<any>;
|
|
29
|
+
whenActiveContainerStylesLoaded: Promise<void>;
|
|
30
|
+
hasMainWindowBorder(): boolean;
|
|
31
|
+
getMainWindowBorderRadius(): string | undefined;
|
|
32
|
+
isMainEditorLayoutCentered(): boolean;
|
|
33
|
+
centerMainEditorLayout(): void;
|
|
34
|
+
private readonly _onDidLayoutContainer;
|
|
35
|
+
readonly onDidLayoutContainer: Event<{
|
|
36
|
+
readonly container: HTMLElement;
|
|
37
|
+
readonly dimension: IDimension;
|
|
38
|
+
}>;
|
|
39
|
+
private readonly _onDidAddContainer;
|
|
40
|
+
readonly onDidAddContainer: Event<{
|
|
41
|
+
readonly container: HTMLElement;
|
|
42
|
+
readonly disposables: DisposableStore;
|
|
43
|
+
}>;
|
|
44
|
+
private readonly _onDidRemoveContainer;
|
|
45
|
+
readonly onDidRemoveContainer: Event<HTMLElement>;
|
|
46
|
+
private readonly _onDidLayoutMainContainer;
|
|
47
|
+
readonly onDidLayoutMainContainer: Event<IDimension>;
|
|
48
|
+
private readonly _onDidLayoutActiveContainer;
|
|
49
|
+
readonly onDidLayoutActiveContainer: Event<IDimension>;
|
|
50
|
+
private readonly _onDidChangeActiveContainer;
|
|
51
|
+
readonly onDidChangeActiveContainer: Event<void>;
|
|
52
|
+
get activeContainer(): HTMLElement;
|
|
53
|
+
get containers(): Iterable<HTMLElement>;
|
|
54
|
+
private getContainerFromDocument;
|
|
55
|
+
mainContainerOffset: {
|
|
56
|
+
top: number;
|
|
57
|
+
quickPickTop: number;
|
|
58
|
+
};
|
|
59
|
+
activeContainerOffset: {
|
|
60
|
+
top: number;
|
|
61
|
+
quickPickTop: number;
|
|
62
|
+
};
|
|
63
|
+
onDidChangeFullscreen: Event<any>;
|
|
64
|
+
onDidChangeZenMode: Event<any>;
|
|
65
|
+
onDidChangeWindowMaximized: Event<any>;
|
|
66
|
+
onDidChangeCenteredLayout: Event<any>;
|
|
67
|
+
private readonly _onDidChangePanelPosition;
|
|
68
|
+
readonly onDidChangePanelPosition: Event<string>;
|
|
69
|
+
private readonly _onDidChangeSideBarPosition;
|
|
70
|
+
readonly onDidChangeSideBarPosition: Event<string>;
|
|
71
|
+
onDidChangePanelAlignment: Event<any>;
|
|
72
|
+
onDidChangeNotificationsVisibility: Event<any>;
|
|
73
|
+
openedDefaultEditors: boolean;
|
|
74
|
+
whenRestored: Promise<void>;
|
|
75
|
+
init(accessor: ServicesAccessor): void;
|
|
76
|
+
private handleContainerDidLayout;
|
|
77
|
+
private getActiveContainerId;
|
|
78
|
+
private onActiveWindowChanged;
|
|
79
|
+
private isActivityBarHidden;
|
|
80
|
+
focusPart(part: Parts): void;
|
|
81
|
+
getDimension(part: Parts): Dimension | undefined;
|
|
82
|
+
toggleMaximizedPanel(): void;
|
|
83
|
+
toggleMenuBar(): void;
|
|
84
|
+
setPanelPosition(position: Position): void;
|
|
85
|
+
getPanelAlignment(): PanelAlignment;
|
|
86
|
+
setPanelAlignment(): void;
|
|
87
|
+
toggleZenMode(): void;
|
|
88
|
+
isEditorLayoutCentered(): boolean;
|
|
89
|
+
centerEditorLayout(): void;
|
|
90
|
+
resizePart(): void;
|
|
91
|
+
isWindowMaximized(): boolean;
|
|
92
|
+
updateWindowMaximizedState(): void;
|
|
93
|
+
getVisibleNeighborPart(): Parts | undefined;
|
|
94
|
+
getMaximumEditorDimensions(): Dimension;
|
|
95
|
+
isPanelMaximized(): boolean;
|
|
96
|
+
getPanelPosition(): Position;
|
|
97
|
+
private readonly parts;
|
|
98
|
+
hasFocus(part: Parts): boolean;
|
|
99
|
+
getContainer(window: Window): HTMLElement;
|
|
100
|
+
getContainer(part: Parts): HTMLElement | undefined;
|
|
101
|
+
getPart(key: Parts): Part | undefined;
|
|
102
|
+
private hiddenParts;
|
|
103
|
+
private hasViews;
|
|
104
|
+
setPartHidden(hidden: boolean, part: Parts): void;
|
|
105
|
+
isVisible(part: Parts): boolean;
|
|
106
|
+
getSideBarPosition(): Position;
|
|
107
|
+
setSideBarPosition(position: Position): void;
|
|
108
|
+
registerPart(part: Part): IDisposable;
|
|
109
|
+
isRestored(): boolean;
|
|
110
|
+
private _onDidChangePartVisibility;
|
|
111
|
+
onDidChangePartVisibility: Event<void>;
|
|
112
|
+
readonly offset: ILayoutOffsetInfo;
|
|
113
|
+
private readonly _onDidLayout;
|
|
114
|
+
readonly onDidLayout: Event<IDimension>;
|
|
115
|
+
private _mainContainerDimension;
|
|
116
|
+
get mainContainerDimension(): IDimension;
|
|
117
|
+
get activeContainerDimension(): IDimension;
|
|
118
|
+
layout(): void;
|
|
119
|
+
get hasContainer(): boolean;
|
|
120
|
+
focus(): void;
|
|
121
|
+
}
|
|
122
|
+
declare function getServiceOverride(): IEditorOverrideServices;
|
|
123
|
+
/**
|
|
124
|
+
* @deprecated Provide container via the services `initialize` function
|
|
125
|
+
*/
|
|
126
|
+
declare function getServiceOverride(container?: HTMLElement): IEditorOverrideServices;
|
|
127
|
+
|
|
128
|
+
export { LayoutService, getServiceOverride as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IEditorOverrideServices } from '../vscode/src/vs/editor/standalone/browser/standaloneServices.js';
|
|
2
|
+
|
|
3
|
+
interface AvailableLanguage {
|
|
4
|
+
locale: string;
|
|
5
|
+
languageName?: string;
|
|
6
|
+
}
|
|
7
|
+
interface LocalizationOptions {
|
|
8
|
+
setLocale(id: string): Promise<void>;
|
|
9
|
+
clearLocale(): Promise<void>;
|
|
10
|
+
availableLanguages: AvailableLanguage[];
|
|
11
|
+
}
|
|
12
|
+
declare function getServiceOverride(options: LocalizationOptions): IEditorOverrideServices;
|
|
13
|
+
|
|
14
|
+
export { type AvailableLanguage, type LocalizationOptions, getServiceOverride as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IEditorOverrideServices } from '../vscode/src/vs/editor/standalone/browser/standaloneServices.js';
|
|
2
|
+
import { LogLevel, ILogger } from '../vscode/src/vs/platform/log/common/log.js';
|
|
3
|
+
export { ConsoleLogger } from '../vscode/src/vs/platform/log/common/log.js';
|
|
4
|
+
import { IDisposable } from '../vscode/src/vs/base/common/lifecycle.js';
|
|
5
|
+
|
|
6
|
+
declare function getServiceOverride(): IEditorOverrideServices;
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated Provide logLevel via the services `initialize` function `configuration.developmentOptions.logLevel` parameter
|
|
9
|
+
*/
|
|
10
|
+
declare function getServiceOverride(logLevel?: LogLevel): IEditorOverrideServices;
|
|
11
|
+
|
|
12
|
+
declare function registerAdditionalLogger(logger: ILogger): IDisposable;
|
|
13
|
+
|
|
14
|
+
export { ILogger, getServiceOverride as default, registerAdditionalLogger };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IEditorOverrideServices } from '../vscode/src/vs/editor/standalone/browser/standaloneServices.js';
|
|
2
|
+
import { LogLevel } from '../vscode/src/vs/platform/log/common/log.js';
|
|
3
|
+
|
|
4
|
+
declare function getServiceOverride(): IEditorOverrideServices;
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated Provide logLevel via the services `initialize` function `configuration.developmentOptions.logLevel` parameter
|
|
7
|
+
*/
|
|
8
|
+
declare function getServiceOverride(logLevel?: LogLevel): IEditorOverrideServices;
|
|
9
|
+
|
|
10
|
+
export { getServiceOverride as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IEditorOverrideServices } from '../vscode/src/vs/editor/standalone/browser/standaloneServices.js';
|
|
2
|
+
import '../vscode/src/vs/editor/editor.api.js';
|
|
3
|
+
import { ICodeEditor } from '../vscode/src/vs/editor/browser/editorBrowser.js';
|
|
4
|
+
|
|
5
|
+
interface QuickAccessProps {
|
|
6
|
+
isKeybindingConfigurationVisible?: () => boolean;
|
|
7
|
+
shouldUseGlobalPicker?: (activeCodeEditor: ICodeEditor | null, activeCodeEditorStandalone: boolean) => boolean;
|
|
8
|
+
}
|
|
9
|
+
declare function getServiceOverride({ isKeybindingConfigurationVisible: _isKeybindingConfigurationVisible, shouldUseGlobalPicker: _shouldUseGlobalPicker }?: QuickAccessProps): IEditorOverrideServices;
|
|
10
|
+
|
|
11
|
+
export { getServiceOverride as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IEditorOverrideServices } from '../vscode/src/vs/editor/standalone/browser/standaloneServices.js';
|
|
2
|
+
|
|
3
|
+
interface RemoteAgentServiceOverrideParams {
|
|
4
|
+
/**
|
|
5
|
+
* if true, the default extensions on the remote agent will be scanned and added
|
|
6
|
+
* @default false
|
|
7
|
+
*/
|
|
8
|
+
scanRemoteExtensions?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare function getServiceOverride({ scanRemoteExtensions }?: RemoteAgentServiceOverrideParams): IEditorOverrideServices;
|
|
11
|
+
|
|
12
|
+
export { type RemoteAgentServiceOverrideParams, getServiceOverride as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IEditorOverrideServices } from '../vscode/src/vs/editor/standalone/browser/standaloneServices.js';
|
|
2
|
+
|
|
3
|
+
interface SearchServiceOverrideProps {
|
|
4
|
+
/**
|
|
5
|
+
* Is an `HTMLFileSystemProvider` is used as only provider for the `file` scheme directly (without overlay)
|
|
6
|
+
* Enable this option to enable searching local filesystem
|
|
7
|
+
*/
|
|
8
|
+
useHtmlFileSystemProvider?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare function getServiceOverride({ useHtmlFileSystemProvider }?: SearchServiceOverrideProps): IEditorOverrideServices;
|
|
11
|
+
|
|
12
|
+
export { getServiceOverride as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IEditorOverrideServices } from '../vscode/src/vs/editor/standalone/browser/standaloneServices.js';
|
|
2
|
+
|
|
3
|
+
interface ISnippetsExtensionPoint {
|
|
4
|
+
language: string;
|
|
5
|
+
path: string;
|
|
6
|
+
}
|
|
7
|
+
declare function getServiceOverride(): IEditorOverrideServices;
|
|
8
|
+
|
|
9
|
+
export { type ISnippetsExtensionPoint, getServiceOverride as default };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { IDisposable } from '../vscode/src/vs/base/common/lifecycle.js';
|
|
2
|
+
import { IStorageItemsChangeEvent, IStorage } from '../vscode/src/vs/base/parts/storage/common/storage.js';
|
|
3
|
+
import { IEditorOverrideServices } from '../vscode/src/vs/editor/standalone/browser/standaloneServices.js';
|
|
4
|
+
import { AbstractStorageService, StorageScope as StorageScope$1 } from '../vscode/src/vs/platform/storage/common/storage.js';
|
|
5
|
+
import { IUserDataProfile } from '../vscode/src/vs/platform/userDataProfile/common/userDataProfile.js';
|
|
6
|
+
import { IAnyWorkspaceIdentifier } from '../vscode/src/vs/platform/workspace/common/workspace.js';
|
|
7
|
+
import { BrowserStorageService } from '../vscode/src/vs/workbench/services/storage/browser/storageService.js';
|
|
8
|
+
import { ILogService } from '../vscode/src/vs/platform/log/common/log.service.js';
|
|
9
|
+
import { IUserDataProfileService } from '../vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.service.js';
|
|
10
|
+
|
|
11
|
+
declare enum StorageScope {
|
|
12
|
+
APPLICATION = -1,
|
|
13
|
+
PROFILE = 0,
|
|
14
|
+
WORKSPACE = 1
|
|
15
|
+
}
|
|
16
|
+
interface IStorageProvider {
|
|
17
|
+
read(scope: StorageScope): Map<string, string> | undefined;
|
|
18
|
+
write(scope: StorageScope, data: Map<string, string>): Promise<void>;
|
|
19
|
+
close?(scope: StorageScope): Promise<void>;
|
|
20
|
+
onDidChange?(listener: (event: IStorageItemsChangeEvent) => void): IDisposable;
|
|
21
|
+
optimize?(scope: StorageScope): Promise<void>;
|
|
22
|
+
}
|
|
23
|
+
declare class ExternalStorageService extends AbstractStorageService {
|
|
24
|
+
protected readonly provider: IStorageProvider;
|
|
25
|
+
private fallbackOverride?;
|
|
26
|
+
private readonly applicationStorage;
|
|
27
|
+
private readonly profileStorage;
|
|
28
|
+
private readonly workspaceStorage;
|
|
29
|
+
constructor(provider: IStorageProvider, fallbackOverride?: Record<string, unknown> | undefined);
|
|
30
|
+
protected getStorage(scope: StorageScope$1): IStorage;
|
|
31
|
+
protected getLogDetails(scope: StorageScope$1): string | undefined;
|
|
32
|
+
protected doInitialize(): Promise<void>;
|
|
33
|
+
protected switchToProfile(): Promise<void>;
|
|
34
|
+
protected switchToWorkspace(): Promise<void>;
|
|
35
|
+
hasScope(_scope: IAnyWorkspaceIdentifier | IUserDataProfile): boolean;
|
|
36
|
+
get(key: string, scope: StorageScope$1, fallbackValue: string): string;
|
|
37
|
+
get(key: string, scope: StorageScope$1): string | undefined;
|
|
38
|
+
getBoolean(key: string, scope: StorageScope$1, fallbackValue: boolean): boolean;
|
|
39
|
+
getBoolean(key: string, scope: StorageScope$1): boolean | undefined;
|
|
40
|
+
getNumber(key: string, scope: StorageScope$1, fallbackValue: number): number;
|
|
41
|
+
getNumber(key: string, scope: StorageScope$1): number | undefined;
|
|
42
|
+
getObject(key: string, scope: StorageScope$1, fallbackValue: object): object;
|
|
43
|
+
getObject(key: string, scope: StorageScope$1): object | undefined;
|
|
44
|
+
}
|
|
45
|
+
declare class InjectedBrowserStorageService extends BrowserStorageService {
|
|
46
|
+
private fallbackOverride;
|
|
47
|
+
constructor(fallbackOverride: Record<string, unknown> | undefined, userDataProfileService: IUserDataProfileService, logService: ILogService);
|
|
48
|
+
get(key: string, scope: StorageScope$1, fallbackValue: string): string;
|
|
49
|
+
get(key: string, scope: StorageScope$1): string | undefined;
|
|
50
|
+
getBoolean(key: string, scope: StorageScope$1, fallbackValue: boolean): boolean;
|
|
51
|
+
getBoolean(key: string, scope: StorageScope$1): boolean | undefined;
|
|
52
|
+
getNumber(key: string, scope: StorageScope$1, fallbackValue: number): number;
|
|
53
|
+
getNumber(key: string, scope: StorageScope$1): number | undefined;
|
|
54
|
+
getObject(key: string, scope: StorageScope$1, fallbackValue: object): object;
|
|
55
|
+
getObject(key: string, scope: StorageScope$1): object | undefined;
|
|
56
|
+
}
|
|
57
|
+
interface StorageServiceParameters {
|
|
58
|
+
customProvider?: IStorageProvider;
|
|
59
|
+
/**
|
|
60
|
+
* Allows to override the storage key default values
|
|
61
|
+
*/
|
|
62
|
+
fallbackOverride?: Record<string, unknown>;
|
|
63
|
+
}
|
|
64
|
+
declare function getStorageServiceOverride({ customProvider, fallbackOverride }?: StorageServiceParameters): IEditorOverrideServices;
|
|
65
|
+
|
|
66
|
+
export { InjectedBrowserStorageService as BrowserStorageService, ExternalStorageService, IStorageItemsChangeEvent, type IStorageProvider, StorageScope, getStorageServiceOverride as default };
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { IEditorOverrideServices } from '../vscode/src/vs/editor/standalone/browser/standaloneServices.js';
|
|
2
|
+
import { ITerminalBackend, IPtyHostLatencyMeasurement, ITerminalProfile, ITerminalsLayoutInfo, ITerminalChildProcess, ITerminalLaunchError, IProcessReadyEvent } from '../vscode/src/vs/platform/terminal/common/terminal.js';
|
|
3
|
+
import { Event } from '../vscode/src/vs/base/common/event.js';
|
|
4
|
+
import { IProcessEnvironment } from '../vscode/src/vs/base/common/platform.js';
|
|
5
|
+
import { PerformanceMark } from '../vscode/src/vs/base/common/performance.js';
|
|
6
|
+
import { unsupported } from '../tools.js';
|
|
7
|
+
export { ITerminalInstanceService, ITerminalService } from '../vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.js';
|
|
8
|
+
import '../vscode/src/vs/editor/editor.api.js';
|
|
9
|
+
|
|
10
|
+
declare abstract class SimpleTerminalBackend implements ITerminalBackend {
|
|
11
|
+
getLatency: () => Promise<IPtyHostLatencyMeasurement[]>;
|
|
12
|
+
isResponsive: boolean;
|
|
13
|
+
private readonly _whenConnected;
|
|
14
|
+
get whenReady(): Promise<void>;
|
|
15
|
+
setReady(): void;
|
|
16
|
+
getPerformanceMarks(): Promise<PerformanceMark[]>;
|
|
17
|
+
restartPtyHost: typeof unsupported;
|
|
18
|
+
remoteAuthority: undefined;
|
|
19
|
+
onPtyHostUnresponsive: Event<any>;
|
|
20
|
+
onPtyHostResponsive: Event<any>;
|
|
21
|
+
onPtyHostRestart: Event<any>;
|
|
22
|
+
onDidRequestDetach: Event<any>;
|
|
23
|
+
attachToProcess: typeof unsupported;
|
|
24
|
+
attachToRevivedProcess: typeof unsupported;
|
|
25
|
+
listProcesses: typeof unsupported;
|
|
26
|
+
getProfiles: () => Promise<ITerminalProfile[]>;
|
|
27
|
+
getWslPath: typeof unsupported;
|
|
28
|
+
getEnvironment: () => Promise<IProcessEnvironment>;
|
|
29
|
+
getShellEnvironment: () => Promise<IProcessEnvironment | undefined>;
|
|
30
|
+
setTerminalLayoutInfo: () => Promise<void>;
|
|
31
|
+
updateTitle: () => Promise<void>;
|
|
32
|
+
updateIcon: () => Promise<void>;
|
|
33
|
+
getTerminalLayoutInfo: () => Promise<ITerminalsLayoutInfo | undefined>;
|
|
34
|
+
reduceConnectionGraceTime: typeof unsupported;
|
|
35
|
+
requestDetachInstance: typeof unsupported;
|
|
36
|
+
acceptDetachInstanceReply: typeof unsupported;
|
|
37
|
+
persistTerminalState: typeof unsupported;
|
|
38
|
+
abstract getDefaultSystemShell: ITerminalBackend['getDefaultSystemShell'];
|
|
39
|
+
abstract createProcess: ITerminalBackend['createProcess'];
|
|
40
|
+
}
|
|
41
|
+
declare abstract class SimpleTerminalProcess implements ITerminalChildProcess {
|
|
42
|
+
readonly id: number;
|
|
43
|
+
readonly pid: number;
|
|
44
|
+
readonly cwd: string;
|
|
45
|
+
readonly onData: Event<string>;
|
|
46
|
+
private onReady;
|
|
47
|
+
constructor(id: number, pid: number, cwd: string, onData: Event<string>);
|
|
48
|
+
abstract clearBuffer(): void | Promise<void>;
|
|
49
|
+
abstract start(): Promise<ITerminalLaunchError | {
|
|
50
|
+
injectedArgs: string[];
|
|
51
|
+
} | undefined>;
|
|
52
|
+
abstract shutdown(immediate: boolean): void;
|
|
53
|
+
abstract input(data: string): void;
|
|
54
|
+
abstract resize(cols: number, rows: number): void;
|
|
55
|
+
shouldPersist: boolean;
|
|
56
|
+
onProcessData: Event<string>;
|
|
57
|
+
onProcessReady: Event<IProcessReadyEvent>;
|
|
58
|
+
onDidChangeProperty: Event<any>;
|
|
59
|
+
onProcessExit: Event<any>;
|
|
60
|
+
processBinary: typeof unsupported;
|
|
61
|
+
acknowledgeDataEvent(): void;
|
|
62
|
+
setUnicodeVersion(): Promise<void>;
|
|
63
|
+
getInitialCwd(): Promise<string>;
|
|
64
|
+
getCwd(): Promise<string>;
|
|
65
|
+
getLatency(): Promise<number>;
|
|
66
|
+
refreshProperty: () => Promise<never>;
|
|
67
|
+
updateProperty(): Promise<void>;
|
|
68
|
+
}
|
|
69
|
+
declare function getServiceOverride(backend?: ITerminalBackend): IEditorOverrideServices;
|
|
70
|
+
|
|
71
|
+
export { ITerminalBackend, ITerminalChildProcess, SimpleTerminalBackend, SimpleTerminalProcess, getServiceOverride as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IEditorOverrideServices } from '../vscode/src/vs/editor/standalone/browser/standaloneServices.js';
|
|
2
|
+
export { ITextMateTokenizationService } from '../vscode/src/vs/workbench/services/textMate/browser/textMateTokenizationFeature.service.js';
|
|
3
|
+
|
|
4
|
+
declare function getServiceOverride(): IEditorOverrideServices;
|
|
5
|
+
|
|
6
|
+
export { getServiceOverride as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IThemeExtensionPoint } from '../vscode/src/vs/workbench/services/themes/common/workbenchThemeService.js';
|
|
2
|
+
import { IEditorOverrideServices } from '../vscode/src/vs/editor/standalone/browser/standaloneServices.js';
|
|
3
|
+
|
|
4
|
+
type PartialIThemeExtensionPoint = Partial<IThemeExtensionPoint> & Pick<IThemeExtensionPoint, 'id' | 'path'>;
|
|
5
|
+
declare function getServiceOverride(): IEditorOverrideServices;
|
|
6
|
+
|
|
7
|
+
export { type PartialIThemeExtensionPoint as IThemeExtensionPoint, getServiceOverride as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IEditorOverrideServices } from '../vscode/src/vs/editor/standalone/browser/standaloneServices.js';
|
|
2
|
+
export { BannerPart } from '../vscode/src/vs/workbench/browser/parts/banner/bannerPart.js';
|
|
3
|
+
|
|
4
|
+
declare function getServiceOverride(): IEditorOverrideServices;
|
|
5
|
+
|
|
6
|
+
export { getServiceOverride as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IEditorOverrideServices } from '../vscode/src/vs/editor/standalone/browser/standaloneServices.js';
|
|
2
|
+
import '../vscode/src/vs/editor/editor.api.js';
|
|
3
|
+
|
|
4
|
+
declare function getServiceOverride(_webviewIframeAlternateDomains?: string): IEditorOverrideServices;
|
|
5
|
+
|
|
6
|
+
export { getServiceOverride as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IEditorOverrideServices } from '../vscode/src/vs/editor/standalone/browser/standaloneServices.js';
|
|
2
|
+
import '../vscode/src/vs/editor/editor.api.js';
|
|
3
|
+
|
|
4
|
+
declare function getServiceOverride(): IEditorOverrideServices;
|
|
5
|
+
|
|
6
|
+
export { getServiceOverride as default };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { IEditorOverrideServices } from '../vscode/src/vs/editor/standalone/browser/standaloneServices.js';
|
|
2
|
+
export { SidebarPart } from '../vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js';
|
|
3
|
+
export { ActivityService } from '../vscode/src/vs/workbench/services/activity/browser/activityService.js';
|
|
4
|
+
export { ActivitybarPart } from '../vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js';
|
|
5
|
+
import { IDisposable } from '../vscode/src/vs/base/common/lifecycle.js';
|
|
6
|
+
export { IReference } from '../vscode/src/vs/base/common/lifecycle.js';
|
|
7
|
+
export { PanelPart } from '../vscode/src/vs/workbench/browser/parts/panel/panelPart.js';
|
|
8
|
+
import { Part } from '../vscode/src/vs/workbench/browser/part.js';
|
|
9
|
+
export { GroupOrientation } from '../vscode/src/vs/workbench/services/editor/common/editorGroupsService.js';
|
|
10
|
+
export { IEditorOptions } from '../vscode/src/vs/platform/editor/common/editor.js';
|
|
11
|
+
export { IResolvedTextEditorModel } from '../vscode/src/vs/editor/common/services/resolverService.js';
|
|
12
|
+
import { Parts } from '../vscode/src/vs/workbench/services/layout/browser/layoutService.js';
|
|
13
|
+
export { Position } from '../vscode/src/vs/workbench/services/layout/browser/layoutService.js';
|
|
14
|
+
import { ILayoutInitializationState } from '../vscode/src/vs/workbench/browser/layout.js';
|
|
15
|
+
export { HoverService } from '../vscode/src/vs/editor/browser/services/hoverService/hoverService.js';
|
|
16
|
+
import { OpenEditor } from './tools/editor.js';
|
|
17
|
+
export { CustomViewOption, EditorPane, SimpleEditorInput, SimpleEditorPane, getPanelPosition, getSideBarPosition, isPartVisibile, onDidChangePanelPosition, onDidChangeSideBarPosition, registerCustomView, registerEditor, registerEditorPane, registerEditorSerializer, setPartVisibility, viewContainerRegistry, viewRegistry } from './tools/views.js';
|
|
18
|
+
export { IViewContainerDescriptor, IViewDescriptor, ViewContainer, ViewContainerLocation } from '../vscode/src/vs/workbench/common/views.js';
|
|
19
|
+
export { ViewPaneContainer } from '../vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js';
|
|
20
|
+
export { EditorInput, IEditorCloseHandler } from '../vscode/src/vs/workbench/common/editor/editorInput.js';
|
|
21
|
+
export { ConfirmResult } from '../vscode/src/vs/platform/dialogs/common/dialogs.js';
|
|
22
|
+
export { EditorInputFactoryObject, RegisteredEditorInfo, RegisteredEditorOptions, RegisteredEditorPriority } from '../vscode/src/vs/workbench/services/editor/common/editorResolverService.js';
|
|
23
|
+
export { AbstractResourceEditorInput } from '../vscode/src/vs/workbench/common/editor/resourceEditorInput.js';
|
|
24
|
+
export { AbstractTextResourceEditorInput } from '../vscode/src/vs/workbench/common/editor/textResourceEditorInput.js';
|
|
25
|
+
export { EditorInputCapabilities, IEditorSerializer } from '../vscode/src/vs/workbench/common/editor.js';
|
|
26
|
+
export { IView, SplitView } from '../vscode/src/vs/base/browser/ui/splitview/splitview.js';
|
|
27
|
+
export { DomScrollableElement } from '../vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js';
|
|
28
|
+
|
|
29
|
+
declare function renderPart(partContainer: HTMLElement, part: Part): void;
|
|
30
|
+
declare function attachPart(part: Parts, container: HTMLElement): IDisposable;
|
|
31
|
+
declare function onPartVisibilityChange(part: Parts, listener: (visible: boolean) => void): IDisposable;
|
|
32
|
+
declare function renderActivitybarPar(container: HTMLElement): IDisposable;
|
|
33
|
+
declare function renderSidebarPart(container: HTMLElement): IDisposable;
|
|
34
|
+
declare function renderPanelPart(container: HTMLElement): IDisposable;
|
|
35
|
+
declare function renderAuxiliaryPart(container: HTMLElement): IDisposable;
|
|
36
|
+
declare function renderEditorPart(container: HTMLElement): IDisposable;
|
|
37
|
+
declare function renderStatusBarPart(container: HTMLElement): IDisposable;
|
|
38
|
+
declare function isEditorPartVisible(): boolean;
|
|
39
|
+
type InitializationStateTransformer = (state: ILayoutInitializationState) => ILayoutInitializationState;
|
|
40
|
+
declare function getServiceOverride(openEditorFallback?: OpenEditor, _webviewIframeAlternateDomains?: string): IEditorOverrideServices;
|
|
41
|
+
/**
|
|
42
|
+
* @deprecated Provide restoreEditors with the initializationState.editor.restoreEditors params
|
|
43
|
+
*/
|
|
44
|
+
declare function getServiceOverride(openEditorFallback?: OpenEditor, _webviewIframeAlternateDomains?: string, restoreEditors?: boolean): IEditorOverrideServices;
|
|
45
|
+
declare function getServiceOverride(openEditorFallback?: OpenEditor, _webviewIframeAlternateDomains?: string, initializationState?: InitializationStateTransformer): IEditorOverrideServices;
|
|
46
|
+
|
|
47
|
+
export { ILayoutInitializationState, type InitializationStateTransformer, OpenEditor, Parts, attachPart, getServiceOverride as default, isEditorPartVisible, onPartVisibilityChange, renderActivitybarPar, renderAuxiliaryPart, renderEditorPart, renderPanelPart, renderPart, renderSidebarPart, renderStatusBarPart };
|