@difizen/libro-language-client 0.1.18
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/LICENSE +21 -0
- package/README.md +0 -0
- package/es/common/api.d.ts +38 -0
- package/es/common/api.d.ts.map +1 -0
- package/es/common/api.js +9 -0
- package/es/common/callHierarchy.d.ts +39 -0
- package/es/common/callHierarchy.d.ts.map +1 -0
- package/es/common/callHierarchy.js +139 -0
- package/es/common/client.d.ts +482 -0
- package/es/common/client.d.ts.map +1 -0
- package/es/common/client.js +2731 -0
- package/es/common/codeAction.d.ts +22 -0
- package/es/common/codeAction.d.ts.map +1 -0
- package/es/common/codeAction.js +149 -0
- package/es/common/codeConverter.d.ts +81 -0
- package/es/common/codeConverter.d.ts.map +1 -0
- package/es/common/codeConverter.js +1040 -0
- package/es/common/codeLens.d.ts +26 -0
- package/es/common/codeLens.d.ts.map +1 -0
- package/es/common/codeLens.js +125 -0
- package/es/common/colorProvider.d.ts +27 -0
- package/es/common/colorProvider.d.ts.map +1 -0
- package/es/common/colorProvider.js +104 -0
- package/es/common/completion.d.ts +22 -0
- package/es/common/completion.d.ts.map +1 -0
- package/es/common/completion.js +130 -0
- package/es/common/configuration.d.ts +71 -0
- package/es/common/configuration.d.ts.map +1 -0
- package/es/common/configuration.js +292 -0
- package/es/common/declaration.d.ts +18 -0
- package/es/common/declaration.d.ts.map +1 -0
- package/es/common/declaration.js +88 -0
- package/es/common/definition.d.ts +18 -0
- package/es/common/definition.d.ts.map +1 -0
- package/es/common/definition.js +80 -0
- package/es/common/diagnostic.d.ts +125 -0
- package/es/common/diagnostic.d.ts.map +1 -0
- package/es/common/diagnostic.js +1442 -0
- package/es/common/documentHighlight.d.ts +17 -0
- package/es/common/documentHighlight.d.ts.map +1 -0
- package/es/common/documentHighlight.js +73 -0
- package/es/common/documentLink.d.ts +21 -0
- package/es/common/documentLink.d.ts.map +1 -0
- package/es/common/documentLink.js +90 -0
- package/es/common/documentSymbol.d.ts +20 -0
- package/es/common/documentSymbol.d.ts.map +1 -0
- package/es/common/documentSymbol.js +134 -0
- package/es/common/executeCommand.d.ts +22 -0
- package/es/common/executeCommand.d.ts.map +1 -0
- package/es/common/executeCommand.js +117 -0
- package/es/common/features.d.ts +421 -0
- package/es/common/features.d.ts.map +1 -0
- package/es/common/features.js +576 -0
- package/es/common/fileOperations.d.ts +118 -0
- package/es/common/fileOperations.d.ts.map +1 -0
- package/es/common/fileOperations.js +705 -0
- package/es/common/fileSystemWatcher.d.ts +19 -0
- package/es/common/fileSystemWatcher.d.ts.map +1 -0
- package/es/common/fileSystemWatcher.js +173 -0
- package/es/common/foldingRange.d.ts +22 -0
- package/es/common/foldingRange.d.ts.map +1 -0
- package/es/common/foldingRange.js +127 -0
- package/es/common/formatting.d.ts +41 -0
- package/es/common/formatting.d.ts.map +1 -0
- package/es/common/formatting.js +233 -0
- package/es/common/hover.d.ts +18 -0
- package/es/common/hover.d.ts.map +1 -0
- package/es/common/hover.js +80 -0
- package/es/common/implementation.d.ts +18 -0
- package/es/common/implementation.d.ts.map +1 -0
- package/es/common/implementation.js +88 -0
- package/es/common/inlayHint.d.ts +23 -0
- package/es/common/inlayHint.d.ts.map +1 -0
- package/es/common/inlayHint.js +187 -0
- package/es/common/inlineCompletion.d.ts +20 -0
- package/es/common/inlineCompletion.d.ts.map +1 -0
- package/es/common/inlineCompletion.js +74 -0
- package/es/common/inlineValue.d.ts +21 -0
- package/es/common/inlineValue.d.ts.map +1 -0
- package/es/common/inlineValue.js +124 -0
- package/es/common/linkedEditingRange.d.ts +23 -0
- package/es/common/linkedEditingRange.d.ts.map +1 -0
- package/es/common/linkedEditingRange.js +94 -0
- package/es/common/notebook.d.ts +97 -0
- package/es/common/notebook.d.ts.map +1 -0
- package/es/common/notebook.js +1444 -0
- package/es/common/progress.d.ts +12 -0
- package/es/common/progress.d.ts.map +1 -0
- package/es/common/progress.js +75 -0
- package/es/common/progressPart.d.ts +25 -0
- package/es/common/progressPart.d.ts.map +1 -0
- package/es/common/progressPart.js +147 -0
- package/es/common/protocolCallHierarchyItem.d.ts +9 -0
- package/es/common/protocolCallHierarchyItem.d.ts.map +1 -0
- package/es/common/protocolCallHierarchyItem.js +34 -0
- package/es/common/protocolCodeAction.d.ts +7 -0
- package/es/common/protocolCodeAction.d.ts.map +1 -0
- package/es/common/protocolCodeAction.js +32 -0
- package/es/common/protocolCodeLens.d.ts +7 -0
- package/es/common/protocolCodeLens.d.ts.map +1 -0
- package/es/common/protocolCodeLens.js +29 -0
- package/es/common/protocolCompletionItem.d.ts +13 -0
- package/es/common/protocolCompletionItem.d.ts.map +1 -0
- package/es/common/protocolCompletionItem.js +29 -0
- package/es/common/protocolConverter.d.ts +174 -0
- package/es/common/protocolConverter.d.ts.map +1 -0
- package/es/common/protocolConverter.js +1982 -0
- package/es/common/protocolDiagnostic.d.ts +20 -0
- package/es/common/protocolDiagnostic.d.ts.map +1 -0
- package/es/common/protocolDiagnostic.js +46 -0
- package/es/common/protocolDocumentLink.d.ts +8 -0
- package/es/common/protocolDocumentLink.d.ts.map +1 -0
- package/es/common/protocolDocumentLink.js +29 -0
- package/es/common/protocolInlayHint.d.ts +8 -0
- package/es/common/protocolInlayHint.d.ts.map +1 -0
- package/es/common/protocolInlayHint.js +29 -0
- package/es/common/protocolTypeHierarchyItem.d.ts +9 -0
- package/es/common/protocolTypeHierarchyItem.d.ts.map +1 -0
- package/es/common/protocolTypeHierarchyItem.js +34 -0
- package/es/common/protocolWorkspaceSymbol.d.ts +9 -0
- package/es/common/protocolWorkspaceSymbol.d.ts.map +1 -0
- package/es/common/protocolWorkspaceSymbol.js +36 -0
- package/es/common/reference.d.ts +22 -0
- package/es/common/reference.d.ts.map +1 -0
- package/es/common/reference.js +78 -0
- package/es/common/rename.d.ts +29 -0
- package/es/common/rename.d.ts.map +1 -0
- package/es/common/rename.js +132 -0
- package/es/common/selectionRange.d.ts +18 -0
- package/es/common/selectionRange.d.ts.map +1 -0
- package/es/common/selectionRange.js +108 -0
- package/es/common/semanticTokens.d.ts +36 -0
- package/es/common/semanticTokens.d.ts.map +1 -0
- package/es/common/semanticTokens.js +226 -0
- package/es/common/signatureHelp.d.ts +18 -0
- package/es/common/signatureHelp.d.ts.map +1 -0
- package/es/common/signatureHelp.js +103 -0
- package/es/common/textSynchronization.d.ts +104 -0
- package/es/common/textSynchronization.d.ts.map +1 -0
- package/es/common/textSynchronization.js +771 -0
- package/es/common/typeDefinition.d.ts +18 -0
- package/es/common/typeDefinition.d.ts.map +1 -0
- package/es/common/typeDefinition.js +89 -0
- package/es/common/typeHierarchy.d.ts +33 -0
- package/es/common/typeHierarchy.d.ts.map +1 -0
- package/es/common/typeHierarchy.js +138 -0
- package/es/common/utils/async.d.ts +42 -0
- package/es/common/utils/async.d.ts.map +1 -0
- package/es/common/utils/async.js +441 -0
- package/es/common/utils/is.d.ts +13 -0
- package/es/common/utils/is.d.ts.map +1 -0
- package/es/common/utils/is.js +52 -0
- package/es/common/utils/uuid.d.ts +23 -0
- package/es/common/utils/uuid.d.ts.map +1 -0
- package/es/common/utils/uuid.js +85 -0
- package/es/common/vscodeAdaptor/convertor.d.ts +7 -0
- package/es/common/vscodeAdaptor/convertor.d.ts.map +1 -0
- package/es/common/vscodeAdaptor/convertor.js +66 -0
- package/es/common/vscodeAdaptor/diagnosticCollection.d.ts +33 -0
- package/es/common/vscodeAdaptor/diagnosticCollection.d.ts.map +1 -0
- package/es/common/vscodeAdaptor/diagnosticCollection.js +310 -0
- package/es/common/vscodeAdaptor/extHostTypes.d.ts +1496 -0
- package/es/common/vscodeAdaptor/extHostTypes.d.ts.map +1 -0
- package/es/common/vscodeAdaptor/extHostTypes.js +3825 -0
- package/es/common/vscodeAdaptor/fileWatcher.d.ts +19 -0
- package/es/common/vscodeAdaptor/fileWatcher.d.ts.map +1 -0
- package/es/common/vscodeAdaptor/fileWatcher.js +45 -0
- package/es/common/vscodeAdaptor/hostTypeUtil.d.ts +192 -0
- package/es/common/vscodeAdaptor/hostTypeUtil.d.ts.map +1 -0
- package/es/common/vscodeAdaptor/hostTypeUtil.js +566 -0
- package/es/common/vscodeAdaptor/libro-fs.d.ts +21 -0
- package/es/common/vscodeAdaptor/libro-fs.d.ts.map +1 -0
- package/es/common/vscodeAdaptor/libro-fs.js +64 -0
- package/es/common/vscodeAdaptor/libroWindow.d.ts +21 -0
- package/es/common/vscodeAdaptor/libroWindow.d.ts.map +1 -0
- package/es/common/vscodeAdaptor/libroWindow.js +75 -0
- package/es/common/vscodeAdaptor/libroWorkspace.d.ts +33 -0
- package/es/common/vscodeAdaptor/libroWorkspace.d.ts.map +1 -0
- package/es/common/vscodeAdaptor/libroWorkspace.js +250 -0
- package/es/common/vscodeAdaptor/lspEnv.d.ts +8 -0
- package/es/common/vscodeAdaptor/lspEnv.d.ts.map +1 -0
- package/es/common/vscodeAdaptor/lspEnv.js +31 -0
- package/es/common/vscodeAdaptor/monaco-converter.d.ts +229 -0
- package/es/common/vscodeAdaptor/monaco-converter.d.ts.map +1 -0
- package/es/common/vscodeAdaptor/monaco-converter.js +1613 -0
- package/es/common/vscodeAdaptor/monacoLanguages.d.ts +48 -0
- package/es/common/vscodeAdaptor/monacoLanguages.d.ts.map +1 -0
- package/es/common/vscodeAdaptor/monacoLanguages.js +484 -0
- package/es/common/vscodeAdaptor/services.d.ts +85 -0
- package/es/common/vscodeAdaptor/services.d.ts.map +1 -0
- package/es/common/vscodeAdaptor/services.js +3 -0
- package/es/common/vscodeAdaptor/typings.d.ts +10 -0
- package/es/common/vscodeAdaptor/util.d.ts +3 -0
- package/es/common/vscodeAdaptor/util.d.ts.map +1 -0
- package/es/common/vscodeAdaptor/util.js +6 -0
- package/es/common/vscodeAdaptor/vscodeAdaptor.d.ts +77 -0
- package/es/common/vscodeAdaptor/vscodeAdaptor.d.ts.map +1 -0
- package/es/common/vscodeAdaptor/vscodeAdaptor.js +124 -0
- package/es/common/workspaceFolder.d.ts +32 -0
- package/es/common/workspaceFolder.d.ts.map +1 -0
- package/es/common/workspaceFolder.js +204 -0
- package/es/common/workspaceSymbol.d.ts +21 -0
- package/es/common/workspaceSymbol.d.ts.map +1 -0
- package/es/common/workspaceSymbol.js +101 -0
- package/es/constants.d.ts +2 -0
- package/es/constants.d.ts.map +1 -0
- package/es/constants.js +1 -0
- package/es/index.d.ts +6 -0
- package/es/index.d.ts.map +1 -0
- package/es/index.js +5 -0
- package/es/libro-language-client-contribution.d.ts +10 -0
- package/es/libro-language-client-contribution.d.ts.map +1 -0
- package/es/libro-language-client-contribution.js +143 -0
- package/es/libro-language-client-manager.d.ts +34 -0
- package/es/libro-language-client-manager.d.ts.map +1 -0
- package/es/libro-language-client-manager.js +277 -0
- package/es/libro-language-client.d.ts +27 -0
- package/es/libro-language-client.d.ts.map +1 -0
- package/es/libro-language-client.js +141 -0
- package/es/module.d.ts +3 -0
- package/es/module.d.ts.map +1 -0
- package/es/module.js +13 -0
- package/package.json +69 -0
- package/src/common/api.ts +155 -0
- package/src/common/callHierarchy.ts +269 -0
- package/src/common/client.ts +3192 -0
- package/src/common/codeAction.ts +237 -0
- package/src/common/codeConverter.ts +1409 -0
- package/src/common/codeLens.ts +188 -0
- package/src/common/colorProvider.ts +192 -0
- package/src/common/completion.ts +281 -0
- package/src/common/configuration.ts +338 -0
- package/src/common/declaration.ts +140 -0
- package/src/common/definition.ts +138 -0
- package/src/common/diagnostic.ts +1408 -0
- package/src/common/documentHighlight.ts +140 -0
- package/src/common/documentLink.ts +180 -0
- package/src/common/documentSymbol.ts +186 -0
- package/src/common/executeCommand.ts +129 -0
- package/src/common/features.ts +1157 -0
- package/src/common/fileOperations.ts +635 -0
- package/src/common/fileSystemWatcher.ts +184 -0
- package/src/common/foldingRange.ts +160 -0
- package/src/common/formatting.ts +465 -0
- package/src/common/hover.ts +133 -0
- package/src/common/implementation.ts +142 -0
- package/src/common/inlayHint.ts +201 -0
- package/src/common/inlineCompletion.ts +160 -0
- package/src/common/inlineValue.ts +158 -0
- package/src/common/linkedEditingRange.ts +141 -0
- package/src/common/notebook.ts +1443 -0
- package/src/common/progress.ts +61 -0
- package/src/common/progressPart.ts +151 -0
- package/src/common/protocolCallHierarchyItem.ts +29 -0
- package/src/common/protocolCodeAction.ts +17 -0
- package/src/common/protocolCodeLens.ts +15 -0
- package/src/common/protocolCompletionItem.ts +22 -0
- package/src/common/protocolConverter.ts +2627 -0
- package/src/common/protocolDiagnostic.ts +47 -0
- package/src/common/protocolDocumentLink.ts +17 -0
- package/src/common/protocolInlayHint.ts +21 -0
- package/src/common/protocolTypeHierarchyItem.ts +29 -0
- package/src/common/protocolWorkspaceSymbol.ts +39 -0
- package/src/common/reference.ts +144 -0
- package/src/common/rename.ts +230 -0
- package/src/common/selectionRange.ts +136 -0
- package/src/common/semanticTokens.ts +383 -0
- package/src/common/signatureHelp.ts +170 -0
- package/src/common/textSynchronization.ts +819 -0
- package/src/common/typeDefinition.ts +146 -0
- package/src/common/typeHierarchy.ts +248 -0
- package/src/common/utils/async.ts +354 -0
- package/src/common/utils/is.ts +63 -0
- package/src/common/utils/uuid.ts +136 -0
- package/src/common/vscodeAdaptor/convertor.ts +73 -0
- package/src/common/vscodeAdaptor/diagnosticCollection.ts +238 -0
- package/src/common/vscodeAdaptor/extHostTypes.ts +4498 -0
- package/src/common/vscodeAdaptor/fileWatcher.ts +36 -0
- package/src/common/vscodeAdaptor/hostTypeUtil.ts +539 -0
- package/src/common/vscodeAdaptor/libro-fs.ts +51 -0
- package/src/common/vscodeAdaptor/libroWindow.ts +85 -0
- package/src/common/vscodeAdaptor/libroWorkspace.ts +261 -0
- package/src/common/vscodeAdaptor/lspEnv.ts +16 -0
- package/src/common/vscodeAdaptor/monaco-converter.ts +1800 -0
- package/src/common/vscodeAdaptor/monacoLanguages.ts +511 -0
- package/src/common/vscodeAdaptor/services.ts +278 -0
- package/src/common/vscodeAdaptor/typings.d.ts +10 -0
- package/src/common/vscodeAdaptor/util.ts +7 -0
- package/src/common/vscodeAdaptor/vscodeAdaptor.ts +122 -0
- package/src/common/workspaceFolder.ts +236 -0
- package/src/common/workspaceSymbol.ts +166 -0
- package/src/constants.ts +1 -0
- package/src/index.spec.ts +7 -0
- package/src/index.ts +5 -0
- package/src/libro-language-client-contribution.ts +49 -0
- package/src/libro-language-client-manager.ts +131 -0
- package/src/libro-language-client.ts +100 -0
- package/src/module.ts +19 -0
|
@@ -0,0 +1,1496 @@
|
|
|
1
|
+
import type * as vscode from 'vscode';
|
|
2
|
+
import { URI } from 'vscode-uri';
|
|
3
|
+
import type { IRelativePatternDto } from './hostTypeUtil.js';
|
|
4
|
+
import type { ICellMetadataEdit, IDocumentMetadataEdit } from './hostTypeUtil.js';
|
|
5
|
+
import type { MarkdownStringTrustedOptions } from './hostTypeUtil.js';
|
|
6
|
+
import type { IRelativePattern } from './hostTypeUtil.js';
|
|
7
|
+
import { FileSystemProviderErrorCode } from './hostTypeUtil.js';
|
|
8
|
+
export declare enum TerminalOutputAnchor {
|
|
9
|
+
Top = 0,
|
|
10
|
+
Bottom = 1
|
|
11
|
+
}
|
|
12
|
+
export declare enum TerminalQuickFixType {
|
|
13
|
+
TerminalCommand = 0,
|
|
14
|
+
Opener = 1,
|
|
15
|
+
Command = 3
|
|
16
|
+
}
|
|
17
|
+
export declare class Disposable {
|
|
18
|
+
#private;
|
|
19
|
+
static from(...inDisposables: {
|
|
20
|
+
dispose(): any;
|
|
21
|
+
}[]): Disposable;
|
|
22
|
+
constructor(callOnDispose: () => any);
|
|
23
|
+
dispose(): any;
|
|
24
|
+
}
|
|
25
|
+
export declare class Position {
|
|
26
|
+
static Min(...positions: Position[]): Position;
|
|
27
|
+
static Max(...positions: Position[]): Position;
|
|
28
|
+
static isPosition(other: any): other is Position;
|
|
29
|
+
static of(obj: vscode.Position): Position;
|
|
30
|
+
private _line;
|
|
31
|
+
private _character;
|
|
32
|
+
get line(): number;
|
|
33
|
+
get character(): number;
|
|
34
|
+
constructor(line: number, character: number);
|
|
35
|
+
isBefore(other: Position): boolean;
|
|
36
|
+
isBeforeOrEqual(other: Position): boolean;
|
|
37
|
+
isAfter(other: Position): boolean;
|
|
38
|
+
isAfterOrEqual(other: Position): boolean;
|
|
39
|
+
isEqual(other: Position): boolean;
|
|
40
|
+
compareTo(other: Position): number;
|
|
41
|
+
translate(change: {
|
|
42
|
+
lineDelta?: number;
|
|
43
|
+
characterDelta?: number;
|
|
44
|
+
}): Position;
|
|
45
|
+
translate(lineDelta?: number, characterDelta?: number): Position;
|
|
46
|
+
with(change: {
|
|
47
|
+
line?: number;
|
|
48
|
+
character?: number;
|
|
49
|
+
}): Position;
|
|
50
|
+
with(line?: number, character?: number): Position;
|
|
51
|
+
toJSON(): any;
|
|
52
|
+
}
|
|
53
|
+
export declare class Range {
|
|
54
|
+
static isRange(thing: any): thing is vscode.Range;
|
|
55
|
+
static of(obj: vscode.Range): Range;
|
|
56
|
+
protected _start: Position;
|
|
57
|
+
protected _end: Position;
|
|
58
|
+
get start(): Position;
|
|
59
|
+
get end(): Position;
|
|
60
|
+
constructor(start: vscode.Position, end: vscode.Position);
|
|
61
|
+
constructor(start: Position, end: Position);
|
|
62
|
+
constructor(startLine: number, startColumn: number, endLine: number, endColumn: number);
|
|
63
|
+
contains(positionOrRange: Position | Range): boolean;
|
|
64
|
+
isEqual(other: Range): boolean;
|
|
65
|
+
intersection(other: Range): Range | undefined;
|
|
66
|
+
union(other: Range): Range;
|
|
67
|
+
get isEmpty(): boolean;
|
|
68
|
+
get isSingleLine(): boolean;
|
|
69
|
+
with(change: {
|
|
70
|
+
start?: Position;
|
|
71
|
+
end?: Position;
|
|
72
|
+
}): Range;
|
|
73
|
+
with(start?: Position, end?: Position): Range;
|
|
74
|
+
toJSON(): any;
|
|
75
|
+
}
|
|
76
|
+
export declare class Selection extends Range {
|
|
77
|
+
static isSelection(thing: any): thing is Selection;
|
|
78
|
+
private _anchor;
|
|
79
|
+
get anchor(): Position;
|
|
80
|
+
private _active;
|
|
81
|
+
get active(): Position;
|
|
82
|
+
constructor(anchor: Position, active: Position);
|
|
83
|
+
constructor(anchorLine: number, anchorColumn: number, activeLine: number, activeColumn: number);
|
|
84
|
+
get isReversed(): boolean;
|
|
85
|
+
toJSON(): {
|
|
86
|
+
start: Position;
|
|
87
|
+
end: Position;
|
|
88
|
+
active: Position;
|
|
89
|
+
anchor: Position;
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
export declare class ResolvedAuthority {
|
|
93
|
+
static isResolvedAuthority(resolvedAuthority: any): resolvedAuthority is ResolvedAuthority;
|
|
94
|
+
readonly host: string;
|
|
95
|
+
readonly port: number;
|
|
96
|
+
readonly connectionToken: string | undefined;
|
|
97
|
+
constructor(host: string, port: number, connectionToken?: string);
|
|
98
|
+
}
|
|
99
|
+
export declare enum EndOfLine {
|
|
100
|
+
LF = 1,
|
|
101
|
+
CRLF = 2
|
|
102
|
+
}
|
|
103
|
+
export declare enum EnvironmentVariableMutatorType {
|
|
104
|
+
Replace = 1,
|
|
105
|
+
Append = 2,
|
|
106
|
+
Prepend = 3
|
|
107
|
+
}
|
|
108
|
+
export declare class TextEdit {
|
|
109
|
+
static isTextEdit(thing: any): thing is TextEdit;
|
|
110
|
+
static replace(range: Range, newText: string): TextEdit;
|
|
111
|
+
static insert(position: Position, newText: string): TextEdit;
|
|
112
|
+
static delete(range: Range): TextEdit;
|
|
113
|
+
static setEndOfLine(eol: EndOfLine): TextEdit;
|
|
114
|
+
protected _range: Range;
|
|
115
|
+
protected _newText: string | null;
|
|
116
|
+
protected _newEol?: EndOfLine;
|
|
117
|
+
get range(): Range;
|
|
118
|
+
set range(value: Range);
|
|
119
|
+
get newText(): string;
|
|
120
|
+
set newText(value: string);
|
|
121
|
+
get newEol(): EndOfLine | undefined;
|
|
122
|
+
set newEol(value: EndOfLine | undefined);
|
|
123
|
+
constructor(range: Range, newText: string | null);
|
|
124
|
+
toJSON(): any;
|
|
125
|
+
}
|
|
126
|
+
export declare class NotebookEdit implements vscode.NotebookEdit {
|
|
127
|
+
static isNotebookCellEdit(thing: any): thing is NotebookEdit;
|
|
128
|
+
static replaceCells(range: NotebookRange, newCells: NotebookCellData[]): NotebookEdit;
|
|
129
|
+
static insertCells(index: number, newCells: vscode.NotebookCellData[]): vscode.NotebookEdit;
|
|
130
|
+
static deleteCells(range: NotebookRange): NotebookEdit;
|
|
131
|
+
static updateCellMetadata(index: number, newMetadata: {
|
|
132
|
+
[key: string]: any;
|
|
133
|
+
}): NotebookEdit;
|
|
134
|
+
static updateNotebookMetadata(newMetadata: {
|
|
135
|
+
[key: string]: any;
|
|
136
|
+
}): NotebookEdit;
|
|
137
|
+
range: NotebookRange;
|
|
138
|
+
newCells: NotebookCellData[];
|
|
139
|
+
newCellMetadata?: {
|
|
140
|
+
[key: string]: any;
|
|
141
|
+
};
|
|
142
|
+
newNotebookMetadata?: {
|
|
143
|
+
[key: string]: any;
|
|
144
|
+
};
|
|
145
|
+
constructor(range: NotebookRange, newCells: NotebookCellData[]);
|
|
146
|
+
}
|
|
147
|
+
export declare class SnippetTextEdit implements vscode.SnippetTextEdit {
|
|
148
|
+
static isSnippetTextEdit(thing: any): thing is SnippetTextEdit;
|
|
149
|
+
static replace(range: Range, snippet: SnippetString): SnippetTextEdit;
|
|
150
|
+
static insert(position: Position, snippet: SnippetString): SnippetTextEdit;
|
|
151
|
+
range: Range;
|
|
152
|
+
snippet: SnippetString;
|
|
153
|
+
constructor(range: Range, snippet: SnippetString);
|
|
154
|
+
}
|
|
155
|
+
export interface IFileOperationOptions {
|
|
156
|
+
readonly overwrite?: boolean;
|
|
157
|
+
readonly ignoreIfExists?: boolean;
|
|
158
|
+
readonly ignoreIfNotExists?: boolean;
|
|
159
|
+
readonly recursive?: boolean;
|
|
160
|
+
readonly contents?: Uint8Array | vscode.DataTransferFile;
|
|
161
|
+
}
|
|
162
|
+
export declare const enum FileEditType {
|
|
163
|
+
File = 1,
|
|
164
|
+
Text = 2,
|
|
165
|
+
Cell = 3,
|
|
166
|
+
CellReplace = 5,
|
|
167
|
+
Snippet = 6
|
|
168
|
+
}
|
|
169
|
+
export interface IFileOperation {
|
|
170
|
+
readonly _type: FileEditType.File;
|
|
171
|
+
readonly from?: URI;
|
|
172
|
+
readonly to?: URI;
|
|
173
|
+
readonly options?: IFileOperationOptions;
|
|
174
|
+
readonly metadata?: vscode.WorkspaceEditEntryMetadata;
|
|
175
|
+
}
|
|
176
|
+
export interface IFileTextEdit {
|
|
177
|
+
readonly _type: FileEditType.Text;
|
|
178
|
+
readonly uri: URI;
|
|
179
|
+
readonly edit: TextEdit;
|
|
180
|
+
readonly metadata?: vscode.WorkspaceEditEntryMetadata;
|
|
181
|
+
}
|
|
182
|
+
export interface IFileSnippetTextEdit {
|
|
183
|
+
readonly _type: FileEditType.Snippet;
|
|
184
|
+
readonly uri: URI;
|
|
185
|
+
readonly range: vscode.Range;
|
|
186
|
+
readonly edit: vscode.SnippetString;
|
|
187
|
+
readonly metadata?: vscode.WorkspaceEditEntryMetadata;
|
|
188
|
+
}
|
|
189
|
+
export interface IFileCellEdit {
|
|
190
|
+
readonly _type: FileEditType.Cell;
|
|
191
|
+
readonly uri: URI;
|
|
192
|
+
readonly edit?: ICellMetadataEdit | IDocumentMetadataEdit;
|
|
193
|
+
readonly notebookMetadata?: Record<string, any>;
|
|
194
|
+
readonly metadata?: vscode.WorkspaceEditEntryMetadata;
|
|
195
|
+
}
|
|
196
|
+
export interface ICellEdit {
|
|
197
|
+
readonly _type: FileEditType.CellReplace;
|
|
198
|
+
readonly metadata?: vscode.WorkspaceEditEntryMetadata;
|
|
199
|
+
readonly uri: URI;
|
|
200
|
+
readonly index: number;
|
|
201
|
+
readonly count: number;
|
|
202
|
+
readonly cells: vscode.NotebookCellData[];
|
|
203
|
+
}
|
|
204
|
+
type WorkspaceEditEntry = IFileOperation | IFileTextEdit | IFileSnippetTextEdit | IFileCellEdit | ICellEdit;
|
|
205
|
+
export declare class WorkspaceEdit implements vscode.WorkspaceEdit {
|
|
206
|
+
private readonly _edits;
|
|
207
|
+
_allEntries(): ReadonlyArray<WorkspaceEditEntry>;
|
|
208
|
+
renameFile(from: vscode.Uri, to: vscode.Uri, options?: {
|
|
209
|
+
readonly overwrite?: boolean;
|
|
210
|
+
readonly ignoreIfExists?: boolean;
|
|
211
|
+
}, metadata?: vscode.WorkspaceEditEntryMetadata): void;
|
|
212
|
+
createFile(uri: vscode.Uri, options?: {
|
|
213
|
+
readonly overwrite?: boolean;
|
|
214
|
+
readonly ignoreIfExists?: boolean;
|
|
215
|
+
readonly contents?: Uint8Array | vscode.DataTransferFile;
|
|
216
|
+
}, metadata?: vscode.WorkspaceEditEntryMetadata): void;
|
|
217
|
+
deleteFile(uri: vscode.Uri, options?: {
|
|
218
|
+
readonly recursive?: boolean;
|
|
219
|
+
readonly ignoreIfNotExists?: boolean;
|
|
220
|
+
}, metadata?: vscode.WorkspaceEditEntryMetadata): void;
|
|
221
|
+
private replaceNotebookMetadata;
|
|
222
|
+
private replaceNotebookCells;
|
|
223
|
+
private replaceNotebookCellMetadata;
|
|
224
|
+
replace(uri: URI, range: Range, newText: string, metadata?: vscode.WorkspaceEditEntryMetadata): void;
|
|
225
|
+
insert(resource: URI, position: Position, newText: string, metadata?: vscode.WorkspaceEditEntryMetadata): void;
|
|
226
|
+
delete(resource: URI, range: Range, metadata?: vscode.WorkspaceEditEntryMetadata): void;
|
|
227
|
+
has(uri: URI): boolean;
|
|
228
|
+
set(uri: URI, edits: ReadonlyArray<TextEdit | SnippetTextEdit>): void;
|
|
229
|
+
set(uri: URI, edits: ReadonlyArray<[
|
|
230
|
+
TextEdit | SnippetTextEdit,
|
|
231
|
+
vscode.WorkspaceEditEntryMetadata
|
|
232
|
+
]>): void;
|
|
233
|
+
set(uri: URI, edits: readonly NotebookEdit[]): void;
|
|
234
|
+
set(uri: URI, edits: ReadonlyArray<[NotebookEdit, vscode.WorkspaceEditEntryMetadata]>): void;
|
|
235
|
+
get(uri: URI): TextEdit[];
|
|
236
|
+
entries(): [URI, TextEdit[]][];
|
|
237
|
+
get size(): number;
|
|
238
|
+
toJSON(): any;
|
|
239
|
+
}
|
|
240
|
+
export declare class SnippetString {
|
|
241
|
+
static isSnippetString(thing: any): thing is SnippetString;
|
|
242
|
+
private static _escape;
|
|
243
|
+
private _tabstop;
|
|
244
|
+
value: string;
|
|
245
|
+
constructor(value?: string);
|
|
246
|
+
appendText(string: string): SnippetString;
|
|
247
|
+
appendTabstop(number?: number): SnippetString;
|
|
248
|
+
appendPlaceholder(value: string | ((snippet: SnippetString) => any), number?: number): SnippetString;
|
|
249
|
+
appendChoice(values: string[], number?: number): SnippetString;
|
|
250
|
+
appendVariable(name: string, defaultValue?: string | ((snippet: SnippetString) => any)): SnippetString;
|
|
251
|
+
}
|
|
252
|
+
export declare enum DiagnosticTag {
|
|
253
|
+
Unnecessary = 1,
|
|
254
|
+
Deprecated = 2
|
|
255
|
+
}
|
|
256
|
+
export declare enum DiagnosticSeverity {
|
|
257
|
+
Hint = 3,
|
|
258
|
+
Information = 2,
|
|
259
|
+
Warning = 1,
|
|
260
|
+
Error = 0
|
|
261
|
+
}
|
|
262
|
+
export declare class Location {
|
|
263
|
+
static isLocation(thing: any): thing is vscode.Location;
|
|
264
|
+
uri: URI;
|
|
265
|
+
range: Range;
|
|
266
|
+
constructor(uri: URI, rangeOrPosition: Range | Position);
|
|
267
|
+
toJSON(): any;
|
|
268
|
+
}
|
|
269
|
+
export declare class DiagnosticRelatedInformation {
|
|
270
|
+
static is(thing: any): thing is DiagnosticRelatedInformation;
|
|
271
|
+
location: Location;
|
|
272
|
+
message: string;
|
|
273
|
+
constructor(location: Location, message: string);
|
|
274
|
+
static isEqual(a: DiagnosticRelatedInformation, b: DiagnosticRelatedInformation): boolean;
|
|
275
|
+
}
|
|
276
|
+
export declare class Diagnostic {
|
|
277
|
+
range: Range;
|
|
278
|
+
message: string;
|
|
279
|
+
severity: DiagnosticSeverity;
|
|
280
|
+
source?: string;
|
|
281
|
+
code?: string | number | {
|
|
282
|
+
value: string | number;
|
|
283
|
+
target: URI;
|
|
284
|
+
};
|
|
285
|
+
relatedInformation?: DiagnosticRelatedInformation[];
|
|
286
|
+
tags?: DiagnosticTag[];
|
|
287
|
+
constructor(range: Range, message: string, severity?: DiagnosticSeverity);
|
|
288
|
+
toJSON(): any;
|
|
289
|
+
static isEqual(a: Diagnostic | undefined, b: Diagnostic | undefined): boolean;
|
|
290
|
+
}
|
|
291
|
+
export declare class Hover {
|
|
292
|
+
contents: (vscode.MarkdownString | vscode.MarkedString)[];
|
|
293
|
+
range: Range | undefined;
|
|
294
|
+
constructor(contents: vscode.MarkdownString | vscode.MarkedString | (vscode.MarkdownString | vscode.MarkedString)[], range?: Range);
|
|
295
|
+
}
|
|
296
|
+
export declare enum DocumentHighlightKind {
|
|
297
|
+
Text = 0,
|
|
298
|
+
Read = 1,
|
|
299
|
+
Write = 2
|
|
300
|
+
}
|
|
301
|
+
export declare class DocumentHighlight {
|
|
302
|
+
range: Range;
|
|
303
|
+
kind: DocumentHighlightKind;
|
|
304
|
+
constructor(range: Range, kind?: DocumentHighlightKind);
|
|
305
|
+
toJSON(): any;
|
|
306
|
+
}
|
|
307
|
+
export declare class MultiDocumentHighlight {
|
|
308
|
+
uri: URI;
|
|
309
|
+
highlights: DocumentHighlight[];
|
|
310
|
+
constructor(uri: URI, highlights: DocumentHighlight[]);
|
|
311
|
+
toJSON(): any;
|
|
312
|
+
}
|
|
313
|
+
export declare enum SymbolKind {
|
|
314
|
+
File = 0,
|
|
315
|
+
Module = 1,
|
|
316
|
+
Namespace = 2,
|
|
317
|
+
Package = 3,
|
|
318
|
+
Class = 4,
|
|
319
|
+
Method = 5,
|
|
320
|
+
Property = 6,
|
|
321
|
+
Field = 7,
|
|
322
|
+
Constructor = 8,
|
|
323
|
+
Enum = 9,
|
|
324
|
+
Interface = 10,
|
|
325
|
+
Function = 11,
|
|
326
|
+
Variable = 12,
|
|
327
|
+
Constant = 13,
|
|
328
|
+
String = 14,
|
|
329
|
+
Number = 15,
|
|
330
|
+
Boolean = 16,
|
|
331
|
+
Array = 17,
|
|
332
|
+
Object = 18,
|
|
333
|
+
Key = 19,
|
|
334
|
+
Null = 20,
|
|
335
|
+
EnumMember = 21,
|
|
336
|
+
Struct = 22,
|
|
337
|
+
Event = 23,
|
|
338
|
+
Operator = 24,
|
|
339
|
+
TypeParameter = 25
|
|
340
|
+
}
|
|
341
|
+
export declare enum SymbolTag {
|
|
342
|
+
Deprecated = 1
|
|
343
|
+
}
|
|
344
|
+
export declare class SymbolInformation {
|
|
345
|
+
static validate(candidate: SymbolInformation): void;
|
|
346
|
+
name: string;
|
|
347
|
+
location: Location;
|
|
348
|
+
kind: SymbolKind;
|
|
349
|
+
tags?: SymbolTag[];
|
|
350
|
+
containerName: string;
|
|
351
|
+
constructor(name: string, kind: SymbolKind, containerName: string | undefined, location: Location);
|
|
352
|
+
constructor(name: string, kind: SymbolKind, range: Range, uri?: URI, containerName?: string);
|
|
353
|
+
toJSON(): any;
|
|
354
|
+
}
|
|
355
|
+
export declare class DocumentSymbol {
|
|
356
|
+
static validate(candidate: DocumentSymbol): void;
|
|
357
|
+
name: string;
|
|
358
|
+
detail: string;
|
|
359
|
+
kind: SymbolKind;
|
|
360
|
+
tags?: SymbolTag[];
|
|
361
|
+
range: Range;
|
|
362
|
+
selectionRange: Range;
|
|
363
|
+
children: DocumentSymbol[];
|
|
364
|
+
constructor(name: string, detail: string, kind: SymbolKind, range: Range, selectionRange: Range);
|
|
365
|
+
}
|
|
366
|
+
export declare enum CodeActionTriggerKind {
|
|
367
|
+
Invoke = 1,
|
|
368
|
+
Automatic = 2
|
|
369
|
+
}
|
|
370
|
+
export declare class CodeAction {
|
|
371
|
+
title: string;
|
|
372
|
+
command?: vscode.Command;
|
|
373
|
+
edit?: WorkspaceEdit;
|
|
374
|
+
diagnostics?: vscode.Diagnostic[];
|
|
375
|
+
kind?: CodeActionKind;
|
|
376
|
+
isPreferred?: boolean;
|
|
377
|
+
disabled?: {
|
|
378
|
+
reason: string;
|
|
379
|
+
};
|
|
380
|
+
constructor(title: string, kind?: CodeActionKind);
|
|
381
|
+
}
|
|
382
|
+
export declare class CodeActionKind {
|
|
383
|
+
readonly value: string;
|
|
384
|
+
private static readonly sep;
|
|
385
|
+
static Empty: CodeActionKind;
|
|
386
|
+
static QuickFix: CodeActionKind;
|
|
387
|
+
static Refactor: CodeActionKind;
|
|
388
|
+
static RefactorExtract: CodeActionKind;
|
|
389
|
+
static RefactorInline: CodeActionKind;
|
|
390
|
+
static RefactorMove: CodeActionKind;
|
|
391
|
+
static RefactorRewrite: CodeActionKind;
|
|
392
|
+
static Source: CodeActionKind;
|
|
393
|
+
static SourceOrganizeImports: CodeActionKind;
|
|
394
|
+
static SourceFixAll: CodeActionKind;
|
|
395
|
+
static Notebook: CodeActionKind;
|
|
396
|
+
constructor(value: string);
|
|
397
|
+
append(parts: string): CodeActionKind;
|
|
398
|
+
intersects(other: CodeActionKind): boolean;
|
|
399
|
+
contains(other: CodeActionKind): boolean;
|
|
400
|
+
}
|
|
401
|
+
export declare class SelectionRange {
|
|
402
|
+
range: Range;
|
|
403
|
+
parent?: SelectionRange;
|
|
404
|
+
constructor(range: Range, parent?: SelectionRange);
|
|
405
|
+
}
|
|
406
|
+
export declare class CallHierarchyItem {
|
|
407
|
+
_sessionId?: string;
|
|
408
|
+
_itemId?: string;
|
|
409
|
+
kind: SymbolKind;
|
|
410
|
+
tags?: SymbolTag[];
|
|
411
|
+
name: string;
|
|
412
|
+
detail?: string;
|
|
413
|
+
uri: URI;
|
|
414
|
+
range: Range;
|
|
415
|
+
selectionRange: Range;
|
|
416
|
+
constructor(kind: SymbolKind, name: string, detail: string, uri: URI, range: Range, selectionRange: Range);
|
|
417
|
+
}
|
|
418
|
+
export declare class CallHierarchyIncomingCall {
|
|
419
|
+
from: vscode.CallHierarchyItem;
|
|
420
|
+
fromRanges: vscode.Range[];
|
|
421
|
+
constructor(item: vscode.CallHierarchyItem, fromRanges: vscode.Range[]);
|
|
422
|
+
}
|
|
423
|
+
export declare class CallHierarchyOutgoingCall {
|
|
424
|
+
to: vscode.CallHierarchyItem;
|
|
425
|
+
fromRanges: vscode.Range[];
|
|
426
|
+
constructor(item: vscode.CallHierarchyItem, fromRanges: vscode.Range[]);
|
|
427
|
+
}
|
|
428
|
+
export declare enum LanguageStatusSeverity {
|
|
429
|
+
Information = 0,
|
|
430
|
+
Warning = 1,
|
|
431
|
+
Error = 2
|
|
432
|
+
}
|
|
433
|
+
export declare class CodeLens {
|
|
434
|
+
range: Range;
|
|
435
|
+
command: vscode.Command | undefined;
|
|
436
|
+
constructor(range: Range, command?: vscode.Command);
|
|
437
|
+
get isResolved(): boolean;
|
|
438
|
+
}
|
|
439
|
+
export declare class MarkdownString implements vscode.MarkdownString {
|
|
440
|
+
#private;
|
|
441
|
+
static isMarkdownString(thing: any): thing is vscode.MarkdownString;
|
|
442
|
+
constructor(value?: string, supportThemeIcons?: boolean);
|
|
443
|
+
get value(): string;
|
|
444
|
+
set value(value: string);
|
|
445
|
+
get isTrusted(): boolean | MarkdownStringTrustedOptions | undefined;
|
|
446
|
+
set isTrusted(value: boolean | MarkdownStringTrustedOptions | undefined);
|
|
447
|
+
get supportThemeIcons(): boolean | undefined;
|
|
448
|
+
set supportThemeIcons(value: boolean | undefined);
|
|
449
|
+
get supportHtml(): boolean | undefined;
|
|
450
|
+
set supportHtml(value: boolean | undefined);
|
|
451
|
+
get baseUri(): vscode.Uri | undefined;
|
|
452
|
+
set baseUri(value: vscode.Uri | undefined);
|
|
453
|
+
appendText(value: string): vscode.MarkdownString;
|
|
454
|
+
appendMarkdown(value: string): vscode.MarkdownString;
|
|
455
|
+
appendCodeblock(value: string, language?: string): vscode.MarkdownString;
|
|
456
|
+
}
|
|
457
|
+
export declare class ParameterInformation {
|
|
458
|
+
label: string | [number, number];
|
|
459
|
+
documentation?: string | vscode.MarkdownString;
|
|
460
|
+
constructor(label: string | [number, number], documentation?: string | vscode.MarkdownString);
|
|
461
|
+
}
|
|
462
|
+
export declare class SignatureInformation {
|
|
463
|
+
label: string;
|
|
464
|
+
documentation?: string | vscode.MarkdownString;
|
|
465
|
+
parameters: ParameterInformation[];
|
|
466
|
+
activeParameter?: number;
|
|
467
|
+
constructor(label: string, documentation?: string | vscode.MarkdownString);
|
|
468
|
+
}
|
|
469
|
+
export declare class SignatureHelp {
|
|
470
|
+
signatures: SignatureInformation[];
|
|
471
|
+
activeSignature: number;
|
|
472
|
+
activeParameter: number;
|
|
473
|
+
constructor();
|
|
474
|
+
}
|
|
475
|
+
export declare enum SignatureHelpTriggerKind {
|
|
476
|
+
Invoke = 1,
|
|
477
|
+
TriggerCharacter = 2,
|
|
478
|
+
ContentChange = 3
|
|
479
|
+
}
|
|
480
|
+
export declare enum InlayHintKind {
|
|
481
|
+
Type = 1,
|
|
482
|
+
Parameter = 2
|
|
483
|
+
}
|
|
484
|
+
export declare class InlayHintLabelPart {
|
|
485
|
+
value: string;
|
|
486
|
+
tooltip?: string | vscode.MarkdownString;
|
|
487
|
+
location?: Location;
|
|
488
|
+
command?: vscode.Command;
|
|
489
|
+
constructor(value: string);
|
|
490
|
+
}
|
|
491
|
+
export declare class InlayHint implements vscode.InlayHint {
|
|
492
|
+
label: string | InlayHintLabelPart[];
|
|
493
|
+
tooltip?: string | vscode.MarkdownString;
|
|
494
|
+
position: Position;
|
|
495
|
+
textEdits?: TextEdit[];
|
|
496
|
+
kind?: vscode.InlayHintKind;
|
|
497
|
+
paddingLeft?: boolean;
|
|
498
|
+
paddingRight?: boolean;
|
|
499
|
+
constructor(position: Position, label: string | InlayHintLabelPart[], kind?: vscode.InlayHintKind);
|
|
500
|
+
}
|
|
501
|
+
export declare enum CompletionTriggerKind {
|
|
502
|
+
Invoke = 0,
|
|
503
|
+
TriggerCharacter = 1,
|
|
504
|
+
TriggerForIncompleteCompletions = 2
|
|
505
|
+
}
|
|
506
|
+
export interface CompletionContext {
|
|
507
|
+
readonly triggerKind: CompletionTriggerKind;
|
|
508
|
+
readonly triggerCharacter: string | undefined;
|
|
509
|
+
}
|
|
510
|
+
export declare enum CompletionItemKind {
|
|
511
|
+
Text = 0,
|
|
512
|
+
Method = 1,
|
|
513
|
+
Function = 2,
|
|
514
|
+
Constructor = 3,
|
|
515
|
+
Field = 4,
|
|
516
|
+
Variable = 5,
|
|
517
|
+
Class = 6,
|
|
518
|
+
Interface = 7,
|
|
519
|
+
Module = 8,
|
|
520
|
+
Property = 9,
|
|
521
|
+
Unit = 10,
|
|
522
|
+
Value = 11,
|
|
523
|
+
Enum = 12,
|
|
524
|
+
Keyword = 13,
|
|
525
|
+
Snippet = 14,
|
|
526
|
+
Color = 15,
|
|
527
|
+
File = 16,
|
|
528
|
+
Reference = 17,
|
|
529
|
+
Folder = 18,
|
|
530
|
+
EnumMember = 19,
|
|
531
|
+
Constant = 20,
|
|
532
|
+
Struct = 21,
|
|
533
|
+
Event = 22,
|
|
534
|
+
Operator = 23,
|
|
535
|
+
TypeParameter = 24,
|
|
536
|
+
User = 25,
|
|
537
|
+
Issue = 26
|
|
538
|
+
}
|
|
539
|
+
export declare enum CompletionItemTag {
|
|
540
|
+
Deprecated = 1
|
|
541
|
+
}
|
|
542
|
+
export interface CompletionItemLabel {
|
|
543
|
+
label: string;
|
|
544
|
+
detail?: string;
|
|
545
|
+
description?: string;
|
|
546
|
+
}
|
|
547
|
+
export declare class CompletionItem implements vscode.CompletionItem {
|
|
548
|
+
label: string | CompletionItemLabel;
|
|
549
|
+
kind?: CompletionItemKind;
|
|
550
|
+
tags?: CompletionItemTag[];
|
|
551
|
+
detail?: string;
|
|
552
|
+
documentation?: string | vscode.MarkdownString;
|
|
553
|
+
sortText?: string;
|
|
554
|
+
filterText?: string;
|
|
555
|
+
preselect?: boolean;
|
|
556
|
+
insertText?: string | SnippetString;
|
|
557
|
+
keepWhitespace?: boolean;
|
|
558
|
+
range?: Range | {
|
|
559
|
+
inserting: Range;
|
|
560
|
+
replacing: Range;
|
|
561
|
+
};
|
|
562
|
+
commitCharacters?: string[];
|
|
563
|
+
textEdit?: TextEdit;
|
|
564
|
+
additionalTextEdits?: TextEdit[];
|
|
565
|
+
command?: vscode.Command;
|
|
566
|
+
constructor(label: string | CompletionItemLabel, kind?: CompletionItemKind);
|
|
567
|
+
toJSON(): any;
|
|
568
|
+
}
|
|
569
|
+
export declare class CompletionList {
|
|
570
|
+
isIncomplete?: boolean;
|
|
571
|
+
items: vscode.CompletionItem[];
|
|
572
|
+
constructor(items?: vscode.CompletionItem[], isIncomplete?: boolean);
|
|
573
|
+
}
|
|
574
|
+
export declare class InlineSuggestion implements vscode.InlineCompletionItem {
|
|
575
|
+
filterText?: string;
|
|
576
|
+
insertText: string;
|
|
577
|
+
range?: Range;
|
|
578
|
+
command?: vscode.Command;
|
|
579
|
+
constructor(insertText: string, range?: Range, command?: vscode.Command);
|
|
580
|
+
}
|
|
581
|
+
export declare class InlineSuggestionList implements vscode.InlineCompletionList {
|
|
582
|
+
items: vscode.InlineCompletionItem[];
|
|
583
|
+
commands: vscode.Command[] | undefined;
|
|
584
|
+
suppressSuggestions: boolean | undefined;
|
|
585
|
+
constructor(items: vscode.InlineCompletionItem[]);
|
|
586
|
+
}
|
|
587
|
+
export declare enum ViewColumn {
|
|
588
|
+
Active = -1,
|
|
589
|
+
Beside = -2,
|
|
590
|
+
One = 1,
|
|
591
|
+
Two = 2,
|
|
592
|
+
Three = 3,
|
|
593
|
+
Four = 4,
|
|
594
|
+
Five = 5,
|
|
595
|
+
Six = 6,
|
|
596
|
+
Seven = 7,
|
|
597
|
+
Eight = 8,
|
|
598
|
+
Nine = 9
|
|
599
|
+
}
|
|
600
|
+
export declare enum StatusBarAlignment {
|
|
601
|
+
Left = 1,
|
|
602
|
+
Right = 2
|
|
603
|
+
}
|
|
604
|
+
export declare enum TextEditorLineNumbersStyle {
|
|
605
|
+
Off = 0,
|
|
606
|
+
On = 1,
|
|
607
|
+
Relative = 2
|
|
608
|
+
}
|
|
609
|
+
export declare enum TextDocumentSaveReason {
|
|
610
|
+
Manual = 1,
|
|
611
|
+
AfterDelay = 2,
|
|
612
|
+
FocusOut = 3
|
|
613
|
+
}
|
|
614
|
+
export declare enum TextEditorRevealType {
|
|
615
|
+
Default = 0,
|
|
616
|
+
InCenter = 1,
|
|
617
|
+
InCenterIfOutsideViewport = 2,
|
|
618
|
+
AtTop = 3
|
|
619
|
+
}
|
|
620
|
+
export declare enum TextEditorSelectionChangeKind {
|
|
621
|
+
Keyboard = 1,
|
|
622
|
+
Mouse = 2,
|
|
623
|
+
Command = 3
|
|
624
|
+
}
|
|
625
|
+
export declare enum TextDocumentChangeReason {
|
|
626
|
+
Undo = 1,
|
|
627
|
+
Redo = 2
|
|
628
|
+
}
|
|
629
|
+
/**
|
|
630
|
+
* These values match very carefully the values of `TrackedRangeStickiness`
|
|
631
|
+
*/
|
|
632
|
+
export declare enum DecorationRangeBehavior {
|
|
633
|
+
/**
|
|
634
|
+
* TrackedRangeStickiness.AlwaysGrowsWhenTypingAtEdges
|
|
635
|
+
*/
|
|
636
|
+
OpenOpen = 0,
|
|
637
|
+
/**
|
|
638
|
+
* TrackedRangeStickiness.NeverGrowsWhenTypingAtEdges
|
|
639
|
+
*/
|
|
640
|
+
ClosedClosed = 1,
|
|
641
|
+
/**
|
|
642
|
+
* TrackedRangeStickiness.GrowsOnlyWhenTypingBefore
|
|
643
|
+
*/
|
|
644
|
+
OpenClosed = 2,
|
|
645
|
+
/**
|
|
646
|
+
* TrackedRangeStickiness.GrowsOnlyWhenTypingAfter
|
|
647
|
+
*/
|
|
648
|
+
ClosedOpen = 3
|
|
649
|
+
}
|
|
650
|
+
export declare namespace TextEditorSelectionChangeKind {
|
|
651
|
+
function fromValue(s: string | undefined): TextEditorSelectionChangeKind | undefined;
|
|
652
|
+
}
|
|
653
|
+
export declare enum SyntaxTokenType {
|
|
654
|
+
Other = 0,
|
|
655
|
+
Comment = 1,
|
|
656
|
+
String = 2,
|
|
657
|
+
RegEx = 3
|
|
658
|
+
}
|
|
659
|
+
export declare namespace SyntaxTokenType {
|
|
660
|
+
function toString(v: SyntaxTokenType | unknown): 'other' | 'comment' | 'string' | 'regex';
|
|
661
|
+
}
|
|
662
|
+
export declare class DocumentLink {
|
|
663
|
+
range: Range;
|
|
664
|
+
target?: URI;
|
|
665
|
+
tooltip?: string;
|
|
666
|
+
constructor(range: Range, target: URI | undefined);
|
|
667
|
+
}
|
|
668
|
+
export declare class Color {
|
|
669
|
+
readonly red: number;
|
|
670
|
+
readonly green: number;
|
|
671
|
+
readonly blue: number;
|
|
672
|
+
readonly alpha: number;
|
|
673
|
+
constructor(red: number, green: number, blue: number, alpha: number);
|
|
674
|
+
}
|
|
675
|
+
export type IColorFormat = string | {
|
|
676
|
+
opaque: string;
|
|
677
|
+
transparent: string;
|
|
678
|
+
};
|
|
679
|
+
export declare class ColorInformation {
|
|
680
|
+
range: Range;
|
|
681
|
+
color: Color;
|
|
682
|
+
constructor(range: Range, color: Color);
|
|
683
|
+
}
|
|
684
|
+
export declare class ColorPresentation {
|
|
685
|
+
label: string;
|
|
686
|
+
textEdit?: TextEdit;
|
|
687
|
+
additionalTextEdits?: TextEdit[];
|
|
688
|
+
constructor(label: string);
|
|
689
|
+
}
|
|
690
|
+
export declare enum ColorFormat {
|
|
691
|
+
RGB = 0,
|
|
692
|
+
HEX = 1,
|
|
693
|
+
HSL = 2
|
|
694
|
+
}
|
|
695
|
+
export declare enum SourceControlInputBoxValidationType {
|
|
696
|
+
Error = 0,
|
|
697
|
+
Warning = 1,
|
|
698
|
+
Information = 2
|
|
699
|
+
}
|
|
700
|
+
export declare enum TerminalExitReason {
|
|
701
|
+
Unknown = 0,
|
|
702
|
+
Shutdown = 1,
|
|
703
|
+
Process = 2,
|
|
704
|
+
User = 3,
|
|
705
|
+
Extension = 4
|
|
706
|
+
}
|
|
707
|
+
export declare class TerminalLink implements vscode.TerminalLink {
|
|
708
|
+
startIndex: number;
|
|
709
|
+
length: number;
|
|
710
|
+
tooltip?: string | undefined;
|
|
711
|
+
constructor(startIndex: number, length: number, tooltip?: string | undefined);
|
|
712
|
+
}
|
|
713
|
+
export declare class TerminalQuickFixOpener {
|
|
714
|
+
uri: vscode.Uri;
|
|
715
|
+
constructor(uri: vscode.Uri);
|
|
716
|
+
}
|
|
717
|
+
export declare class TerminalQuickFixCommand {
|
|
718
|
+
terminalCommand: string;
|
|
719
|
+
constructor(terminalCommand: string);
|
|
720
|
+
}
|
|
721
|
+
export declare enum TerminalLocation {
|
|
722
|
+
Panel = 1,
|
|
723
|
+
Editor = 2
|
|
724
|
+
}
|
|
725
|
+
export declare class TerminalProfile implements vscode.TerminalProfile {
|
|
726
|
+
options: vscode.TerminalOptions | vscode.ExtensionTerminalOptions;
|
|
727
|
+
constructor(options: vscode.TerminalOptions | vscode.ExtensionTerminalOptions);
|
|
728
|
+
}
|
|
729
|
+
export declare enum TaskRevealKind {
|
|
730
|
+
Always = 1,
|
|
731
|
+
Silent = 2,
|
|
732
|
+
Never = 3
|
|
733
|
+
}
|
|
734
|
+
export declare enum TaskPanelKind {
|
|
735
|
+
Shared = 1,
|
|
736
|
+
Dedicated = 2,
|
|
737
|
+
New = 3
|
|
738
|
+
}
|
|
739
|
+
export declare class TaskGroup implements vscode.TaskGroup {
|
|
740
|
+
readonly label: string;
|
|
741
|
+
isDefault: boolean | undefined;
|
|
742
|
+
private _id;
|
|
743
|
+
static Clean: TaskGroup;
|
|
744
|
+
static Build: TaskGroup;
|
|
745
|
+
static Rebuild: TaskGroup;
|
|
746
|
+
static Test: TaskGroup;
|
|
747
|
+
static from(value: string): TaskGroup | undefined;
|
|
748
|
+
constructor(id: string, label: string);
|
|
749
|
+
get id(): string;
|
|
750
|
+
}
|
|
751
|
+
export declare class ProcessExecution implements vscode.ProcessExecution {
|
|
752
|
+
private _process;
|
|
753
|
+
private _args;
|
|
754
|
+
private _options;
|
|
755
|
+
constructor(process: string, options?: vscode.ProcessExecutionOptions);
|
|
756
|
+
constructor(process: string, args: string[], options?: vscode.ProcessExecutionOptions);
|
|
757
|
+
get process(): string;
|
|
758
|
+
set process(value: string);
|
|
759
|
+
get args(): string[];
|
|
760
|
+
set args(value: string[]);
|
|
761
|
+
get options(): vscode.ProcessExecutionOptions | undefined;
|
|
762
|
+
set options(value: vscode.ProcessExecutionOptions | undefined);
|
|
763
|
+
computeId(): string;
|
|
764
|
+
}
|
|
765
|
+
export declare class ShellExecution implements vscode.ShellExecution {
|
|
766
|
+
private _commandLine;
|
|
767
|
+
private _command;
|
|
768
|
+
private _args;
|
|
769
|
+
private _options;
|
|
770
|
+
constructor(commandLine: string, options?: vscode.ShellExecutionOptions);
|
|
771
|
+
constructor(command: string | vscode.ShellQuotedString, args: (string | vscode.ShellQuotedString)[], options?: vscode.ShellExecutionOptions);
|
|
772
|
+
get commandLine(): string | undefined;
|
|
773
|
+
set commandLine(value: string | undefined);
|
|
774
|
+
get command(): string | vscode.ShellQuotedString;
|
|
775
|
+
set command(value: string | vscode.ShellQuotedString);
|
|
776
|
+
get args(): (string | vscode.ShellQuotedString)[];
|
|
777
|
+
set args(value: (string | vscode.ShellQuotedString)[]);
|
|
778
|
+
get options(): vscode.ShellExecutionOptions | undefined;
|
|
779
|
+
set options(value: vscode.ShellExecutionOptions | undefined);
|
|
780
|
+
computeId(): string;
|
|
781
|
+
}
|
|
782
|
+
export declare enum ShellQuoting {
|
|
783
|
+
Escape = 1,
|
|
784
|
+
Strong = 2,
|
|
785
|
+
Weak = 3
|
|
786
|
+
}
|
|
787
|
+
export declare enum TaskScope {
|
|
788
|
+
Global = 1,
|
|
789
|
+
Workspace = 2
|
|
790
|
+
}
|
|
791
|
+
export declare class CustomExecution implements vscode.CustomExecution {
|
|
792
|
+
private _callback;
|
|
793
|
+
constructor(callback: (resolvedDefinition: vscode.TaskDefinition) => Thenable<vscode.Pseudoterminal>);
|
|
794
|
+
computeId(): string;
|
|
795
|
+
set callback(value: (resolvedDefinition: vscode.TaskDefinition) => Thenable<vscode.Pseudoterminal>);
|
|
796
|
+
get callback(): (resolvedDefinition: vscode.TaskDefinition) => Thenable<vscode.Pseudoterminal>;
|
|
797
|
+
}
|
|
798
|
+
export declare class Task implements vscode.Task {
|
|
799
|
+
private static ExtensionCallbackType;
|
|
800
|
+
private static ProcessType;
|
|
801
|
+
private static ShellType;
|
|
802
|
+
private static EmptyType;
|
|
803
|
+
private __id;
|
|
804
|
+
private __deprecated;
|
|
805
|
+
private _definition;
|
|
806
|
+
private _scope;
|
|
807
|
+
private _name;
|
|
808
|
+
private _execution;
|
|
809
|
+
private _problemMatchers;
|
|
810
|
+
private _hasDefinedMatchers;
|
|
811
|
+
private _isBackground;
|
|
812
|
+
private _source;
|
|
813
|
+
private _group;
|
|
814
|
+
private _presentationOptions;
|
|
815
|
+
private _runOptions;
|
|
816
|
+
private _detail;
|
|
817
|
+
constructor(definition: vscode.TaskDefinition, name: string, source: string, execution?: ProcessExecution | ShellExecution | CustomExecution, problemMatchers?: string | string[]);
|
|
818
|
+
constructor(definition: vscode.TaskDefinition, scope: vscode.TaskScope.Global | vscode.TaskScope.Workspace | vscode.WorkspaceFolder, name: string, source: string, execution?: ProcessExecution | ShellExecution | CustomExecution, problemMatchers?: string | string[]);
|
|
819
|
+
get _id(): string | undefined;
|
|
820
|
+
set _id(value: string | undefined);
|
|
821
|
+
get _deprecated(): boolean;
|
|
822
|
+
private clear;
|
|
823
|
+
private computeDefinitionBasedOnExecution;
|
|
824
|
+
get definition(): vscode.TaskDefinition;
|
|
825
|
+
set definition(value: vscode.TaskDefinition);
|
|
826
|
+
get scope(): vscode.TaskScope.Global | vscode.TaskScope.Workspace | vscode.WorkspaceFolder | undefined;
|
|
827
|
+
set target(value: vscode.TaskScope.Global | vscode.TaskScope.Workspace | vscode.WorkspaceFolder);
|
|
828
|
+
get name(): string;
|
|
829
|
+
set name(value: string);
|
|
830
|
+
get execution(): ProcessExecution | ShellExecution | CustomExecution | undefined;
|
|
831
|
+
set execution(value: ProcessExecution | ShellExecution | CustomExecution | undefined);
|
|
832
|
+
get problemMatchers(): string[];
|
|
833
|
+
set problemMatchers(value: string[]);
|
|
834
|
+
get hasDefinedMatchers(): boolean;
|
|
835
|
+
get isBackground(): boolean;
|
|
836
|
+
set isBackground(value: boolean);
|
|
837
|
+
get source(): string;
|
|
838
|
+
set source(value: string);
|
|
839
|
+
get group(): TaskGroup | undefined;
|
|
840
|
+
set group(value: TaskGroup | undefined);
|
|
841
|
+
get detail(): string | undefined;
|
|
842
|
+
set detail(value: string | undefined);
|
|
843
|
+
get presentationOptions(): vscode.TaskPresentationOptions;
|
|
844
|
+
set presentationOptions(value: vscode.TaskPresentationOptions);
|
|
845
|
+
get runOptions(): vscode.RunOptions;
|
|
846
|
+
set runOptions(value: vscode.RunOptions);
|
|
847
|
+
}
|
|
848
|
+
export declare enum ProgressLocation {
|
|
849
|
+
SourceControl = 1,
|
|
850
|
+
Window = 10,
|
|
851
|
+
Notification = 15
|
|
852
|
+
}
|
|
853
|
+
export declare namespace ViewBadge {
|
|
854
|
+
function isViewBadge(thing: any): thing is vscode.ViewBadge;
|
|
855
|
+
}
|
|
856
|
+
export declare class TreeItem {
|
|
857
|
+
collapsibleState: vscode.TreeItemCollapsibleState;
|
|
858
|
+
label?: string | vscode.TreeItemLabel;
|
|
859
|
+
resourceUri?: URI;
|
|
860
|
+
iconPath?: string | URI | {
|
|
861
|
+
light: string | URI;
|
|
862
|
+
dark: string | URI;
|
|
863
|
+
} | ThemeIcon;
|
|
864
|
+
command?: vscode.Command;
|
|
865
|
+
contextValue?: string;
|
|
866
|
+
tooltip?: string | vscode.MarkdownString;
|
|
867
|
+
checkboxState?: vscode.TreeItemCheckboxState;
|
|
868
|
+
static isTreeItem(thing: any): thing is TreeItem;
|
|
869
|
+
constructor(label: string | vscode.TreeItemLabel, collapsibleState?: vscode.TreeItemCollapsibleState);
|
|
870
|
+
constructor(resourceUri: URI, collapsibleState?: vscode.TreeItemCollapsibleState);
|
|
871
|
+
}
|
|
872
|
+
export declare enum TreeItemCollapsibleState {
|
|
873
|
+
None = 0,
|
|
874
|
+
Collapsed = 1,
|
|
875
|
+
Expanded = 2
|
|
876
|
+
}
|
|
877
|
+
export declare enum TreeItemCheckboxState {
|
|
878
|
+
Unchecked = 0,
|
|
879
|
+
Checked = 1
|
|
880
|
+
}
|
|
881
|
+
export declare class DataTransferItem implements vscode.DataTransferItem {
|
|
882
|
+
readonly value: any;
|
|
883
|
+
asString(): Promise<string>;
|
|
884
|
+
asFile(): undefined | vscode.DataTransferFile;
|
|
885
|
+
constructor(value: any);
|
|
886
|
+
}
|
|
887
|
+
/**
|
|
888
|
+
* A data transfer item that has been created by VS Code instead of by a extension.
|
|
889
|
+
*
|
|
890
|
+
* Intentionally not exported to extensions.
|
|
891
|
+
*/
|
|
892
|
+
export declare class InternalDataTransferItem extends DataTransferItem {
|
|
893
|
+
}
|
|
894
|
+
/**
|
|
895
|
+
* A data transfer item for a file.
|
|
896
|
+
*
|
|
897
|
+
* Intentionally not exported to extensions as only we can create these.
|
|
898
|
+
*/
|
|
899
|
+
export declare class InternalFileDataTransferItem extends InternalDataTransferItem {
|
|
900
|
+
#private;
|
|
901
|
+
constructor(file: vscode.DataTransferFile);
|
|
902
|
+
asFile(): vscode.DataTransferFile;
|
|
903
|
+
}
|
|
904
|
+
/**
|
|
905
|
+
* Intentionally not exported to extensions
|
|
906
|
+
*/
|
|
907
|
+
export declare class DataTransferFile implements vscode.DataTransferFile {
|
|
908
|
+
readonly name: string;
|
|
909
|
+
readonly uri: vscode.Uri | undefined;
|
|
910
|
+
readonly _itemId: string;
|
|
911
|
+
private readonly _getData;
|
|
912
|
+
constructor(name: string, uri: vscode.Uri | undefined, itemId: string, getData: () => Promise<Uint8Array>);
|
|
913
|
+
data(): Promise<Uint8Array>;
|
|
914
|
+
}
|
|
915
|
+
export declare class DataTransfer implements vscode.DataTransfer {
|
|
916
|
+
#private;
|
|
917
|
+
constructor(init?: Iterable<readonly [string, DataTransferItem]>);
|
|
918
|
+
get(mimeType: string): DataTransferItem | undefined;
|
|
919
|
+
set(mimeType: string, value: DataTransferItem): void;
|
|
920
|
+
forEach(callbackfn: (value: DataTransferItem, key: string, dataTransfer: DataTransfer) => void, thisArg?: unknown): void;
|
|
921
|
+
[Symbol.iterator](): IterableIterator<[
|
|
922
|
+
mimeType: string,
|
|
923
|
+
item: vscode.DataTransferItem
|
|
924
|
+
]>;
|
|
925
|
+
}
|
|
926
|
+
export declare class DocumentDropEdit {
|
|
927
|
+
id: string | undefined;
|
|
928
|
+
insertText: string | SnippetString;
|
|
929
|
+
additionalEdit?: WorkspaceEdit;
|
|
930
|
+
constructor(insertText: string | SnippetString);
|
|
931
|
+
}
|
|
932
|
+
export declare class DocumentPasteEdit {
|
|
933
|
+
label: string;
|
|
934
|
+
insertText: string | SnippetString;
|
|
935
|
+
additionalEdit?: WorkspaceEdit;
|
|
936
|
+
constructor(insertText: string | SnippetString, label: string);
|
|
937
|
+
}
|
|
938
|
+
export declare class ThemeIcon {
|
|
939
|
+
static File: ThemeIcon;
|
|
940
|
+
static Folder: ThemeIcon;
|
|
941
|
+
readonly id: string;
|
|
942
|
+
readonly color?: ThemeColor;
|
|
943
|
+
constructor(id: string, color?: ThemeColor);
|
|
944
|
+
static isThemeIcon(thing: any): boolean;
|
|
945
|
+
}
|
|
946
|
+
export declare class ThemeColor {
|
|
947
|
+
id: string;
|
|
948
|
+
constructor(id: string);
|
|
949
|
+
}
|
|
950
|
+
export declare enum ConfigurationTarget {
|
|
951
|
+
Global = 1,
|
|
952
|
+
Workspace = 2,
|
|
953
|
+
WorkspaceFolder = 3
|
|
954
|
+
}
|
|
955
|
+
export declare class RelativePattern implements IRelativePattern {
|
|
956
|
+
pattern: string;
|
|
957
|
+
private _base;
|
|
958
|
+
get base(): string;
|
|
959
|
+
set base(base: string);
|
|
960
|
+
private _baseUri;
|
|
961
|
+
get baseUri(): URI;
|
|
962
|
+
set baseUri(baseUri: URI);
|
|
963
|
+
constructor(base: vscode.WorkspaceFolder | URI | string, pattern: string);
|
|
964
|
+
toJSON(): IRelativePatternDto;
|
|
965
|
+
}
|
|
966
|
+
/**
|
|
967
|
+
* We want to be able to construct Breakpoints internally that have a particular id, but we don't want extensions to be
|
|
968
|
+
* able to do this with the exposed Breakpoint classes in extension API.
|
|
969
|
+
* We also want "instanceof" to work with debug.breakpoints and the exposed breakpoint classes.
|
|
970
|
+
* And private members will be renamed in the built js, so casting to any and setting a private member is not safe.
|
|
971
|
+
* So, we store internal breakpoint IDs in a WeakMap. This function must be called after constructing a Breakpoint
|
|
972
|
+
* with a known id.
|
|
973
|
+
*/
|
|
974
|
+
export declare function setBreakpointId(bp: Breakpoint, id: string): void;
|
|
975
|
+
export declare class Breakpoint {
|
|
976
|
+
private _id;
|
|
977
|
+
readonly enabled: boolean;
|
|
978
|
+
readonly condition?: string;
|
|
979
|
+
readonly hitCondition?: string;
|
|
980
|
+
readonly logMessage?: string;
|
|
981
|
+
protected constructor(enabled?: boolean, condition?: string, hitCondition?: string, logMessage?: string);
|
|
982
|
+
get id(): string;
|
|
983
|
+
}
|
|
984
|
+
export declare class SourceBreakpoint extends Breakpoint {
|
|
985
|
+
readonly location: Location;
|
|
986
|
+
constructor(location: Location, enabled?: boolean, condition?: string, hitCondition?: string, logMessage?: string);
|
|
987
|
+
}
|
|
988
|
+
export declare class FunctionBreakpoint extends Breakpoint {
|
|
989
|
+
readonly functionName: string;
|
|
990
|
+
constructor(functionName: string, enabled?: boolean, condition?: string, hitCondition?: string, logMessage?: string);
|
|
991
|
+
}
|
|
992
|
+
export declare class DataBreakpoint extends Breakpoint {
|
|
993
|
+
readonly label: string;
|
|
994
|
+
readonly dataId: string;
|
|
995
|
+
readonly canPersist: boolean;
|
|
996
|
+
constructor(label: string, dataId: string, canPersist: boolean, enabled?: boolean, condition?: string, hitCondition?: string, logMessage?: string);
|
|
997
|
+
}
|
|
998
|
+
export declare class DebugAdapterExecutable implements vscode.DebugAdapterExecutable {
|
|
999
|
+
readonly command: string;
|
|
1000
|
+
readonly args: string[];
|
|
1001
|
+
readonly options?: vscode.DebugAdapterExecutableOptions;
|
|
1002
|
+
constructor(command: string, args: string[], options?: vscode.DebugAdapterExecutableOptions);
|
|
1003
|
+
}
|
|
1004
|
+
export declare class DebugAdapterServer implements vscode.DebugAdapterServer {
|
|
1005
|
+
readonly port: number;
|
|
1006
|
+
readonly host?: string;
|
|
1007
|
+
constructor(port: number, host?: string);
|
|
1008
|
+
}
|
|
1009
|
+
export declare class DebugAdapterNamedPipeServer implements vscode.DebugAdapterNamedPipeServer {
|
|
1010
|
+
readonly path: string;
|
|
1011
|
+
constructor(path: string);
|
|
1012
|
+
}
|
|
1013
|
+
export declare class DebugAdapterInlineImplementation implements vscode.DebugAdapterInlineImplementation {
|
|
1014
|
+
readonly implementation: vscode.DebugAdapter;
|
|
1015
|
+
constructor(impl: vscode.DebugAdapter);
|
|
1016
|
+
}
|
|
1017
|
+
export declare class StackFrameFocus {
|
|
1018
|
+
readonly session: vscode.DebugSession;
|
|
1019
|
+
readonly threadId?: number | undefined;
|
|
1020
|
+
readonly frameId?: number | undefined;
|
|
1021
|
+
constructor(session: vscode.DebugSession, threadId?: number | undefined, frameId?: number | undefined);
|
|
1022
|
+
}
|
|
1023
|
+
export declare class ThreadFocus {
|
|
1024
|
+
readonly session: vscode.DebugSession;
|
|
1025
|
+
readonly threadId?: number | undefined;
|
|
1026
|
+
constructor(session: vscode.DebugSession, threadId?: number | undefined);
|
|
1027
|
+
}
|
|
1028
|
+
export declare class EvaluatableExpression implements vscode.EvaluatableExpression {
|
|
1029
|
+
readonly range: vscode.Range;
|
|
1030
|
+
readonly expression?: string;
|
|
1031
|
+
constructor(range: vscode.Range, expression?: string);
|
|
1032
|
+
}
|
|
1033
|
+
export declare enum InlineCompletionTriggerKind {
|
|
1034
|
+
Invoke = 0,
|
|
1035
|
+
Automatic = 1
|
|
1036
|
+
}
|
|
1037
|
+
export declare class InlineValueText implements vscode.InlineValueText {
|
|
1038
|
+
readonly range: Range;
|
|
1039
|
+
readonly text: string;
|
|
1040
|
+
constructor(range: Range, text: string);
|
|
1041
|
+
}
|
|
1042
|
+
export declare class InlineValueVariableLookup implements vscode.InlineValueVariableLookup {
|
|
1043
|
+
readonly range: Range;
|
|
1044
|
+
readonly variableName?: string;
|
|
1045
|
+
readonly caseSensitiveLookup: boolean;
|
|
1046
|
+
constructor(range: Range, variableName?: string, caseSensitiveLookup?: boolean);
|
|
1047
|
+
}
|
|
1048
|
+
export declare class InlineValueEvaluatableExpression implements vscode.InlineValueEvaluatableExpression {
|
|
1049
|
+
readonly range: Range;
|
|
1050
|
+
readonly expression?: string;
|
|
1051
|
+
constructor(range: Range, expression?: string);
|
|
1052
|
+
}
|
|
1053
|
+
export declare class InlineValueContext implements vscode.InlineValueContext {
|
|
1054
|
+
readonly frameId: number;
|
|
1055
|
+
readonly stoppedLocation: vscode.Range;
|
|
1056
|
+
constructor(frameId: number, range: vscode.Range);
|
|
1057
|
+
}
|
|
1058
|
+
export declare enum FileChangeType {
|
|
1059
|
+
Changed = 1,
|
|
1060
|
+
Created = 2,
|
|
1061
|
+
Deleted = 3
|
|
1062
|
+
}
|
|
1063
|
+
export declare class FileSystemError extends Error {
|
|
1064
|
+
static FileExists(messageOrUri?: string | URI): FileSystemError;
|
|
1065
|
+
static FileNotFound(messageOrUri?: string | URI): FileSystemError;
|
|
1066
|
+
static FileNotADirectory(messageOrUri?: string | URI): FileSystemError;
|
|
1067
|
+
static FileIsADirectory(messageOrUri?: string | URI): FileSystemError;
|
|
1068
|
+
static NoPermissions(messageOrUri?: string | URI): FileSystemError;
|
|
1069
|
+
static Unavailable(messageOrUri?: string | URI): FileSystemError;
|
|
1070
|
+
readonly code: string;
|
|
1071
|
+
constructor(uriOrMessage?: string | URI, code?: FileSystemProviderErrorCode, terminator?: Function);
|
|
1072
|
+
}
|
|
1073
|
+
export declare class FoldingRange {
|
|
1074
|
+
start: number;
|
|
1075
|
+
end: number;
|
|
1076
|
+
kind?: FoldingRangeKind;
|
|
1077
|
+
constructor(start: number, end: number, kind?: FoldingRangeKind);
|
|
1078
|
+
}
|
|
1079
|
+
export declare enum FoldingRangeKind {
|
|
1080
|
+
Comment = 1,
|
|
1081
|
+
Imports = 2,
|
|
1082
|
+
Region = 3
|
|
1083
|
+
}
|
|
1084
|
+
export declare enum CommentThreadCollapsibleState {
|
|
1085
|
+
/**
|
|
1086
|
+
* Determines an item is collapsed
|
|
1087
|
+
*/
|
|
1088
|
+
Collapsed = 0,
|
|
1089
|
+
/**
|
|
1090
|
+
* Determines an item is expanded
|
|
1091
|
+
*/
|
|
1092
|
+
Expanded = 1
|
|
1093
|
+
}
|
|
1094
|
+
export declare enum CommentMode {
|
|
1095
|
+
Editing = 0,
|
|
1096
|
+
Preview = 1
|
|
1097
|
+
}
|
|
1098
|
+
export declare enum CommentState {
|
|
1099
|
+
Published = 0,
|
|
1100
|
+
Draft = 1
|
|
1101
|
+
}
|
|
1102
|
+
export declare enum CommentThreadState {
|
|
1103
|
+
Unresolved = 0,
|
|
1104
|
+
Resolved = 1
|
|
1105
|
+
}
|
|
1106
|
+
export declare class SemanticTokensLegend {
|
|
1107
|
+
readonly tokenTypes: string[];
|
|
1108
|
+
readonly tokenModifiers: string[];
|
|
1109
|
+
constructor(tokenTypes: string[], tokenModifiers?: string[]);
|
|
1110
|
+
}
|
|
1111
|
+
export declare class SemanticTokensBuilder {
|
|
1112
|
+
private _prevLine;
|
|
1113
|
+
private _prevChar;
|
|
1114
|
+
private _dataIsSortedAndDeltaEncoded;
|
|
1115
|
+
private _data;
|
|
1116
|
+
private _dataLen;
|
|
1117
|
+
private _tokenTypeStrToInt;
|
|
1118
|
+
private _tokenModifierStrToInt;
|
|
1119
|
+
private _hasLegend;
|
|
1120
|
+
constructor(legend?: vscode.SemanticTokensLegend);
|
|
1121
|
+
push(line: number, char: number, length: number, tokenType: number, tokenModifiers?: number): void;
|
|
1122
|
+
push(range: Range, tokenType: string, tokenModifiers?: string[]): void;
|
|
1123
|
+
private _push;
|
|
1124
|
+
private _pushEncoded;
|
|
1125
|
+
private static _sortAndDeltaEncode;
|
|
1126
|
+
build(resultId?: string): SemanticTokens;
|
|
1127
|
+
}
|
|
1128
|
+
export declare class SemanticTokens {
|
|
1129
|
+
readonly resultId: string | undefined;
|
|
1130
|
+
readonly data: Uint32Array;
|
|
1131
|
+
constructor(data: Uint32Array, resultId?: string);
|
|
1132
|
+
}
|
|
1133
|
+
export declare class SemanticTokensEdit {
|
|
1134
|
+
readonly start: number;
|
|
1135
|
+
readonly deleteCount: number;
|
|
1136
|
+
readonly data: Uint32Array | undefined;
|
|
1137
|
+
constructor(start: number, deleteCount: number, data?: Uint32Array);
|
|
1138
|
+
}
|
|
1139
|
+
export declare class SemanticTokensEdits {
|
|
1140
|
+
readonly resultId: string | undefined;
|
|
1141
|
+
readonly edits: SemanticTokensEdit[];
|
|
1142
|
+
constructor(edits: SemanticTokensEdit[], resultId?: string);
|
|
1143
|
+
}
|
|
1144
|
+
export declare enum DebugConsoleMode {
|
|
1145
|
+
/**
|
|
1146
|
+
* Debug session should have a separate debug console.
|
|
1147
|
+
*/
|
|
1148
|
+
Separate = 0,
|
|
1149
|
+
/**
|
|
1150
|
+
* Debug session should share debug console with its parent session.
|
|
1151
|
+
* This value has no effect for sessions which do not have a parent session.
|
|
1152
|
+
*/
|
|
1153
|
+
MergeWithParent = 1
|
|
1154
|
+
}
|
|
1155
|
+
export declare class QuickInputButtons {
|
|
1156
|
+
static readonly Back: vscode.QuickInputButton;
|
|
1157
|
+
private constructor();
|
|
1158
|
+
}
|
|
1159
|
+
export declare enum QuickPickItemKind {
|
|
1160
|
+
Separator = -1,
|
|
1161
|
+
Default = 0
|
|
1162
|
+
}
|
|
1163
|
+
export declare enum InputBoxValidationSeverity {
|
|
1164
|
+
Info = 1,
|
|
1165
|
+
Warning = 2,
|
|
1166
|
+
Error = 3
|
|
1167
|
+
}
|
|
1168
|
+
export declare enum ExtensionKind {
|
|
1169
|
+
UI = 1,
|
|
1170
|
+
Workspace = 2
|
|
1171
|
+
}
|
|
1172
|
+
export declare class ColorTheme implements vscode.ColorTheme {
|
|
1173
|
+
readonly kind: ColorThemeKind;
|
|
1174
|
+
constructor(kind: ColorThemeKind);
|
|
1175
|
+
}
|
|
1176
|
+
export declare enum ColorThemeKind {
|
|
1177
|
+
Light = 1,
|
|
1178
|
+
Dark = 2,
|
|
1179
|
+
HighContrast = 3,
|
|
1180
|
+
HighContrastLight = 4
|
|
1181
|
+
}
|
|
1182
|
+
export declare class NotebookRange {
|
|
1183
|
+
static isNotebookRange(thing: any): thing is vscode.NotebookRange;
|
|
1184
|
+
private _start;
|
|
1185
|
+
private _end;
|
|
1186
|
+
get start(): number;
|
|
1187
|
+
get end(): number;
|
|
1188
|
+
get isEmpty(): boolean;
|
|
1189
|
+
constructor(start: number, end: number);
|
|
1190
|
+
with(change: {
|
|
1191
|
+
start?: number;
|
|
1192
|
+
end?: number;
|
|
1193
|
+
}): NotebookRange;
|
|
1194
|
+
}
|
|
1195
|
+
export declare class NotebookCellData {
|
|
1196
|
+
static validate(data: NotebookCellData): void;
|
|
1197
|
+
static isNotebookCellDataArray(value: unknown): value is vscode.NotebookCellData[];
|
|
1198
|
+
static isNotebookCellData(value: unknown): value is vscode.NotebookCellData;
|
|
1199
|
+
kind: NotebookCellKind;
|
|
1200
|
+
value: string;
|
|
1201
|
+
languageId: string;
|
|
1202
|
+
mime?: string;
|
|
1203
|
+
outputs?: vscode.NotebookCellOutput[];
|
|
1204
|
+
metadata?: Record<string, any>;
|
|
1205
|
+
executionSummary?: vscode.NotebookCellExecutionSummary;
|
|
1206
|
+
constructor(kind: NotebookCellKind, value: string, languageId: string, mime?: string, outputs?: vscode.NotebookCellOutput[], metadata?: Record<string, any>, executionSummary?: vscode.NotebookCellExecutionSummary);
|
|
1207
|
+
}
|
|
1208
|
+
export declare class NotebookData {
|
|
1209
|
+
cells: NotebookCellData[];
|
|
1210
|
+
metadata?: {
|
|
1211
|
+
[key: string]: any;
|
|
1212
|
+
};
|
|
1213
|
+
constructor(cells: NotebookCellData[]);
|
|
1214
|
+
}
|
|
1215
|
+
export declare class NotebookCellOutputItem {
|
|
1216
|
+
#private;
|
|
1217
|
+
data: Uint8Array;
|
|
1218
|
+
mime: string;
|
|
1219
|
+
static isNotebookCellOutputItem(obj: unknown): obj is vscode.NotebookCellOutputItem;
|
|
1220
|
+
static error(err: Error | {
|
|
1221
|
+
name: string;
|
|
1222
|
+
message?: string;
|
|
1223
|
+
stack?: string;
|
|
1224
|
+
}): NotebookCellOutputItem;
|
|
1225
|
+
static stdout(value: string): NotebookCellOutputItem;
|
|
1226
|
+
static stderr(value: string): NotebookCellOutputItem;
|
|
1227
|
+
static bytes(value: Uint8Array, mime?: string): NotebookCellOutputItem;
|
|
1228
|
+
static text(value: string, mime?: string): NotebookCellOutputItem;
|
|
1229
|
+
static json(value: any, mime?: string): NotebookCellOutputItem;
|
|
1230
|
+
constructor(data: Uint8Array, mime: string);
|
|
1231
|
+
}
|
|
1232
|
+
export declare class NotebookCellOutput {
|
|
1233
|
+
static isNotebookCellOutput(candidate: any): candidate is vscode.NotebookCellOutput;
|
|
1234
|
+
static ensureUniqueMimeTypes(items: NotebookCellOutputItem[], warn?: boolean): NotebookCellOutputItem[];
|
|
1235
|
+
id: string;
|
|
1236
|
+
items: NotebookCellOutputItem[];
|
|
1237
|
+
metadata?: Record<string, any>;
|
|
1238
|
+
constructor(items: NotebookCellOutputItem[], idOrMetadata?: string | Record<string, any>, metadata?: Record<string, any>);
|
|
1239
|
+
}
|
|
1240
|
+
export declare enum NotebookCellKind {
|
|
1241
|
+
Markup = 1,
|
|
1242
|
+
Code = 2
|
|
1243
|
+
}
|
|
1244
|
+
export declare enum NotebookCellExecutionState {
|
|
1245
|
+
Idle = 1,
|
|
1246
|
+
Pending = 2,
|
|
1247
|
+
Executing = 3
|
|
1248
|
+
}
|
|
1249
|
+
export declare enum NotebookCellStatusBarAlignment {
|
|
1250
|
+
Left = 1,
|
|
1251
|
+
Right = 2
|
|
1252
|
+
}
|
|
1253
|
+
export declare enum NotebookEditorRevealType {
|
|
1254
|
+
Default = 0,
|
|
1255
|
+
InCenter = 1,
|
|
1256
|
+
InCenterIfOutsideViewport = 2,
|
|
1257
|
+
AtTop = 3
|
|
1258
|
+
}
|
|
1259
|
+
export declare class NotebookCellStatusBarItem {
|
|
1260
|
+
text: string;
|
|
1261
|
+
alignment: NotebookCellStatusBarAlignment;
|
|
1262
|
+
constructor(text: string, alignment: NotebookCellStatusBarAlignment);
|
|
1263
|
+
}
|
|
1264
|
+
export declare enum NotebookControllerAffinity {
|
|
1265
|
+
Default = 1,
|
|
1266
|
+
Preferred = 2
|
|
1267
|
+
}
|
|
1268
|
+
export declare enum NotebookControllerAffinity2 {
|
|
1269
|
+
Default = 1,
|
|
1270
|
+
Preferred = 2,
|
|
1271
|
+
Hidden = -1
|
|
1272
|
+
}
|
|
1273
|
+
export declare class NotebookRendererScript {
|
|
1274
|
+
uri: vscode.Uri;
|
|
1275
|
+
provides: readonly string[];
|
|
1276
|
+
constructor(uri: vscode.Uri, provides?: string | readonly string[]);
|
|
1277
|
+
}
|
|
1278
|
+
export declare class NotebookKernelSourceAction {
|
|
1279
|
+
label: string;
|
|
1280
|
+
description?: string;
|
|
1281
|
+
detail?: string;
|
|
1282
|
+
command?: vscode.Command;
|
|
1283
|
+
constructor(label: string);
|
|
1284
|
+
}
|
|
1285
|
+
export declare enum NotebookVariablesRequestKind {
|
|
1286
|
+
Named = 1,
|
|
1287
|
+
Indexed = 2
|
|
1288
|
+
}
|
|
1289
|
+
export declare enum ExtensionMode {
|
|
1290
|
+
/**
|
|
1291
|
+
* The extension is installed normally (for example, from the marketplace
|
|
1292
|
+
* or VSIX) in VS Code.
|
|
1293
|
+
*/
|
|
1294
|
+
Production = 1,
|
|
1295
|
+
/**
|
|
1296
|
+
* The extension is running from an `--extensionDevelopmentPath` provided
|
|
1297
|
+
* when launching VS Code.
|
|
1298
|
+
*/
|
|
1299
|
+
Development = 2,
|
|
1300
|
+
/**
|
|
1301
|
+
* The extension is running from an `--extensionDevelopmentPath` and
|
|
1302
|
+
* the extension host is running unit tests.
|
|
1303
|
+
*/
|
|
1304
|
+
Test = 3
|
|
1305
|
+
}
|
|
1306
|
+
export declare enum ExtensionRuntime {
|
|
1307
|
+
/**
|
|
1308
|
+
* The extension is running in a NodeJS extension host. Runtime access to NodeJS APIs is available.
|
|
1309
|
+
*/
|
|
1310
|
+
Node = 1,
|
|
1311
|
+
/**
|
|
1312
|
+
* The extension is running in a Webworker extension host. Runtime access is limited to Webworker APIs.
|
|
1313
|
+
*/
|
|
1314
|
+
Webworker = 2
|
|
1315
|
+
}
|
|
1316
|
+
export declare enum StandardTokenType {
|
|
1317
|
+
Other = 0,
|
|
1318
|
+
Comment = 1,
|
|
1319
|
+
String = 2,
|
|
1320
|
+
RegEx = 3
|
|
1321
|
+
}
|
|
1322
|
+
export declare class LinkedEditingRanges {
|
|
1323
|
+
constructor(ranges: Range[], wordPattern?: RegExp | undefined);
|
|
1324
|
+
/**
|
|
1325
|
+
* A list of ranges that can be edited together. The ranges must have
|
|
1326
|
+
* identical length and text content. The ranges cannot overlap.
|
|
1327
|
+
*/
|
|
1328
|
+
readonly ranges: Range[];
|
|
1329
|
+
/**
|
|
1330
|
+
* An optional word pattern that describes valid contents for the given ranges.
|
|
1331
|
+
* If no pattern is provided, the language configuration's word pattern will be used.
|
|
1332
|
+
*/
|
|
1333
|
+
readonly wordPattern: RegExp | undefined;
|
|
1334
|
+
}
|
|
1335
|
+
export declare class PortAttributes {
|
|
1336
|
+
private _autoForwardAction;
|
|
1337
|
+
constructor(autoForwardAction: PortAutoForwardAction);
|
|
1338
|
+
get autoForwardAction(): PortAutoForwardAction;
|
|
1339
|
+
}
|
|
1340
|
+
export declare enum TestResultState {
|
|
1341
|
+
Queued = 1,
|
|
1342
|
+
Running = 2,
|
|
1343
|
+
Passed = 3,
|
|
1344
|
+
Failed = 4,
|
|
1345
|
+
Skipped = 5,
|
|
1346
|
+
Errored = 6
|
|
1347
|
+
}
|
|
1348
|
+
export declare enum TestRunProfileKind {
|
|
1349
|
+
Run = 1,
|
|
1350
|
+
Debug = 2,
|
|
1351
|
+
Coverage = 3
|
|
1352
|
+
}
|
|
1353
|
+
export declare class TestRunRequest implements vscode.TestRunRequest {
|
|
1354
|
+
readonly include: vscode.TestItem[] | undefined;
|
|
1355
|
+
readonly exclude: vscode.TestItem[] | undefined;
|
|
1356
|
+
readonly profile: vscode.TestRunProfile | undefined;
|
|
1357
|
+
readonly continuous: boolean;
|
|
1358
|
+
constructor(include?: vscode.TestItem[] | undefined, exclude?: vscode.TestItem[] | undefined, profile?: vscode.TestRunProfile | undefined, continuous?: boolean);
|
|
1359
|
+
}
|
|
1360
|
+
export declare class TestMessage implements vscode.TestMessage {
|
|
1361
|
+
message: string | vscode.MarkdownString;
|
|
1362
|
+
expectedOutput?: string;
|
|
1363
|
+
actualOutput?: string;
|
|
1364
|
+
location?: vscode.Location;
|
|
1365
|
+
/** proposed: */
|
|
1366
|
+
contextValue?: string;
|
|
1367
|
+
static diff(message: string | vscode.MarkdownString, expected: string, actual: string): TestMessage;
|
|
1368
|
+
constructor(message: string | vscode.MarkdownString);
|
|
1369
|
+
}
|
|
1370
|
+
export declare class TestTag implements vscode.TestTag {
|
|
1371
|
+
readonly id: string;
|
|
1372
|
+
constructor(id: string);
|
|
1373
|
+
}
|
|
1374
|
+
export declare enum ExternalUriOpenerPriority {
|
|
1375
|
+
None = 0,
|
|
1376
|
+
Option = 1,
|
|
1377
|
+
Default = 2,
|
|
1378
|
+
Preferred = 3
|
|
1379
|
+
}
|
|
1380
|
+
export declare enum WorkspaceTrustState {
|
|
1381
|
+
Untrusted = 0,
|
|
1382
|
+
Trusted = 1,
|
|
1383
|
+
Unspecified = 2
|
|
1384
|
+
}
|
|
1385
|
+
export declare enum PortAutoForwardAction {
|
|
1386
|
+
Notify = 1,
|
|
1387
|
+
OpenBrowser = 2,
|
|
1388
|
+
OpenPreview = 3,
|
|
1389
|
+
Silent = 4,
|
|
1390
|
+
Ignore = 5,
|
|
1391
|
+
OpenBrowserOnce = 6
|
|
1392
|
+
}
|
|
1393
|
+
export declare class TypeHierarchyItem {
|
|
1394
|
+
_sessionId?: string;
|
|
1395
|
+
_itemId?: string;
|
|
1396
|
+
kind: SymbolKind;
|
|
1397
|
+
tags?: SymbolTag[];
|
|
1398
|
+
name: string;
|
|
1399
|
+
detail?: string;
|
|
1400
|
+
uri: URI;
|
|
1401
|
+
range: Range;
|
|
1402
|
+
selectionRange: Range;
|
|
1403
|
+
constructor(kind: SymbolKind, name: string, detail: string, uri: URI, range: Range, selectionRange: Range);
|
|
1404
|
+
}
|
|
1405
|
+
export declare class TextTabInput {
|
|
1406
|
+
readonly uri: URI;
|
|
1407
|
+
constructor(uri: URI);
|
|
1408
|
+
}
|
|
1409
|
+
export declare class TextDiffTabInput {
|
|
1410
|
+
readonly original: URI;
|
|
1411
|
+
readonly modified: URI;
|
|
1412
|
+
constructor(original: URI, modified: URI);
|
|
1413
|
+
}
|
|
1414
|
+
export declare class TextMergeTabInput {
|
|
1415
|
+
readonly base: URI;
|
|
1416
|
+
readonly input1: URI;
|
|
1417
|
+
readonly input2: URI;
|
|
1418
|
+
readonly result: URI;
|
|
1419
|
+
constructor(base: URI, input1: URI, input2: URI, result: URI);
|
|
1420
|
+
}
|
|
1421
|
+
export declare class CustomEditorTabInput {
|
|
1422
|
+
readonly uri: URI;
|
|
1423
|
+
readonly viewType: string;
|
|
1424
|
+
constructor(uri: URI, viewType: string);
|
|
1425
|
+
}
|
|
1426
|
+
export declare class WebviewEditorTabInput {
|
|
1427
|
+
readonly viewType: string;
|
|
1428
|
+
constructor(viewType: string);
|
|
1429
|
+
}
|
|
1430
|
+
export declare class NotebookEditorTabInput {
|
|
1431
|
+
readonly uri: URI;
|
|
1432
|
+
readonly notebookType: string;
|
|
1433
|
+
constructor(uri: URI, notebookType: string);
|
|
1434
|
+
}
|
|
1435
|
+
export declare class NotebookDiffEditorTabInput {
|
|
1436
|
+
readonly original: URI;
|
|
1437
|
+
readonly modified: URI;
|
|
1438
|
+
readonly notebookType: string;
|
|
1439
|
+
constructor(original: URI, modified: URI, notebookType: string);
|
|
1440
|
+
}
|
|
1441
|
+
export declare class TerminalEditorTabInput {
|
|
1442
|
+
constructor();
|
|
1443
|
+
}
|
|
1444
|
+
export declare class InteractiveWindowInput {
|
|
1445
|
+
readonly uri: URI;
|
|
1446
|
+
readonly inputBoxUri: URI;
|
|
1447
|
+
constructor(uri: URI, inputBoxUri: URI);
|
|
1448
|
+
}
|
|
1449
|
+
export declare class ChatEditorTabInput {
|
|
1450
|
+
readonly providerId: string;
|
|
1451
|
+
constructor(providerId: string);
|
|
1452
|
+
}
|
|
1453
|
+
export declare enum InteractiveSessionVoteDirection {
|
|
1454
|
+
Down = 0,
|
|
1455
|
+
Up = 1
|
|
1456
|
+
}
|
|
1457
|
+
export declare enum ChatAgentCopyKind {
|
|
1458
|
+
Action = 1,
|
|
1459
|
+
Toolbar = 2
|
|
1460
|
+
}
|
|
1461
|
+
export declare enum ChatVariableLevel {
|
|
1462
|
+
Short = 1,
|
|
1463
|
+
Medium = 2,
|
|
1464
|
+
Full = 3
|
|
1465
|
+
}
|
|
1466
|
+
export declare enum InteractiveEditorResponseFeedbackKind {
|
|
1467
|
+
Unhelpful = 0,
|
|
1468
|
+
Helpful = 1,
|
|
1469
|
+
Undone = 2,
|
|
1470
|
+
Accepted = 3,
|
|
1471
|
+
Bug = 4
|
|
1472
|
+
}
|
|
1473
|
+
export declare enum ChatMessageRole {
|
|
1474
|
+
System = 0,
|
|
1475
|
+
User = 1,
|
|
1476
|
+
Assistant = 2,
|
|
1477
|
+
Function = 3
|
|
1478
|
+
}
|
|
1479
|
+
export declare enum ChatAgentResultFeedbackKind {
|
|
1480
|
+
Unhelpful = 0,
|
|
1481
|
+
Helpful = 1
|
|
1482
|
+
}
|
|
1483
|
+
export declare enum RelatedInformationType {
|
|
1484
|
+
SymbolInformation = 1,
|
|
1485
|
+
CommandInformation = 2,
|
|
1486
|
+
SearchInformation = 3,
|
|
1487
|
+
SettingInformation = 4
|
|
1488
|
+
}
|
|
1489
|
+
export declare enum SpeechToTextStatus {
|
|
1490
|
+
Started = 1,
|
|
1491
|
+
Recognizing = 2,
|
|
1492
|
+
Recognized = 3,
|
|
1493
|
+
Stopped = 4
|
|
1494
|
+
}
|
|
1495
|
+
export {};
|
|
1496
|
+
//# sourceMappingURL=extHostTypes.d.ts.map
|