@codingame/monaco-vscode-rollup-vsix-plugin 11.1.2 → 12.0.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/package.json +4 -3
- package/rollup-vsix-plugin.d.ts +1597 -2
- package/rollup-vsix-plugin.js +265 -219
- package/vscode/src/vs/base/common/jsonSchema.d.ts +0 -90
- package/vscode/src/vs/platform/action/common/action.d.ts +0 -12
- package/vscode/src/vs/platform/environment/common/environment.d.ts +0 -8
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +0 -1494
- package/vscode-dts/vscode.proposed.activeComment.d.ts +0 -23
- package/vscode-dts/vscode.proposed.aiRelatedInformation.d.ts +0 -49
- package/vscode-dts/vscode.proposed.aiTextSearchProvider.d.ts +0 -71
- package/vscode-dts/vscode.proposed.aiTextSearchProviderNew.d.ts +0 -40
- package/vscode-dts/vscode.proposed.attributableCoverage.d.ts +0 -46
- package/vscode-dts/vscode.proposed.authLearnMore.d.ts +0 -16
- package/vscode-dts/vscode.proposed.authSession.d.ts +0 -13
- package/vscode-dts/vscode.proposed.canonicalUriProvider.d.ts +0 -47
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +0 -391
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +0 -119
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +0 -90
- package/vscode-dts/vscode.proposed.chatReferenceBinaryData.d.ts +0 -33
- package/vscode-dts/vscode.proposed.chatTab.d.ts +0 -17
- package/vscode-dts/vscode.proposed.chatVariableResolver.d.ts +0 -110
- package/vscode-dts/vscode.proposed.codeActionAI.d.ts +0 -16
- package/vscode-dts/vscode.proposed.codeActionRanges.d.ts +0 -15
- package/vscode-dts/vscode.proposed.codiconDecoration.d.ts +0 -48
- package/vscode-dts/vscode.proposed.commentReactor.d.ts +0 -13
- package/vscode-dts/vscode.proposed.commentReveal.d.ts +0 -45
- package/vscode-dts/vscode.proposed.commentThreadApplicability.d.ts +0 -40
- package/vscode-dts/vscode.proposed.commentingRangeHint.d.ts +0 -16
- package/vscode-dts/vscode.proposed.commentsDraftState.d.ts +0 -18
- package/vscode-dts/vscode.proposed.contribAccessibilityHelpContent.d.ts +0 -15
- package/vscode-dts/vscode.proposed.contribCommentEditorActionsMenu.d.ts +0 -6
- package/vscode-dts/vscode.proposed.contribCommentPeekContext.d.ts +0 -10
- package/vscode-dts/vscode.proposed.contribCommentThreadAdditionalMenu.d.ts +0 -8
- package/vscode-dts/vscode.proposed.contribCommentsViewThreadMenus.d.ts +0 -6
- package/vscode-dts/vscode.proposed.contribDebugCreateConfiguration.d.ts +0 -6
- package/vscode-dts/vscode.proposed.contribDiffEditorGutterToolBarMenus.d.ts +0 -6
- package/vscode-dts/vscode.proposed.contribEditSessions.d.ts +0 -8
- package/vscode-dts/vscode.proposed.contribEditorContentMenu.d.ts +0 -6
- package/vscode-dts/vscode.proposed.contribIssueReporter.d.ts +0 -7
- package/vscode-dts/vscode.proposed.contribLabelFormatterWorkspaceTooltip.d.ts +0 -6
- package/vscode-dts/vscode.proposed.contribMenuBarHome.d.ts +0 -6
- package/vscode-dts/vscode.proposed.contribMergeEditorMenus.d.ts +0 -6
- package/vscode-dts/vscode.proposed.contribMultiDiffEditorMenus.d.ts +0 -6
- package/vscode-dts/vscode.proposed.contribNotebookStaticPreloads.d.ts +0 -6
- package/vscode-dts/vscode.proposed.contribRemoteHelp.d.ts +0 -6
- package/vscode-dts/vscode.proposed.contribShareMenu.d.ts +0 -7
- package/vscode-dts/vscode.proposed.contribSourceControlHistoryItemMenu.d.ts +0 -7
- package/vscode-dts/vscode.proposed.contribSourceControlHistoryTitleMenu.d.ts +0 -7
- package/vscode-dts/vscode.proposed.contribSourceControlInputBoxMenu.d.ts +0 -7
- package/vscode-dts/vscode.proposed.contribSourceControlTitleMenu.d.ts +0 -7
- package/vscode-dts/vscode.proposed.contribStatusBarItems.d.ts +0 -8
- package/vscode-dts/vscode.proposed.contribViewContainerTitle.d.ts +0 -8
- package/vscode-dts/vscode.proposed.contribViewsRemote.d.ts +0 -6
- package/vscode-dts/vscode.proposed.contribViewsWelcome.d.ts +0 -6
- package/vscode-dts/vscode.proposed.createFileSystemWatcher.d.ts +0 -51
- package/vscode-dts/vscode.proposed.customEditorMove.d.ts +0 -29
- package/vscode-dts/vscode.proposed.debugVisualization.d.ts +0 -170
- package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +0 -63
- package/vscode-dts/vscode.proposed.diffCommand.d.ts +0 -38
- package/vscode-dts/vscode.proposed.diffContentOptions.d.ts +0 -16
- package/vscode-dts/vscode.proposed.documentFiltersExclusive.d.ts +0 -13
- package/vscode-dts/vscode.proposed.documentPaste.d.ts +0 -297
- package/vscode-dts/vscode.proposed.editSessionIdentityProvider.d.ts +0 -71
- package/vscode-dts/vscode.proposed.editorHoverVerbosityLevel.d.ts +0 -76
- package/vscode-dts/vscode.proposed.editorInsets.d.ts +0 -22
- package/vscode-dts/vscode.proposed.embeddings.d.ts +0 -33
- package/vscode-dts/vscode.proposed.extensionRuntime.d.ts +0 -24
- package/vscode-dts/vscode.proposed.extensionsAny.d.ts +0 -41
- package/vscode-dts/vscode.proposed.externalUriOpener.d.ts +0 -163
- package/vscode-dts/vscode.proposed.fileComments.d.ts +0 -42
- package/vscode-dts/vscode.proposed.fileSearchProvider.d.ts +0 -73
- package/vscode-dts/vscode.proposed.fileSearchProviderNew.d.ts +0 -101
- package/vscode-dts/vscode.proposed.findFiles2.d.ts +0 -89
- package/vscode-dts/vscode.proposed.findFiles2New.d.ts +0 -105
- package/vscode-dts/vscode.proposed.findTextInFiles.d.ts +0 -104
- package/vscode-dts/vscode.proposed.findTextInFilesNew.d.ts +0 -164
- package/vscode-dts/vscode.proposed.fsChunks.d.ts +0 -16
- package/vscode-dts/vscode.proposed.idToken.d.ts +0 -16
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +0 -95
- package/vscode-dts/vscode.proposed.inlineEdit.d.ts +0 -88
- package/vscode-dts/vscode.proposed.interactive.d.ts +0 -11
- package/vscode-dts/vscode.proposed.interactiveWindow.d.ts +0 -25
- package/vscode-dts/vscode.proposed.ipc.d.ts +0 -37
- package/vscode-dts/vscode.proposed.languageModelSystem.d.ts +0 -17
- package/vscode-dts/vscode.proposed.languageStatusText.d.ts +0 -12
- package/vscode-dts/vscode.proposed.lmTools.d.ts +0 -9
- package/vscode-dts/vscode.proposed.mappedEditsProvider.d.ts +0 -87
- package/vscode-dts/vscode.proposed.multiDocumentHighlightProvider.d.ts +0 -63
- package/vscode-dts/vscode.proposed.newSymbolNamesProvider.d.ts +0 -47
- package/vscode-dts/vscode.proposed.notebookCellExecution.d.ts +0 -44
- package/vscode-dts/vscode.proposed.notebookCellExecutionState.d.ts +0 -52
- package/vscode-dts/vscode.proposed.notebookControllerAffinityHidden.d.ts +0 -17
- package/vscode-dts/vscode.proposed.notebookDeprecated.d.ts +0 -16
- package/vscode-dts/vscode.proposed.notebookExecution.d.ts +0 -39
- package/vscode-dts/vscode.proposed.notebookKernelSource.d.ts +0 -46
- package/vscode-dts/vscode.proposed.notebookLiveShare.d.ts +0 -21
- package/vscode-dts/vscode.proposed.notebookMessaging.d.ts +0 -68
- package/vscode-dts/vscode.proposed.notebookMime.d.ts +0 -33
- package/vscode-dts/vscode.proposed.notebookReplDocument.d.ts +0 -33
- package/vscode-dts/vscode.proposed.notebookVariableProvider.d.ts +0 -55
- package/vscode-dts/vscode.proposed.portsAttributes.d.ts +0 -100
- package/vscode-dts/vscode.proposed.profileContentHandlers.d.ts +0 -19
- package/vscode-dts/vscode.proposed.quickDiffProvider.d.ts +0 -17
- package/vscode-dts/vscode.proposed.quickInputButtonLocation.d.ts +0 -29
- package/vscode-dts/vscode.proposed.quickPickItemTooltip.d.ts +0 -16
- package/vscode-dts/vscode.proposed.quickPickSortByLabel.d.ts +0 -19
- package/vscode-dts/vscode.proposed.resolvers.d.ts +0 -475
- package/vscode-dts/vscode.proposed.scmActionButton.d.ts +0 -18
- package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +0 -88
- package/vscode-dts/vscode.proposed.scmMultiDiffEditor.d.ts +0 -34
- package/vscode-dts/vscode.proposed.scmSelectedProvider.d.ts +0 -22
- package/vscode-dts/vscode.proposed.scmTextDocument.d.ts +0 -19
- package/vscode-dts/vscode.proposed.scmValidation.d.ts +0 -60
- package/vscode-dts/vscode.proposed.shareProvider.d.ts +0 -74
- package/vscode-dts/vscode.proposed.showLocal.d.ts +0 -19
- package/vscode-dts/vscode.proposed.speech.d.ts +0 -74
- package/vscode-dts/vscode.proposed.tabInputMultiDiff.d.ts +0 -22
- package/vscode-dts/vscode.proposed.tabInputTextMerge.d.ts +0 -25
- package/vscode-dts/vscode.proposed.taskPresentationGroup.d.ts +0 -16
- package/vscode-dts/vscode.proposed.telemetry.d.ts +0 -36
- package/vscode-dts/vscode.proposed.terminalDataWriteEvent.d.ts +0 -32
- package/vscode-dts/vscode.proposed.terminalDimensions.d.ts +0 -39
- package/vscode-dts/vscode.proposed.terminalExecuteCommandEvent.d.ts +0 -48
- package/vscode-dts/vscode.proposed.terminalQuickFixProvider.d.ts +0 -87
- package/vscode-dts/vscode.proposed.terminalSelection.d.ts +0 -16
- package/vscode-dts/vscode.proposed.testObserver.d.ts +0 -199
- package/vscode-dts/vscode.proposed.testRelatedCode.d.ts +0 -36
- package/vscode-dts/vscode.proposed.textSearchCompleteNew.d.ts +0 -38
- package/vscode-dts/vscode.proposed.textSearchProvider.d.ts +0 -281
- package/vscode-dts/vscode.proposed.textSearchProviderNew.d.ts +0 -275
- package/vscode-dts/vscode.proposed.timeline.d.ts +0 -163
- package/vscode-dts/vscode.proposed.tokenInformation.d.ts +0 -26
- package/vscode-dts/vscode.proposed.treeViewActiveItem.d.ts +0 -30
- package/vscode-dts/vscode.proposed.treeViewMarkdownMessage.d.ts +0 -28
- package/vscode-dts/vscode.proposed.treeViewReveal.d.ts +0 -13
- package/vscode-dts/vscode.proposed.tunnelFactory.d.ts +0 -48
- package/vscode-dts/vscode.proposed.tunnels.d.ts +0 -64
- package/vscode-dts/vscode.proposed.workspaceTrust.d.ts +0 -30
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
declare module 'vscode' {
|
|
8
|
-
export namespace debug {
|
|
9
|
-
/**
|
|
10
|
-
* Registers a custom data visualization for variables when debugging.
|
|
11
|
-
*
|
|
12
|
-
* @param id The corresponding ID in the package.json `debugVisualizers` contribution point.
|
|
13
|
-
* @param provider The {@link DebugVisualizationProvider} to register
|
|
14
|
-
*/
|
|
15
|
-
export function registerDebugVisualizationProvider<T extends DebugVisualization>(
|
|
16
|
-
id: string,
|
|
17
|
-
provider: DebugVisualizationProvider<T>
|
|
18
|
-
): Disposable;
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Registers a tree that can be referenced by {@link DebugVisualization.visualization}.
|
|
22
|
-
* @param id
|
|
23
|
-
* @param provider
|
|
24
|
-
*/
|
|
25
|
-
export function registerDebugVisualizationTreeProvider<T extends DebugTreeItem>(
|
|
26
|
-
id: string,
|
|
27
|
-
provider: DebugVisualizationTree<T>
|
|
28
|
-
): Disposable;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* An item from the {@link DebugVisualizationTree}
|
|
33
|
-
*/
|
|
34
|
-
export interface DebugTreeItem {
|
|
35
|
-
/**
|
|
36
|
-
* A human-readable string describing this item.
|
|
37
|
-
*/
|
|
38
|
-
label: string;
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* A human-readable string which is rendered less prominent.
|
|
42
|
-
*/
|
|
43
|
-
description?: string;
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* {@link TreeItemCollapsibleState} of the tree item.
|
|
47
|
-
*/
|
|
48
|
-
collapsibleState?: TreeItemCollapsibleState;
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Context value of the tree item. This can be used to contribute item specific actions in the tree.
|
|
52
|
-
* For example, a tree item is given a context value as `folder`. When contributing actions to `view/item/context`
|
|
53
|
-
* using `menus` extension point, you can specify context value for key `viewItem` in `when` expression like `viewItem == folder`.
|
|
54
|
-
* ```json
|
|
55
|
-
* "contributes": {
|
|
56
|
-
* "menus": {
|
|
57
|
-
* "view/item/context": [
|
|
58
|
-
* {
|
|
59
|
-
* "command": "extension.deleteFolder",
|
|
60
|
-
* "when": "viewItem == folder"
|
|
61
|
-
* }
|
|
62
|
-
* ]
|
|
63
|
-
* }
|
|
64
|
-
* }
|
|
65
|
-
* ```
|
|
66
|
-
* This will show action `extension.deleteFolder` only for items with `contextValue` is `folder`.
|
|
67
|
-
*/
|
|
68
|
-
contextValue?: string;
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Whether this item can be edited by the user.
|
|
72
|
-
*/
|
|
73
|
-
canEdit?: boolean;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Provides a tree that can be referenced in debug visualizations.
|
|
78
|
-
*/
|
|
79
|
-
export interface DebugVisualizationTree<T extends DebugTreeItem = DebugTreeItem> {
|
|
80
|
-
/**
|
|
81
|
-
* Gets the tree item for an element or the base context item.
|
|
82
|
-
*/
|
|
83
|
-
getTreeItem(context: DebugVisualizationContext): ProviderResult<T>;
|
|
84
|
-
/**
|
|
85
|
-
* Gets children for the tree item or the best context item.
|
|
86
|
-
*/
|
|
87
|
-
getChildren(element: T): ProviderResult<T[]>;
|
|
88
|
-
/**
|
|
89
|
-
* Handles the user editing an item.
|
|
90
|
-
*/
|
|
91
|
-
editItem?(item: T, value: string): ProviderResult<T>;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export class DebugVisualization {
|
|
95
|
-
/**
|
|
96
|
-
* The name of the visualization to show to the user.
|
|
97
|
-
*/
|
|
98
|
-
name: string;
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* An icon for the view when it's show in inline actions.
|
|
102
|
-
*/
|
|
103
|
-
iconPath?: Uri | { light: Uri; dark: Uri } | ThemeIcon;
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* Visualization to use for the variable. This may be either:
|
|
107
|
-
* - A command to run when the visualization is selected for a variable.
|
|
108
|
-
* - A reference to a previously-registered {@link DebugVisualizationTree}
|
|
109
|
-
*/
|
|
110
|
-
visualization?: Command | { treeId: string };
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* Creates a new debug visualization object.
|
|
114
|
-
* @param name Name of the visualization to show to the user.
|
|
115
|
-
*/
|
|
116
|
-
constructor(name: string);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
export interface DebugVisualizationProvider<T extends DebugVisualization = DebugVisualization> {
|
|
120
|
-
/**
|
|
121
|
-
* Called for each variable when the debug session stops. It should return
|
|
122
|
-
* any visualizations the extension wishes to show to the user.
|
|
123
|
-
*
|
|
124
|
-
* Note that this is only called when its `when` clause defined under the
|
|
125
|
-
* `debugVisualizers` contribution point in the `package.json` evaluates
|
|
126
|
-
* to true.
|
|
127
|
-
*/
|
|
128
|
-
provideDebugVisualization(context: DebugVisualizationContext, token: CancellationToken): ProviderResult<T[]>;
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* Invoked for a variable when a user picks the visualizer.
|
|
132
|
-
*
|
|
133
|
-
* It may return a {@link TreeView} that's shown in the Debug Console or
|
|
134
|
-
* inline in a hover. A visualizer may choose to return `undefined` from
|
|
135
|
-
* this function and instead trigger other actions in the UI, such as opening
|
|
136
|
-
* a custom {@link WebviewView}.
|
|
137
|
-
*/
|
|
138
|
-
resolveDebugVisualization?(visualization: T, token: CancellationToken): ProviderResult<T>;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
export interface DebugVisualizationContext {
|
|
142
|
-
/**
|
|
143
|
-
* The Debug Adapter Protocol Variable to be visualized.
|
|
144
|
-
* @see https://microsoft.github.io/debug-adapter-protocol/specification#Types_Variable
|
|
145
|
-
*/
|
|
146
|
-
variable: any;
|
|
147
|
-
/**
|
|
148
|
-
* The Debug Adapter Protocol variable reference the type (such as a scope
|
|
149
|
-
* or another variable) that contained this one. Empty for variables
|
|
150
|
-
* that came from user evaluations in the Debug Console.
|
|
151
|
-
* @see https://microsoft.github.io/debug-adapter-protocol/specification#Types_Variable
|
|
152
|
-
*/
|
|
153
|
-
containerId?: number;
|
|
154
|
-
/**
|
|
155
|
-
* The ID of the Debug Adapter Protocol StackFrame in which the variable was found,
|
|
156
|
-
* for variables that came from scopes in a stack frame.
|
|
157
|
-
* @see https://microsoft.github.io/debug-adapter-protocol/specification#Types_StackFrame
|
|
158
|
-
*/
|
|
159
|
-
frameId?: number;
|
|
160
|
-
/**
|
|
161
|
-
* The ID of the Debug Adapter Protocol Thread in which the variable was found.
|
|
162
|
-
* @see https://microsoft.github.io/debug-adapter-protocol/specification#Types_StackFrame
|
|
163
|
-
*/
|
|
164
|
-
threadId: number;
|
|
165
|
-
/**
|
|
166
|
-
* The debug session the variable belongs to.
|
|
167
|
-
*/
|
|
168
|
-
session: DebugSession;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
|
|
6
|
-
// version: 2
|
|
7
|
-
|
|
8
|
-
declare module 'vscode' {
|
|
9
|
-
|
|
10
|
-
export interface ChatWelcomeMessageContent {
|
|
11
|
-
icon: ThemeIcon;
|
|
12
|
-
title: string;
|
|
13
|
-
message: MarkdownString;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export interface ChatWelcomeMessageProvider {
|
|
17
|
-
provideWelcomeMessage?(token: CancellationToken): ProviderResult<ChatWelcomeMessageContent>;
|
|
18
|
-
provideSampleQuestions?(location: ChatLocation, token: CancellationToken): ProviderResult<ChatFollowup[]>;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export interface ChatRequesterInformation {
|
|
22
|
-
name: string;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* A full URI for the icon of the request.
|
|
26
|
-
*/
|
|
27
|
-
icon?: Uri;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface ChatTitleProvider {
|
|
31
|
-
/**
|
|
32
|
-
* TODO@API Should this take a ChatResult like the followup provider, or just take a new ChatContext that includes the current message as history?
|
|
33
|
-
*/
|
|
34
|
-
provideChatTitle(context: ChatContext, token: CancellationToken): ProviderResult<string>;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export interface ChatParticipant {
|
|
38
|
-
/**
|
|
39
|
-
* When true, this participant is invoked when the user submits their query using ctrl/cmd+enter
|
|
40
|
-
* TODO@API name
|
|
41
|
-
*/
|
|
42
|
-
isSecondary?: boolean;
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* A string that will be added before the listing of chat participants in `/help`.
|
|
46
|
-
*/
|
|
47
|
-
helpTextPrefix?: string | MarkdownString;
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* A string that will be added before the listing of chat variables in `/help`.
|
|
51
|
-
*/
|
|
52
|
-
helpTextVariablesPrefix?: string | MarkdownString;
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* A string that will be appended after the listing of chat participants in `/help`.
|
|
56
|
-
*/
|
|
57
|
-
helpTextPostfix?: string | MarkdownString;
|
|
58
|
-
|
|
59
|
-
welcomeMessageProvider?: ChatWelcomeMessageProvider;
|
|
60
|
-
titleProvider?: ChatTitleProvider;
|
|
61
|
-
requester?: ChatRequesterInformation;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
|
|
6
|
-
declare module 'vscode' {
|
|
7
|
-
|
|
8
|
-
// https://github.com/microsoft/vscode/issues/84899
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* The contiguous set of modified lines in a diff.
|
|
12
|
-
*/
|
|
13
|
-
export interface LineChange {
|
|
14
|
-
readonly originalStartLineNumber: number;
|
|
15
|
-
readonly originalEndLineNumber: number;
|
|
16
|
-
readonly modifiedStartLineNumber: number;
|
|
17
|
-
readonly modifiedEndLineNumber: number;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export namespace commands {
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Registers a diff information command that can be invoked via a keyboard shortcut,
|
|
24
|
-
* a menu item, an action, or directly.
|
|
25
|
-
*
|
|
26
|
-
* Diff information commands are different from ordinary {@link commands.registerCommand commands} as
|
|
27
|
-
* they only execute when there is an active diff editor when the command is called, and the diff
|
|
28
|
-
* information has been computed. Also, the command handler of an editor command has access to
|
|
29
|
-
* the diff information.
|
|
30
|
-
*
|
|
31
|
-
* @param command A unique identifier for the command.
|
|
32
|
-
* @param callback A command handler function with access to the {@link LineChange diff information}.
|
|
33
|
-
* @param thisArg The `this` context used when invoking the handler function.
|
|
34
|
-
* @return Disposable which unregisters this command on disposal.
|
|
35
|
-
*/
|
|
36
|
-
export function registerDiffInformationCommand(command: string, callback: (diff: LineChange[], ...args: any[]) => any, thisArg?: any): Disposable;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
|
|
6
|
-
declare module 'vscode' {
|
|
7
|
-
// TODO@rebornix: add github issue link
|
|
8
|
-
|
|
9
|
-
export interface NotebookDocumentContentOptions {
|
|
10
|
-
/**
|
|
11
|
-
* Controls if a cell metadata property should be reverted when the cell content
|
|
12
|
-
* is reverted in notebook diff editor.
|
|
13
|
-
*/
|
|
14
|
-
cellContentMetadata?: { [key: string]: boolean | undefined };
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
|
|
6
|
-
declare module 'vscode' {
|
|
7
|
-
|
|
8
|
-
// todo@jrieken add issue reference
|
|
9
|
-
|
|
10
|
-
export interface DocumentFilter {
|
|
11
|
-
readonly exclusive?: boolean;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,297 +0,0 @@
|
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
|
|
6
|
-
declare module 'vscode' {
|
|
7
|
-
|
|
8
|
-
// https://github.com/microsoft/vscode/issues/30066/
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Identifies a {@linkcode DocumentDropEdit} or {@linkcode DocumentPasteEdit}
|
|
12
|
-
*/
|
|
13
|
-
class DocumentDropOrPasteEditKind {
|
|
14
|
-
static readonly Empty: DocumentDropOrPasteEditKind;
|
|
15
|
-
|
|
16
|
-
private constructor(value: string);
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* The raw string value of the kind.
|
|
20
|
-
*/
|
|
21
|
-
readonly value: string;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Create a new kind by appending additional scopes to the current kind.
|
|
25
|
-
*
|
|
26
|
-
* Does not modify the current kind.
|
|
27
|
-
*/
|
|
28
|
-
append(...parts: string[]): DocumentDropOrPasteEditKind;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Checks if this kind intersects `other`.
|
|
32
|
-
*
|
|
33
|
-
* The kind `"text.plain"` for example intersects `text`, `"text.plain"` and `"text.plain.list"`,
|
|
34
|
-
* but not `"unicorn"`, or `"textUnicorn.plain"`.
|
|
35
|
-
*
|
|
36
|
-
* @param other Kind to check.
|
|
37
|
-
*/
|
|
38
|
-
intersects(other: DocumentDropOrPasteEditKind): boolean;
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Checks if `other` is a sub-kind of this `DocumentDropOrPasteEditKind`.
|
|
42
|
-
*
|
|
43
|
-
* The kind `"text.plain"` for example contains `"text.plain"` and `"text.plain.list"`,
|
|
44
|
-
* but not `"text"` or `"unicorn.text.plain"`.
|
|
45
|
-
*
|
|
46
|
-
* @param other Kind to check.
|
|
47
|
-
*/
|
|
48
|
-
contains(other: DocumentDropOrPasteEditKind): boolean;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* The reason why paste edits were requested.
|
|
53
|
-
*/
|
|
54
|
-
export enum DocumentPasteTriggerKind {
|
|
55
|
-
/**
|
|
56
|
-
* Pasting was requested as part of a normal paste operation.
|
|
57
|
-
*/
|
|
58
|
-
Automatic = 0,
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Pasting was requested by the user with the `paste as` command.
|
|
62
|
-
*/
|
|
63
|
-
PasteAs = 1,
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Additional information about the paste operation.
|
|
68
|
-
*/
|
|
69
|
-
|
|
70
|
-
export interface DocumentPasteEditContext {
|
|
71
|
-
/**
|
|
72
|
-
* Requested kind of paste edits to return.
|
|
73
|
-
*/
|
|
74
|
-
readonly only: DocumentDropOrPasteEditKind | undefined;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* The reason why paste edits were requested.
|
|
78
|
-
*/
|
|
79
|
-
readonly triggerKind: DocumentPasteTriggerKind;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* Provider invoked when the user copies or pastes in a {@linkcode TextDocument}.
|
|
84
|
-
*/
|
|
85
|
-
interface DocumentPasteEditProvider<T extends DocumentPasteEdit = DocumentPasteEdit> {
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* Optional method invoked after the user copies from a {@link TextEditor text editor}.
|
|
89
|
-
*
|
|
90
|
-
* This allows the provider to attach metadata about the copied text to the {@link DataTransfer}. This data
|
|
91
|
-
* transfer is then passed back to providers in {@linkcode provideDocumentPasteEdits}.
|
|
92
|
-
*
|
|
93
|
-
* Note that currently any changes to the {@linkcode DataTransfer} are isolated to the current editor window.
|
|
94
|
-
* This means that any added metadata cannot be seen by other editor windows or by other applications.
|
|
95
|
-
*
|
|
96
|
-
* @param document Text document where the copy took place.
|
|
97
|
-
* @param ranges Ranges being copied in {@linkcode document}.
|
|
98
|
-
* @param dataTransfer The data transfer associated with the copy. You can store additional values on this for
|
|
99
|
-
* later use in {@linkcode provideDocumentPasteEdits}. This object is only valid for the duration of this method.
|
|
100
|
-
* @param token A cancellation token.
|
|
101
|
-
*
|
|
102
|
-
* @return Optional thenable that resolves when all changes to the `dataTransfer` are complete.
|
|
103
|
-
*/
|
|
104
|
-
prepareDocumentPaste?(document: TextDocument, ranges: readonly Range[], dataTransfer: DataTransfer, token: CancellationToken): void | Thenable<void>;
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* Invoked before the user pastes into a {@link TextEditor text editor}.
|
|
108
|
-
*
|
|
109
|
-
* Returned edits can replace the standard pasting behavior.
|
|
110
|
-
*
|
|
111
|
-
* @param document Document being pasted into
|
|
112
|
-
* @param ranges Range in the {@linkcode document} to paste into.
|
|
113
|
-
* @param dataTransfer The {@link DataTransfer data transfer} associated with the paste. This object is only
|
|
114
|
-
* valid for the duration of the paste operation.
|
|
115
|
-
* @param context Additional context for the paste.
|
|
116
|
-
* @param token A cancellation token.
|
|
117
|
-
*
|
|
118
|
-
* @return Set of potential {@link DocumentPasteEdit edits} that can apply the paste. Only a single returned
|
|
119
|
-
* {@linkcode DocumentPasteEdit} is applied at a time. If multiple edits are returned from all providers, then
|
|
120
|
-
* the first is automatically applied and a widget is shown that lets the user switch to the other edits.
|
|
121
|
-
*/
|
|
122
|
-
provideDocumentPasteEdits?(document: TextDocument, ranges: readonly Range[], dataTransfer: DataTransfer, context: DocumentPasteEditContext, token: CancellationToken): ProviderResult<T[]>;
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* Optional method which fills in the {@linkcode DocumentPasteEdit.additionalEdit} before the edit is applied.
|
|
126
|
-
*
|
|
127
|
-
* This is called once per edit and should be used if generating the complete edit may take a long time.
|
|
128
|
-
* Resolve can only be used to change {@linkcode DocumentPasteEdit.additionalEdit}.
|
|
129
|
-
*
|
|
130
|
-
* @param pasteEdit The {@linkcode DocumentPasteEdit} to resolve.
|
|
131
|
-
* @param token A cancellation token.
|
|
132
|
-
*
|
|
133
|
-
* @returns The resolved paste edit or a thenable that resolves to such. It is OK to return the given
|
|
134
|
-
* `pasteEdit`. If no result is returned, the given `pasteEdit` is used.
|
|
135
|
-
*/
|
|
136
|
-
resolveDocumentPasteEdit?(pasteEdit: T, token: CancellationToken): ProviderResult<T>;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* An edit the applies a paste operation.
|
|
141
|
-
*/
|
|
142
|
-
class DocumentPasteEdit {
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* Human readable label that describes the edit.
|
|
146
|
-
*/
|
|
147
|
-
title: string;
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* {@link DocumentDropOrPasteEditKind Kind} of the edit.
|
|
151
|
-
*/
|
|
152
|
-
kind: DocumentDropOrPasteEditKind;
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* The text or snippet to insert at the pasted locations.
|
|
156
|
-
*
|
|
157
|
-
* If your edit requires more advanced insertion logic, set this to an empty string and provide an {@link DocumentPasteEdit.additionalEdit additional edit} instead.
|
|
158
|
-
*/
|
|
159
|
-
insertText: string | SnippetString;
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* An optional additional edit to apply on paste.
|
|
163
|
-
*/
|
|
164
|
-
additionalEdit?: WorkspaceEdit;
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* Controls ordering when multiple paste edits can potentially be applied.
|
|
168
|
-
*
|
|
169
|
-
* If this edit yields to another, it will be shown lower in the list of possible paste edits shown to the user.
|
|
170
|
-
*/
|
|
171
|
-
yieldTo?: readonly DocumentDropOrPasteEditKind[];
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* Create a new paste edit.
|
|
175
|
-
*
|
|
176
|
-
* @param insertText The text or snippet to insert at the pasted locations.
|
|
177
|
-
* @param title Human readable label that describes the edit.
|
|
178
|
-
* @param kind {@link DocumentDropOrPasteEditKind Kind} of the edit.
|
|
179
|
-
*/
|
|
180
|
-
constructor(insertText: string | SnippetString, title: string, kind: DocumentDropOrPasteEditKind);
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* Provides additional metadata about how a {@linkcode DocumentPasteEditProvider} works.
|
|
185
|
-
*/
|
|
186
|
-
interface DocumentPasteProviderMetadata {
|
|
187
|
-
/**
|
|
188
|
-
* List of {@link DocumentDropOrPasteEditKind kinds} that the provider may return in {@linkcode DocumentPasteEditProvider.provideDocumentPasteEdits provideDocumentPasteEdits}.
|
|
189
|
-
*
|
|
190
|
-
* This is used to filter out providers when a specific {@link DocumentDropOrPasteEditKind kind} of edit is requested.
|
|
191
|
-
*/
|
|
192
|
-
readonly providedPasteEditKinds: readonly DocumentDropOrPasteEditKind[];
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* Mime types that {@linkcode DocumentPasteEditProvider.prepareDocumentPaste prepareDocumentPaste} may add on copy.
|
|
196
|
-
*/
|
|
197
|
-
readonly copyMimeTypes?: readonly string[];
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
* Mime types that {@linkcode DocumentPasteEditProvider.provideDocumentPasteEdits provideDocumentPasteEdits} should be invoked for.
|
|
201
|
-
*
|
|
202
|
-
* This can either be an exact mime type such as `image/png`, or a wildcard pattern such as `image/*`.
|
|
203
|
-
*
|
|
204
|
-
* Use `text/uri-list` for resources dropped from the explorer or other tree views in the workbench.
|
|
205
|
-
*
|
|
206
|
-
* Use `files` to indicate that the provider should be invoked if any {@link DataTransferFile files} are present in the {@linkcode DataTransfer}.
|
|
207
|
-
* Note that {@linkcode DataTransferFile} entries are only created when pasting content from outside the editor, such as
|
|
208
|
-
* from the operating system.
|
|
209
|
-
*/
|
|
210
|
-
readonly pasteMimeTypes?: readonly string[];
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* TODO on finalization:
|
|
215
|
-
* - Add ctor(insertText: string | SnippetString, title?: string, kind?: DocumentDropOrPasteEditKind); Can't be done as this is an extension to an existing class
|
|
216
|
-
*/
|
|
217
|
-
|
|
218
|
-
export interface DocumentDropEdit {
|
|
219
|
-
/**
|
|
220
|
-
* Human readable label that describes the edit.
|
|
221
|
-
*/
|
|
222
|
-
title?: string;
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* {@link DocumentDropOrPasteEditKind Kind} of the edit.
|
|
226
|
-
*/
|
|
227
|
-
kind: DocumentDropOrPasteEditKind;
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* Controls the ordering or multiple edits. If this provider yield to edits, it will be shown lower in the list.
|
|
231
|
-
*/
|
|
232
|
-
yieldTo?: readonly DocumentDropOrPasteEditKind[];
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
export interface DocumentDropEditProvider<T extends DocumentDropEdit = DocumentDropEdit> {
|
|
236
|
-
// Overload that allows returning multiple edits
|
|
237
|
-
// Will be merged in on finalization
|
|
238
|
-
provideDocumentDropEdits(document: TextDocument, position: Position, dataTransfer: DataTransfer, token: CancellationToken): ProviderResult<DocumentDropEdit | DocumentDropEdit[]>;
|
|
239
|
-
|
|
240
|
-
/**
|
|
241
|
-
* Optional method which fills in the {@linkcode DocumentDropEdit.additionalEdit} before the edit is applied.
|
|
242
|
-
*
|
|
243
|
-
* This is called once per edit and should be used if generating the complete edit may take a long time.
|
|
244
|
-
* Resolve can only be used to change {@link DocumentDropEdit.additionalEdit}.
|
|
245
|
-
*
|
|
246
|
-
* @param pasteEdit The {@linkcode DocumentDropEdit} to resolve.
|
|
247
|
-
* @param token A cancellation token.
|
|
248
|
-
*
|
|
249
|
-
* @returns The resolved edit or a thenable that resolves to such. It is OK to return the given
|
|
250
|
-
* `edit`. If no result is returned, the given `edit` is used.
|
|
251
|
-
*/
|
|
252
|
-
resolveDocumentDropEdit?(edit: T, token: CancellationToken): ProviderResult<T>;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
/**
|
|
256
|
-
* Provides additional metadata about how a {@linkcode DocumentDropEditProvider} works.
|
|
257
|
-
*/
|
|
258
|
-
export interface DocumentDropEditProviderMetadata {
|
|
259
|
-
/**
|
|
260
|
-
* List of {@link DocumentDropOrPasteEditKind kinds} that the provider may return in {@linkcode DocumentDropEditProvider.provideDocumentDropEdits provideDocumentDropEdits}.
|
|
261
|
-
*
|
|
262
|
-
* This is used to filter out providers when a specific {@link DocumentDropOrPasteEditKind kind} of edit is requested.
|
|
263
|
-
*/
|
|
264
|
-
readonly providedDropEditKinds?: readonly DocumentDropOrPasteEditKind[];
|
|
265
|
-
|
|
266
|
-
/**
|
|
267
|
-
* List of {@link DataTransfer} mime types that the provider can handle.
|
|
268
|
-
*
|
|
269
|
-
* This can either be an exact mime type such as `image/png`, or a wildcard pattern such as `image/*`.
|
|
270
|
-
*
|
|
271
|
-
* Use `text/uri-list` for resources dropped from the explorer or other tree views in the workbench.
|
|
272
|
-
*
|
|
273
|
-
* Use `files` to indicate that the provider should be invoked if any {@link DataTransferFile files} are present in the {@link DataTransfer}.
|
|
274
|
-
* Note that {@link DataTransferFile} entries are only created when dropping content from outside the editor, such as
|
|
275
|
-
* from the operating system.
|
|
276
|
-
*/
|
|
277
|
-
readonly dropMimeTypes: readonly string[];
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
namespace languages {
|
|
281
|
-
/**
|
|
282
|
-
* Registers a new {@linkcode DocumentPasteEditProvider}.
|
|
283
|
-
*
|
|
284
|
-
* @param selector A selector that defines the documents this provider applies to.
|
|
285
|
-
* @param provider A paste editor provider.
|
|
286
|
-
* @param metadata Additional metadata about the provider.
|
|
287
|
-
*
|
|
288
|
-
* @returns A {@link Disposable} that unregisters this provider when disposed of.
|
|
289
|
-
*/
|
|
290
|
-
export function registerDocumentPasteEditProvider(selector: DocumentSelector, provider: DocumentPasteEditProvider, metadata: DocumentPasteProviderMetadata): Disposable;
|
|
291
|
-
|
|
292
|
-
/**
|
|
293
|
-
* Overload which adds extra metadata. Will be removed on finalization.
|
|
294
|
-
*/
|
|
295
|
-
export function registerDocumentDropEditProvider(selector: DocumentSelector, provider: DocumentDropEditProvider, metadata?: DocumentDropEditProviderMetadata): Disposable;
|
|
296
|
-
}
|
|
297
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
|
|
6
|
-
declare module 'vscode' {
|
|
7
|
-
|
|
8
|
-
// https://github.com/microsoft/vscode/issues/157734
|
|
9
|
-
|
|
10
|
-
export namespace workspace {
|
|
11
|
-
/**
|
|
12
|
-
* An event that is emitted when an edit session identity is about to be requested.
|
|
13
|
-
*/
|
|
14
|
-
export const onWillCreateEditSessionIdentity: Event<EditSessionIdentityWillCreateEvent>;
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @param scheme The URI scheme that this provider can provide edit session identities for.
|
|
19
|
-
* @param provider A provider which can convert URIs for workspace folders of scheme @param scheme to
|
|
20
|
-
* an edit session identifier which is stable across machines. This enables edit sessions to be resolved.
|
|
21
|
-
*/
|
|
22
|
-
export function registerEditSessionIdentityProvider(scheme: string, provider: EditSessionIdentityProvider): Disposable;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export interface EditSessionIdentityProvider {
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @param workspaceFolder The workspace folder to provide an edit session identity for.
|
|
29
|
-
* @param token A cancellation token for the request.
|
|
30
|
-
* @returns A string representing the edit session identity for the requested workspace folder.
|
|
31
|
-
*/
|
|
32
|
-
provideEditSessionIdentity(workspaceFolder: WorkspaceFolder, token: CancellationToken): ProviderResult<string>;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @param identity1 An edit session identity.
|
|
37
|
-
* @param identity2 A second edit session identity to compare to @param identity1.
|
|
38
|
-
* @param token A cancellation token for the request.
|
|
39
|
-
* @returns An {@link EditSessionIdentityMatch} representing the edit session identity match confidence for the provided identities.
|
|
40
|
-
*/
|
|
41
|
-
provideEditSessionIdentityMatch(identity1: string, identity2: string, token: CancellationToken): ProviderResult<EditSessionIdentityMatch>;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export enum EditSessionIdentityMatch {
|
|
45
|
-
Complete = 100,
|
|
46
|
-
Partial = 50,
|
|
47
|
-
None = 0
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export interface EditSessionIdentityWillCreateEvent {
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* A cancellation token.
|
|
54
|
-
*/
|
|
55
|
-
readonly token: CancellationToken;
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* The workspace folder to create an edit session identity for.
|
|
59
|
-
*/
|
|
60
|
-
readonly workspaceFolder: WorkspaceFolder;
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Allows to pause the event until the provided thenable resolves.
|
|
64
|
-
*
|
|
65
|
-
* *Note:* This function can only be called during event dispatch.
|
|
66
|
-
*
|
|
67
|
-
* @param thenable A thenable that delays saving.
|
|
68
|
-
*/
|
|
69
|
-
waitUntil(thenable: Thenable<any>): void;
|
|
70
|
-
}
|
|
71
|
-
}
|