@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,110 +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
|
-
export namespace chat {
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Register a variable which can be used in a chat request to any participant.
|
|
12
|
-
* @param id A unique ID for the variable.
|
|
13
|
-
* @param name The name of the variable, to be used in the chat input as `#name`.
|
|
14
|
-
* @param userDescription A description of the variable for the chat input suggest widget.
|
|
15
|
-
* @param modelDescription A description of the variable for the model.
|
|
16
|
-
* @param isSlow Temp, to limit access to '#codebase' which is not a 'reference' and will fit into a tools API later.
|
|
17
|
-
* @param resolver Will be called to provide the chat variable's value when it is used.
|
|
18
|
-
* @param fullName The full name of the variable when selecting context in the picker UI.
|
|
19
|
-
* @param icon An icon to display when selecting context in the picker UI.
|
|
20
|
-
*/
|
|
21
|
-
export function registerChatVariableResolver(id: string, name: string, userDescription: string, modelDescription: string | undefined, isSlow: boolean | undefined, resolver: ChatVariableResolver, fullName?: string, icon?: ThemeIcon): Disposable;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export interface ChatVariableValue {
|
|
25
|
-
/**
|
|
26
|
-
* The detail level of this chat variable value. If possible, variable resolvers should try to offer shorter values that will consume fewer tokens in an LLM prompt.
|
|
27
|
-
*/
|
|
28
|
-
level: ChatVariableLevel;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* The variable's value, which can be included in an LLM prompt as-is, or the chat participant may decide to read the value and do something else with it.
|
|
32
|
-
*/
|
|
33
|
-
value: string | Uri;
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* A description of this value, which could be provided to the LLM as a hint.
|
|
37
|
-
*/
|
|
38
|
-
description?: string;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
// TODO@API align with ChatRequest
|
|
42
|
-
export interface ChatVariableContext {
|
|
43
|
-
/**
|
|
44
|
-
* The message entered by the user, which includes this variable.
|
|
45
|
-
*/
|
|
46
|
-
// TODO@API AS-IS, variables as types, agent/commands stripped
|
|
47
|
-
prompt: string;
|
|
48
|
-
|
|
49
|
-
// readonly variables: readonly ChatResolvedVariable[];
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export interface ChatVariableResolver {
|
|
53
|
-
/**
|
|
54
|
-
* A callback to resolve the value of a chat variable.
|
|
55
|
-
* @param name The name of the variable.
|
|
56
|
-
* @param context Contextual information about this chat request.
|
|
57
|
-
* @param token A cancellation token.
|
|
58
|
-
*/
|
|
59
|
-
resolve(name: string, context: ChatVariableContext, token: CancellationToken): ProviderResult<ChatVariableValue[]>;
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* A callback to resolve the value of a chat variable.
|
|
63
|
-
* @param name The name of the variable.
|
|
64
|
-
* @param context Contextual information about this chat request.
|
|
65
|
-
* @param token A cancellation token.
|
|
66
|
-
*/
|
|
67
|
-
resolve2?(name: string, context: ChatVariableContext, stream: ChatVariableResolverResponseStream, token: CancellationToken): ProviderResult<ChatVariableValue[]>;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* The detail level of this chat variable value.
|
|
73
|
-
*/
|
|
74
|
-
export enum ChatVariableLevel {
|
|
75
|
-
Short = 1,
|
|
76
|
-
Medium = 2,
|
|
77
|
-
Full = 3
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export interface ChatVariableResolverResponseStream {
|
|
81
|
-
/**
|
|
82
|
-
* Push a progress part to this stream. Short-hand for
|
|
83
|
-
* `push(new ChatResponseProgressPart(value))`.
|
|
84
|
-
*
|
|
85
|
-
* @param value
|
|
86
|
-
* @returns This stream.
|
|
87
|
-
*/
|
|
88
|
-
progress(value: string): ChatVariableResolverResponseStream;
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* Push a reference to this stream. Short-hand for
|
|
92
|
-
* `push(new ChatResponseReferencePart(value))`.
|
|
93
|
-
*
|
|
94
|
-
* *Note* that the reference is not rendered inline with the response.
|
|
95
|
-
*
|
|
96
|
-
* @param value A uri or location
|
|
97
|
-
* @returns This stream.
|
|
98
|
-
*/
|
|
99
|
-
reference(value: Uri | Location): ChatVariableResolverResponseStream;
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* Pushes a part to this stream.
|
|
103
|
-
*
|
|
104
|
-
* @param part A response part, rendered or metadata
|
|
105
|
-
*/
|
|
106
|
-
push(part: ChatVariableResolverResponsePart): ChatVariableResolverResponseStream;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
export type ChatVariableResolverResponsePart = ChatResponseProgressPart | ChatResponseReferencePart;
|
|
110
|
-
}
|
|
@@ -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
|
-
|
|
8
|
-
export interface CodeAction {
|
|
9
|
-
/**
|
|
10
|
-
* Marks this as an AI action.
|
|
11
|
-
*
|
|
12
|
-
* Ex: A quick fix should be marked AI if it invokes AI.
|
|
13
|
-
*/
|
|
14
|
-
isAI?: boolean;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,15 +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
|
-
export interface CodeAction {
|
|
9
|
-
/**
|
|
10
|
-
* The ranges to which this Code Action applies to, which will be highlighted.
|
|
11
|
-
* For example: A refactoring action will highlight the range of text that will be affected.
|
|
12
|
-
*/
|
|
13
|
-
ranges?: Range[];
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,48 +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/135591 @alexr00
|
|
9
|
-
|
|
10
|
-
// export interface FileDecorationProvider {
|
|
11
|
-
// provideFileDecoration(uri: Uri, token: CancellationToken): ProviderResult<FileDecoration | FileDecoration1>;
|
|
12
|
-
// }
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* A file decoration represents metadata that can be rendered with a file.
|
|
16
|
-
*/
|
|
17
|
-
export class FileDecoration2 {
|
|
18
|
-
/**
|
|
19
|
-
* A very short string that represents this decoration.
|
|
20
|
-
*/
|
|
21
|
-
badge?: string | ThemeIcon;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* A human-readable tooltip for this decoration.
|
|
25
|
-
*/
|
|
26
|
-
tooltip?: string;
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* The color of this decoration.
|
|
30
|
-
*/
|
|
31
|
-
color?: ThemeColor;
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* A flag expressing that this decoration should be
|
|
35
|
-
* propagated to its parents.
|
|
36
|
-
*/
|
|
37
|
-
propagate?: boolean;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Creates a new decoration.
|
|
41
|
-
*
|
|
42
|
-
* @param badge A letter that represents the decoration.
|
|
43
|
-
* @param tooltip The tooltip of the decoration.
|
|
44
|
-
* @param color The color of the decoration.
|
|
45
|
-
*/
|
|
46
|
-
constructor(badge?: string | ThemeIcon, tooltip?: string, color?: ThemeColor);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
@@ -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
|
-
// @alexr00 https://github.com/microsoft/vscode/issues/201131
|
|
9
|
-
|
|
10
|
-
export interface CommentReaction {
|
|
11
|
-
readonly reactors?: readonly CommentAuthorInformation[];
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,45 +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
|
-
// @alexr00 https://github.com/microsoft/vscode/issues/167253
|
|
9
|
-
|
|
10
|
-
export enum CommentThreadFocus {
|
|
11
|
-
/**
|
|
12
|
-
* Focus the comment editor if the thread supports replying.
|
|
13
|
-
*/
|
|
14
|
-
Reply = 1,
|
|
15
|
-
/**
|
|
16
|
-
* Focus the revealed comment.
|
|
17
|
-
*/
|
|
18
|
-
Comment = 2
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Options to reveal a comment thread in an editor.
|
|
23
|
-
*/
|
|
24
|
-
export interface CommentThreadRevealOptions {
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Where to move the focus to when revealing the comment thread.
|
|
28
|
-
* If undefined, the focus will not be changed.
|
|
29
|
-
*/
|
|
30
|
-
focus?: CommentThreadFocus;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export interface CommentThread2 {
|
|
34
|
-
/**
|
|
35
|
-
* Reveal the comment thread in an editor. If no comment is provided, the first comment in the thread will be revealed.
|
|
36
|
-
*/
|
|
37
|
-
reveal(comment?: Comment, options?: CommentThreadRevealOptions): Thenable<void>;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Collapse the comment thread in an editor.
|
|
41
|
-
*/
|
|
42
|
-
hide(): Thenable<void>;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
}
|
|
@@ -1,40 +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
|
-
// @alexr00 https://github.com/microsoft/vscode/issues/207402
|
|
9
|
-
|
|
10
|
-
export enum CommentThreadApplicability {
|
|
11
|
-
Current = 0,
|
|
12
|
-
Outdated = 1
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export interface CommentThread2 {
|
|
16
|
-
/* @api this is a bit weird for the extension now. The CommentThread is a managed object, which means it listens
|
|
17
|
-
* to when it's properties are set, but not if it's properties are modified. This means that this will not work to update the resolved state
|
|
18
|
-
*
|
|
19
|
-
* thread.state.resolved = CommentThreadState.Resolved;
|
|
20
|
-
*
|
|
21
|
-
* but this will work
|
|
22
|
-
*
|
|
23
|
-
* thread.state = {
|
|
24
|
-
* resolved: CommentThreadState.Resolved
|
|
25
|
-
* applicability: thread.state.applicability
|
|
26
|
-
* };
|
|
27
|
-
*
|
|
28
|
-
* Worth noting that we already have this problem for the `comments` property.
|
|
29
|
-
*/
|
|
30
|
-
state?: CommentThreadState | { resolved?: CommentThreadState; applicability?: CommentThreadApplicability };
|
|
31
|
-
readonly uri: Uri;
|
|
32
|
-
range: Range | undefined;
|
|
33
|
-
comments: readonly Comment[];
|
|
34
|
-
collapsibleState: CommentThreadCollapsibleState;
|
|
35
|
-
canReply: boolean;
|
|
36
|
-
contextValue?: string;
|
|
37
|
-
label?: string;
|
|
38
|
-
dispose(): void;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -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
|
-
|
|
8
|
-
// @alexr00 https://github.com/microsoft/vscode/issues/185551
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Commenting range provider for a {@link CommentController comment controller}.
|
|
12
|
-
*/
|
|
13
|
-
export interface CommentingRangeProvider {
|
|
14
|
-
readonly resourceHints?: { schemes: readonly string[] };
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,18 +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/171166
|
|
9
|
-
|
|
10
|
-
export enum CommentState {
|
|
11
|
-
Published = 0,
|
|
12
|
-
Draft = 1
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export interface Comment {
|
|
16
|
-
state?: CommentState;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,15 +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
|
-
// empty placeholder declaration for the `accessibilityHelpContent`-property of the `views`-contribution
|
|
7
|
-
|
|
8
|
-
// https://github.com/microsoft/vscode/issues/209855 @meganrogge
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* View contributions can include an `accessibilityHelpContent` property that provides help content for screen readers
|
|
12
|
-
* when the accessibility help dialog is invoked by the user with focus in the view.
|
|
13
|
-
*
|
|
14
|
-
* The content is provided as a markdown string and can contain commands that will be resolved along with their keybindings.
|
|
15
|
-
*/
|
|
@@ -1,6 +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
|
-
// empty placeholder declaration for the `comments/comment/editorActions` menu
|
|
@@ -1,10 +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
|
-
// empty placeholder for comment peek context menus
|
|
7
|
-
|
|
8
|
-
// https://github.com/microsoft/vscode/issues/151533 @alexr00
|
|
9
|
-
|
|
10
|
-
|
|
@@ -1,8 +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
|
-
// empty placeholder for comment thread additional menus
|
|
7
|
-
|
|
8
|
-
// https://github.com/microsoft/vscode/issues/163281
|
|
@@ -1,6 +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
|
-
// empty placeholder declaration for the `commentsView/commentThread/context` menu contribution point
|
|
@@ -1,6 +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
|
-
// empty placeholder declaration for the `debugCreateConfiguation` menu
|
|
@@ -1,6 +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
|
-
// empty placeholder declaration for `diffEditor/gutter/*` menus
|
|
@@ -1,8 +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
|
-
// empty placeholder for edit sessions contribution point from core
|
|
7
|
-
|
|
8
|
-
// https://github.com/microsoft/vscode/issues/157734 @joyceerhl
|
|
@@ -1,6 +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
|
-
// empty placeholder declaration for the `editor/content` menu
|
|
@@ -1,7 +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
|
-
// empty placeholder declaration for the `issue reporter`-submenu contribution point
|
|
7
|
-
// https://github.com/microsoft/vscode/issues/196863
|
|
@@ -1,6 +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
|
-
// empty placeholder declaration for the `workspaceTooltip`-property of the `resourceLabelFormatters` contribution poain
|
|
@@ -1,6 +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
|
-
// empty placeholder declaration for the `menuBar/home` menu
|
|
@@ -1,6 +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
|
-
// empty placeholder declaration for `mergeEditor/*` menus
|
|
@@ -1,6 +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
|
-
// empty placeholder declaration for `multiDiffEditor/*` menus
|
|
@@ -1,6 +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
|
-
// empty placeholder declaration for the `notebookPreload` contribution point
|
|
@@ -1,6 +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
|
-
// empty placeholder declaration for the `remoteHelp`-contribution point
|
|
@@ -1,7 +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
|
-
// empty placeholder declaration for the `file/share`-submenu contribution point
|
|
7
|
-
// https://github.com/microsoft/vscode/issues/176316
|
|
@@ -1,7 +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
|
-
// empty placeholder declaration for the `scm/historyItem/context`-menu contribution point
|
|
7
|
-
// https://github.com/microsoft/vscode/issues/201997
|
|
@@ -1,7 +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
|
-
// empty placeholder declaration for the `scm/history/title`-menu contribution point
|
|
7
|
-
// https://github.com/microsoft/vscode/issues/226144
|
|
@@ -1,7 +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
|
-
// empty placeholder declaration for the `scm/inputBox`-menu contribution point
|
|
7
|
-
// https://github.com/microsoft/vscode/issues/195474
|
|
@@ -1,7 +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
|
-
// empty placeholder declaration for the `scm/sourceControl/title`-menu contribution point
|
|
7
|
-
// https://github.com/microsoft/vscode/issues/203511
|
|
@@ -1,8 +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
|
-
// empty placeholder for status bar items contribution
|
|
7
|
-
|
|
8
|
-
// https://github.com/microsoft/vscode/issues/167874 @jrieken
|
|
@@ -1,8 +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
|
-
// empty placeholder for view container title menus
|
|
7
|
-
|
|
8
|
-
// https://github.com/microsoft/vscode/issues/200880 @roblourens
|
|
@@ -1,6 +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
|
-
// empty placeholder declaration for the `remote`-property of the `views`-contribution
|
|
@@ -1,6 +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
|
-
// empty placeholder declaration for the `viewsWelcome`-contribution point
|
|
@@ -1,51 +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
|
-
// https://github.com/microsoft/vscode/issues/169724 @bpasero
|
|
7
|
-
|
|
8
|
-
declare module 'vscode' {
|
|
9
|
-
|
|
10
|
-
export interface FileSystemWatcherOptions {
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Ignore when files have been created.
|
|
14
|
-
*/
|
|
15
|
-
readonly ignoreCreateEvents?: boolean;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Ignore when files have been changed.
|
|
19
|
-
*/
|
|
20
|
-
readonly ignoreChangeEvents?: boolean;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Ignore when files have been deleted.
|
|
24
|
-
*/
|
|
25
|
-
readonly ignoreDeleteEvents?: boolean;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* An optional set of glob patterns to exclude from watching.
|
|
29
|
-
* Glob patterns are always matched relative to the watched folder.
|
|
30
|
-
*/
|
|
31
|
-
readonly excludes: string[];
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export namespace workspace {
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* A variant of {@link workspace.createFileSystemWatcher} that optionally allows to specify
|
|
38
|
-
* a set of glob patterns to exclude from watching.
|
|
39
|
-
*
|
|
40
|
-
* It provides the following advantages over the other {@link workspace.createFileSystemWatcher}
|
|
41
|
-
* method:
|
|
42
|
-
* - the configured excludes from `files.watcherExclude` setting are NOT applied
|
|
43
|
-
* - requests for recursive file watchers inside the opened workspace are NOT ignored
|
|
44
|
-
* - the watcher is ONLY notified for events from this request and not from any other watcher
|
|
45
|
-
*
|
|
46
|
-
* As such, this method is prefered in cases where you want full control over the watcher behavior
|
|
47
|
-
* without being impacted by settings or other watchers that are installed.
|
|
48
|
-
*/
|
|
49
|
-
export function createFileSystemWatcher(pattern: RelativePattern, options?: FileSystemWatcherOptions): FileSystemWatcher;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
@@ -1,29 +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/86146
|
|
9
|
-
|
|
10
|
-
// TODO: Also for custom editor
|
|
11
|
-
|
|
12
|
-
export interface CustomTextEditorProvider {
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Handle when the underlying resource for a custom editor is renamed.
|
|
16
|
-
*
|
|
17
|
-
* This allows the webview for the editor be preserved throughout the rename. If this method is not implemented,
|
|
18
|
-
* the editor will destroy the previous custom editor and create a replacement one.
|
|
19
|
-
*
|
|
20
|
-
* @param newDocument New text document to use for the custom editor.
|
|
21
|
-
* @param existingWebviewPanel Webview panel for the custom editor.
|
|
22
|
-
* @param token A cancellation token that indicates the result is no longer needed.
|
|
23
|
-
*
|
|
24
|
-
* @return Thenable indicating that the webview editor has been moved.
|
|
25
|
-
*/
|
|
26
|
-
// eslint-disable-next-line local/vscode-dts-provider-naming
|
|
27
|
-
moveCustomTextEditor?(newDocument: TextDocument, existingWebviewPanel: WebviewPanel, token: CancellationToken): Thenable<void>;
|
|
28
|
-
}
|
|
29
|
-
}
|