@codingame/monaco-vscode-extensions-service-override 18.4.0 → 19.0.0
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 +27 -30
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementCLI.js +28 -28
- package/vscode/src/vs/workbench/api/browser/mainThreadAuthentication.d.ts +10 -4
- package/vscode/src/vs/workbench/api/browser/mainThreadAuthentication.js +43 -30
- package/vscode/src/vs/workbench/api/browser/mainThreadBulkEdits.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadCLICommands.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadChatAgents2.js +10 -7
- package/vscode/src/vs/workbench/api/browser/mainThreadComments.d.ts +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadComments.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadConfiguration.d.ts +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.js +8 -7
- package/vscode/src/vs/workbench/api/browser/mainThreadDiagnostics.d.ts +2 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadDiagnostics.js +28 -5
- package/vscode/src/vs/workbench/api/browser/mainThreadDocuments.js +18 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadDocumentsAndEditors.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadEditSessionIdentityParticipant.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadEditorTabs.d.ts +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadEditorTabs.js +6 -6
- package/vscode/src/vs/workbench/api/browser/mainThreadEditors.d.ts +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadEditors.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadExtensionService.js +11 -11
- package/vscode/src/vs/workbench/api/browser/mainThreadFileSystemEventService.js +20 -20
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguageFeatures.d.ts +4 -3
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguageFeatures.js +41 -24
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguageModelTools.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguageModels.js +10 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadMcp.d.ts +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadMcp.js +11 -9
- package/vscode/src/vs/workbench/api/browser/mainThreadMessageService.d.ts +1 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadMessageService.js +17 -6
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebook.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookDocumentsAndEditors.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookEditors.d.ts +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookEditors.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookSaveParticipant.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadOutputService.js +3 -3
- package/vscode/src/vs/workbench/api/browser/mainThreadProgress.d.ts +1 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadProgress.js +11 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadSCM.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadSaveParticipant.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadSearch.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadTask.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadTerminalShellIntegration.d.ts +0 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadTerminalShellIntegration.js +4 -8
- package/vscode/src/vs/workbench/api/browser/mainThreadTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadUriOpeners.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadWebviewPanels.d.ts +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadWebviewPanels.js +3 -3
- package/vscode/src/vs/workbench/api/browser/mainThreadWebviews.d.ts +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadWebviews.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadWorkspace.js +5 -5
- package/vscode/src/vs/workbench/contrib/customEditor/common/customTextEditorModel.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/browser/extensionBisect.js +23 -23
- package/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.js +1 -0
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.js +12 -12
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsProposedApi.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsUtil.js +4 -4
- package/vscode/src/vs/workbench/services/extensions/common/remoteExtensionHost.js +1 -0
|
@@ -10,7 +10,7 @@ import { ICommentController } from "@codingame/monaco-vscode-comments-service-ov
|
|
|
10
10
|
import { ICommentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/comments/browser/commentService.service";
|
|
11
11
|
import { CommentProviderFeatures, ExtHostCommentsShape, MainThreadCommentsShape, CommentThreadChanges } from "@codingame/monaco-vscode-api/vscode/vs/workbench/api/common/extHost.protocol";
|
|
12
12
|
import { IViewDescriptorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service";
|
|
13
|
-
import { ICellRange } from "@codingame/monaco-vscode-
|
|
13
|
+
import { ICellRange } from "@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/common/notebookRange";
|
|
14
14
|
import { IViewsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service";
|
|
15
15
|
import { MarshalledCommentThread } from "../../common/comments.js";
|
|
16
16
|
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
@@ -424,7 +424,7 @@ class MainThreadCommentController extends Disposable {
|
|
|
424
424
|
};
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
|
-
const commentsViewIcon = registerIcon('comments-view-icon', Codicon.commentDiscussion, ( localize(
|
|
427
|
+
const commentsViewIcon = registerIcon('comments-view-icon', Codicon.commentDiscussion, ( localize(2419, 'View icon of the comments view.')));
|
|
428
428
|
let MainThreadComments = class MainThreadComments extends Disposable {
|
|
429
429
|
constructor(extHostContext, _commentService, _viewsService, _viewDescriptorService, _uriIdentityService, _editorService) {
|
|
430
430
|
super();
|
|
@@ -12,7 +12,7 @@ export declare class MainThreadConfiguration implements MainThreadConfigurationS
|
|
|
12
12
|
constructor(extHostContext: IExtHostContext, _workspaceContextService: IWorkspaceContextService, configurationService: IConfigurationService, _environmentService: IEnvironmentService);
|
|
13
13
|
private _getConfigurationData;
|
|
14
14
|
dispose(): void;
|
|
15
|
-
$updateConfigurationOption(target: ConfigurationTarget | null, key: string, value:
|
|
15
|
+
$updateConfigurationOption(target: ConfigurationTarget | null, key: string, value: unknown, overrides: IConfigurationOverrides | undefined, scopeToLanguage: boolean | undefined): Promise<void>;
|
|
16
16
|
$removeConfigurationOption(target: ConfigurationTarget | null, key: string, overrides: IConfigurationOverrides | undefined, scopeToLanguage: boolean | undefined): Promise<void>;
|
|
17
17
|
private writeConfiguration;
|
|
18
18
|
private _updateValue;
|
|
@@ -25,16 +25,16 @@ import { ExtHostContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench
|
|
|
25
25
|
import { CustomEditorInput } from '@codingame/monaco-vscode-7f39b6f1-3542-5430-8760-0f404d7a7cee-common/vscode/vs/workbench/contrib/customEditor/browser/customEditorInput';
|
|
26
26
|
import { ICustomEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/customEditor/common/customEditor.service';
|
|
27
27
|
import { CustomTextEditorModel } from '../../contrib/customEditor/common/customTextEditorModel.js';
|
|
28
|
-
import { ExtensionKeyedWebviewOriginStore } from '@codingame/monaco-vscode-
|
|
28
|
+
import { ExtensionKeyedWebviewOriginStore } from '@codingame/monaco-vscode-caf773dd-ab1d-5936-941d-a2fe9e896ffc-common/vscode/vs/workbench/contrib/webview/browser/webview';
|
|
29
29
|
import { IWebviewWorkbenchService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service';
|
|
30
|
-
import { editorGroupToColumn } from '@codingame/monaco-vscode-
|
|
30
|
+
import { editorGroupToColumn } from '@codingame/monaco-vscode-2726569c-a06b-5f25-b851-14311bef12fa-common/vscode/vs/workbench/services/editor/common/editorGroupColumn';
|
|
31
31
|
import { IEditorGroupsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
32
32
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
33
33
|
import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
34
34
|
import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
35
35
|
import { IPathService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pathService.service';
|
|
36
|
-
import { ResourceWorkingCopy } from '@codingame/monaco-vscode-
|
|
37
|
-
import { NO_TYPE_ID, WorkingCopyCapabilities } from '@codingame/monaco-vscode-
|
|
36
|
+
import { ResourceWorkingCopy } from '@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common/vscode/vs/workbench/services/workingCopy/common/resourceWorkingCopy';
|
|
37
|
+
import { NO_TYPE_ID, WorkingCopyCapabilities } from '@codingame/monaco-vscode-86d65fc6-30f9-5dca-9501-e249de688591-common/vscode/vs/workbench/services/workingCopy/common/workingCopy';
|
|
38
38
|
import { IWorkingCopyFileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service';
|
|
39
39
|
import { IWorkingCopyService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service';
|
|
40
40
|
import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
@@ -148,7 +148,8 @@ let MainThreadCustomEditors = class MainThreadCustomEditors extends Disposable {
|
|
|
148
148
|
});
|
|
149
149
|
}
|
|
150
150
|
try {
|
|
151
|
-
|
|
151
|
+
const actualResource = modelType === CustomEditorModelType.Text ? this._uriIdentityService.asCanonicalUri(resource) : resource;
|
|
152
|
+
await this._proxyCustomEditors.$resolveCustomEditor(actualResource, handle, viewType, {
|
|
152
153
|
title: webviewInput.getTitle(),
|
|
153
154
|
contentOptions: webviewInput.webview.contentOptions,
|
|
154
155
|
options: webviewInput.webview.options,
|
|
@@ -302,7 +303,7 @@ let MainThreadCustomEditorModel = MainThreadCustomEditorModel_1 = class MainThre
|
|
|
302
303
|
this._register(workingCopyService.registerWorkingCopy(this));
|
|
303
304
|
this._register(extensionService.onWillStop(e => {
|
|
304
305
|
e.veto(true, ( localize(
|
|
305
|
-
|
|
306
|
+
2420,
|
|
306
307
|
"An extension provided editor for '{0}' is still open that would close otherwise.",
|
|
307
308
|
this.name
|
|
308
309
|
)));
|
|
@@ -370,7 +371,7 @@ let MainThreadCustomEditorModel = MainThreadCustomEditorModel_1 = class MainThre
|
|
|
370
371
|
this._undoService.pushElement({
|
|
371
372
|
type: UndoRedoElementType.Resource,
|
|
372
373
|
resource: this._editorResource,
|
|
373
|
-
label: label ?? ( localize(
|
|
374
|
+
label: label ?? ( localize(2421, "Edit")),
|
|
374
375
|
code: 'undoredo.customEditorEdit',
|
|
375
376
|
undo: () => this.undo(),
|
|
376
377
|
redo: () => this.redo(),
|
|
@@ -10,6 +10,8 @@ export declare class MainThreadDiagnostics implements MainThreadDiagnosticsShape
|
|
|
10
10
|
private readonly _activeOwners;
|
|
11
11
|
private readonly _proxy;
|
|
12
12
|
private readonly _markerListener;
|
|
13
|
+
private static ExtHostCounter;
|
|
14
|
+
private readonly extHostId;
|
|
13
15
|
constructor(extHostContext: IExtHostContext, _markerService: IMarkerService, _uriIdentService: IUriIdentityService);
|
|
14
16
|
dispose(): void;
|
|
15
17
|
private _forwardMarkers;
|
|
@@ -5,18 +5,38 @@ import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
|
5
5
|
import { ExtHostContext, MainContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/api/common/extHost.protocol';
|
|
6
6
|
import { extHostNamedCustomer } from '../../services/extensions/common/extHostCustomers.js';
|
|
7
7
|
import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
8
|
+
import { ResourceMap } from '@codingame/monaco-vscode-api/vscode/vs/base/common/map';
|
|
8
9
|
|
|
10
|
+
var MainThreadDiagnostics_1;
|
|
9
11
|
let MainThreadDiagnostics = class MainThreadDiagnostics {
|
|
12
|
+
static { MainThreadDiagnostics_1 = this; }
|
|
13
|
+
static { this.ExtHostCounter = 1; }
|
|
10
14
|
constructor(extHostContext, _markerService, _uriIdentService) {
|
|
11
15
|
this._markerService = _markerService;
|
|
12
16
|
this._uriIdentService = _uriIdentService;
|
|
13
17
|
this._activeOwners = ( new Set());
|
|
14
18
|
this._proxy = ( extHostContext.getProxy(ExtHostContext.ExtHostDiagnostics));
|
|
15
19
|
this._markerListener = this._markerService.onMarkerChanged(this._forwardMarkers, this);
|
|
20
|
+
this.extHostId = `extHost${MainThreadDiagnostics_1.ExtHostCounter++}`;
|
|
16
21
|
}
|
|
17
22
|
dispose() {
|
|
18
23
|
this._markerListener.dispose();
|
|
19
|
-
|
|
24
|
+
for (const owner of this._activeOwners) {
|
|
25
|
+
const markersData = ( new ResourceMap());
|
|
26
|
+
for (const marker of this._markerService.read({ owner })) {
|
|
27
|
+
let data = markersData.get(marker.resource);
|
|
28
|
+
if (data === undefined) {
|
|
29
|
+
data = [];
|
|
30
|
+
markersData.set(marker.resource, data);
|
|
31
|
+
}
|
|
32
|
+
if (marker.origin !== this.extHostId) {
|
|
33
|
+
data.push(marker);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
for (const [resource, local] of markersData.entries()) {
|
|
37
|
+
this._markerService.changeOne(owner, resource, local);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
20
40
|
this._activeOwners.clear();
|
|
21
41
|
}
|
|
22
42
|
_forwardMarkers(resources) {
|
|
@@ -27,9 +47,9 @@ let MainThreadDiagnostics = class MainThreadDiagnostics {
|
|
|
27
47
|
data.push([resource, []]);
|
|
28
48
|
}
|
|
29
49
|
else {
|
|
30
|
-
const
|
|
31
|
-
if (
|
|
32
|
-
data.push([resource,
|
|
50
|
+
const foreignMarkerData = allMarkerData.filter(marker => marker?.origin !== this.extHostId);
|
|
51
|
+
if (foreignMarkerData.length > 0) {
|
|
52
|
+
data.push([resource, foreignMarkerData]);
|
|
33
53
|
}
|
|
34
54
|
}
|
|
35
55
|
}
|
|
@@ -50,6 +70,9 @@ let MainThreadDiagnostics = class MainThreadDiagnostics {
|
|
|
50
70
|
if (marker.code && typeof marker.code !== 'string') {
|
|
51
71
|
marker.code.target = URI.revive(marker.code.target);
|
|
52
72
|
}
|
|
73
|
+
if (marker.origin === undefined) {
|
|
74
|
+
marker.origin = this.extHostId;
|
|
75
|
+
}
|
|
53
76
|
}
|
|
54
77
|
}
|
|
55
78
|
this._markerService.changeOne(owner, this._uriIdentService.asCanonicalUri(URI.revive(uri)), markers);
|
|
@@ -61,7 +84,7 @@ let MainThreadDiagnostics = class MainThreadDiagnostics {
|
|
|
61
84
|
this._activeOwners.delete(owner);
|
|
62
85
|
}
|
|
63
86
|
};
|
|
64
|
-
MainThreadDiagnostics = __decorate([
|
|
87
|
+
MainThreadDiagnostics = MainThreadDiagnostics_1 = __decorate([
|
|
65
88
|
extHostNamedCustomer(MainContext.MainThreadDiagnostics),
|
|
66
89
|
( __param(1, IMarkerService)),
|
|
67
90
|
( __param(2, IUriIdentityService))
|
|
@@ -19,7 +19,7 @@ import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/plat
|
|
|
19
19
|
import { Emitter, Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
20
20
|
import { IPathService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pathService.service';
|
|
21
21
|
import { ResourceMap } from '@codingame/monaco-vscode-api/vscode/vs/base/common/map';
|
|
22
|
-
import { ErrorNoTelemetry } from '@codingame/monaco-vscode-api/vscode/vs/base/common/errors';
|
|
22
|
+
import { onUnexpectedError, ErrorNoTelemetry } from '@codingame/monaco-vscode-api/vscode/vs/base/common/errors';
|
|
23
23
|
|
|
24
24
|
class BoundModelReferenceCollection {
|
|
25
25
|
constructor(_extUri, _maxAge = 1000 * 60 * 3,
|
|
@@ -79,7 +79,20 @@ class ModelTracker extends Disposable {
|
|
|
79
79
|
this._knownVersionId = this._model.getVersionId();
|
|
80
80
|
this._store.add(this._model.onDidChangeContent((e) => {
|
|
81
81
|
this._knownVersionId = e.versionId;
|
|
82
|
-
|
|
82
|
+
if (e.detailedReasonsChangeLengths.length !== 1) {
|
|
83
|
+
onUnexpectedError(( new Error(`Unexpected reasons: ${( e.detailedReasons.map(r => ( r.toString())))}`)));
|
|
84
|
+
}
|
|
85
|
+
const evt = {
|
|
86
|
+
changes: e.changes,
|
|
87
|
+
isEolChange: e.isEolChange,
|
|
88
|
+
isUndoing: e.isUndoing,
|
|
89
|
+
isRedoing: e.isRedoing,
|
|
90
|
+
isFlush: e.isFlush,
|
|
91
|
+
eol: e.eol,
|
|
92
|
+
versionId: e.versionId,
|
|
93
|
+
detailedReason: e.detailedReasons[0].metadata,
|
|
94
|
+
};
|
|
95
|
+
this._proxy.$acceptModelChanged(this._model.uri, evt, this._textFileService.isDirty(this._model.uri));
|
|
83
96
|
if (this.isCaughtUpWithContentChanges()) {
|
|
84
97
|
this._onIsCaughtUpWithContentChanges.fire(this._model.uri);
|
|
85
98
|
}
|
|
@@ -248,6 +261,9 @@ let MainThreadDocuments = class MainThreadDocuments extends Disposable {
|
|
|
248
261
|
initialValue: options?.content,
|
|
249
262
|
encoding: options?.encoding
|
|
250
263
|
});
|
|
264
|
+
if (options?.encoding) {
|
|
265
|
+
await model.setEncoding(options.encoding);
|
|
266
|
+
}
|
|
251
267
|
const resource = model.resource;
|
|
252
268
|
const ref = await this._textModelResolverService.createModelReference(resource);
|
|
253
269
|
if (!( this._modelTrackers.has(resource))) {
|
|
@@ -13,7 +13,7 @@ import { MainThreadDocuments } from './mainThreadDocuments.js';
|
|
|
13
13
|
import { MainThreadTextEditor } from './mainThreadEditor.js';
|
|
14
14
|
import { MainThreadTextEditors } from './mainThreadEditors.js';
|
|
15
15
|
import { ExtHostContext, MainContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/api/common/extHost.protocol';
|
|
16
|
-
import { editorGroupToColumn } from '@codingame/monaco-vscode-
|
|
16
|
+
import { editorGroupToColumn } from '@codingame/monaco-vscode-2726569c-a06b-5f25-b851-14311bef12fa-common/vscode/vs/workbench/services/editor/common/editorGroupColumn';
|
|
17
17
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
18
18
|
import { IEditorGroupsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
19
19
|
import { ITextFileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textfiles.service';
|
|
@@ -14,7 +14,7 @@ class ExtHostEditSessionIdentityCreateParticipant {
|
|
|
14
14
|
}
|
|
15
15
|
async participate(workspaceFolder, token) {
|
|
16
16
|
const p = ( new Promise((resolve, reject) => {
|
|
17
|
-
setTimeout(() => reject(( new Error(( localize(
|
|
17
|
+
setTimeout(() => reject(( new Error(( localize(2422, "Aborted onWillCreateEditSessionIdentity-event after 10000ms"))))), this.timeout);
|
|
18
18
|
this._proxy.$onWillCreateEditSessionIdentity(workspaceFolder.uri, token, this.timeout).then(resolve, reject);
|
|
19
19
|
}));
|
|
20
20
|
return raceCancellationError(p, token);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
2
2
|
import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
|
|
3
3
|
import { MainThreadEditorTabsShape } from "@codingame/monaco-vscode-api/vscode/vs/workbench/api/common/extHost.protocol";
|
|
4
|
-
import { EditorGroupColumn } from "@codingame/monaco-vscode-
|
|
4
|
+
import { EditorGroupColumn } from "@codingame/monaco-vscode-2726569c-a06b-5f25-b851-14311bef12fa-common/vscode/vs/workbench/services/editor/common/editorGroupColumn";
|
|
5
5
|
import { IEditorGroupsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service";
|
|
6
6
|
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
7
7
|
import { IExtHostContext } from "../../services/extensions/common/extHostCustomers.js";
|
|
@@ -9,18 +9,18 @@ import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log
|
|
|
9
9
|
import { ExtHostContext, TabInputKind, TabModelOperationKind, MainContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/api/common/extHost.protocol';
|
|
10
10
|
import { EditorResourceAccessor, SideBySideEditor, GroupModelChangeKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
11
11
|
import { DiffEditorInput } from '@codingame/monaco-vscode-9c72783f-914c-50be-b9ef-da16356d81a8-common/vscode/vs/workbench/common/editor/diffEditorInput';
|
|
12
|
-
import { isGroupEditorMoveEvent } from '@codingame/monaco-vscode-
|
|
12
|
+
import { isGroupEditorMoveEvent } from '@codingame/monaco-vscode-ca445022-b812-53ca-a041-e46c7e0b13de-common/vscode/vs/workbench/common/editor/editorGroupModel';
|
|
13
13
|
import { SideBySideEditorInput } from '@codingame/monaco-vscode-9c72783f-914c-50be-b9ef-da16356d81a8-common/vscode/vs/workbench/common/editor/sideBySideEditorInput';
|
|
14
|
-
import { AbstractTextResourceEditorInput } from '@codingame/monaco-vscode-
|
|
15
|
-
import { ChatEditorInput } from '@codingame/monaco-vscode-
|
|
14
|
+
import { AbstractTextResourceEditorInput } from '@codingame/monaco-vscode-86d65fc6-30f9-5dca-9501-e249de688591-common/vscode/vs/workbench/common/editor/textResourceEditorInput';
|
|
15
|
+
import { ChatEditorInput } from '@codingame/monaco-vscode-9ebd6daf-8734-5a28-ad24-b238f5e5819d-common/vscode/vs/workbench/contrib/chat/browser/chatEditorInput';
|
|
16
16
|
import { CustomEditorInput } from '@codingame/monaco-vscode-7f39b6f1-3542-5430-8760-0f404d7a7cee-common/vscode/vs/workbench/contrib/customEditor/browser/customEditorInput';
|
|
17
17
|
import { InteractiveEditorInput } from '@codingame/monaco-vscode-eba0b9b3-174c-5dae-9867-a37810ca1808-common/vscode/vs/workbench/contrib/interactive/browser/interactiveEditorInput';
|
|
18
18
|
import { MergeEditorInput } from '@codingame/monaco-vscode-8ccb7637-50ea-5359-97bf-00015d7fe567-common/vscode/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput';
|
|
19
19
|
import { MultiDiffEditorInput } from '@codingame/monaco-vscode-1cc4ea0a-c5b6-54ed-bb60-078a99119b55-common/vscode/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput';
|
|
20
|
-
import { NotebookEditorInput } from '@codingame/monaco-vscode-
|
|
20
|
+
import { NotebookEditorInput } from '@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/common/notebookEditorInput';
|
|
21
21
|
import { TerminalEditorInput } from '@codingame/monaco-vscode-2a94c04a-b85b-5669-b06b-89c1bfa11cb9-common/vscode/vs/workbench/contrib/terminal/browser/terminalEditorInput';
|
|
22
|
-
import { WebviewInput } from '@codingame/monaco-vscode-
|
|
23
|
-
import { editorGroupToColumn, columnToEditorGroup } from '@codingame/monaco-vscode-
|
|
22
|
+
import { WebviewInput } from '@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput';
|
|
23
|
+
import { editorGroupToColumn, columnToEditorGroup } from '@codingame/monaco-vscode-2726569c-a06b-5f25-b851-14311bef12fa-common/vscode/vs/workbench/services/editor/common/editorGroupColumn';
|
|
24
24
|
import { GroupDirection, preferredSideBySideGroupDirection } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService';
|
|
25
25
|
import { IEditorGroupsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
26
26
|
import { SIDE_GROUP } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService';
|
|
@@ -6,7 +6,7 @@ import { IDecorationOptions, IDecorationRenderOptions } from "@codingame/monaco-
|
|
|
6
6
|
import { ISingleEditOperation } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/core/editOperation";
|
|
7
7
|
import { MainThreadTextEditor } from "./mainThreadEditor.js";
|
|
8
8
|
import { IApplyEditsOptions, ITextDocumentShowOptions, ITextEditorConfigurationUpdate, IUndoStopOptions, MainThreadTextEditorsShape, TextEditorRevealType } from "@codingame/monaco-vscode-api/vscode/vs/workbench/api/common/extHost.protocol";
|
|
9
|
-
import { EditorGroupColumn } from "@codingame/monaco-vscode-
|
|
9
|
+
import { EditorGroupColumn } from "@codingame/monaco-vscode-2726569c-a06b-5f25-b851-14311bef12fa-common/vscode/vs/workbench/services/editor/common/editorGroupColumn";
|
|
10
10
|
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
11
11
|
import { IEditorGroupsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service";
|
|
12
12
|
import { ExtensionIdentifier } from "@codingame/monaco-vscode-api/vscode/vs/platform/extensions/common/extensions";
|
|
@@ -8,7 +8,7 @@ import { ICodeEditorService } from '@codingame/monaco-vscode-api/vscode/vs/edito
|
|
|
8
8
|
import { CommandsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands';
|
|
9
9
|
import { isTextEditorDiffInformationEqual, EditorResolution, EditorActivation } from '@codingame/monaco-vscode-api/vscode/vs/platform/editor/common/editor';
|
|
10
10
|
import { ExtHostContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/api/common/extHost.protocol';
|
|
11
|
-
import { editorGroupToColumn, columnToEditorGroup } from '@codingame/monaco-vscode-
|
|
11
|
+
import { editorGroupToColumn, columnToEditorGroup } from '@codingame/monaco-vscode-2726569c-a06b-5f25-b851-14311bef12fa-common/vscode/vs/workbench/services/editor/common/editorGroupColumn';
|
|
12
12
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
13
13
|
import { IEditorGroupsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
14
14
|
import { IEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/platform/environment/common/environment.service';
|
|
@@ -89,13 +89,13 @@ let MainThreadExtensionService = class MainThreadExtensionService {
|
|
|
89
89
|
this._notificationService.notify({
|
|
90
90
|
severity: Severity.Error,
|
|
91
91
|
message: ( localize(
|
|
92
|
-
|
|
92
|
+
2423,
|
|
93
93
|
"Cannot activate the '{0}' extension because it depends on the '{1}' extension, which is not loaded. Would you like to reload the window to load the extension?",
|
|
94
94
|
extName,
|
|
95
95
|
missingInstalledDependency.manifest.displayName || missingInstalledDependency.manifest.name
|
|
96
96
|
)),
|
|
97
97
|
actions: {
|
|
98
|
-
primary: [( new Action('reload', ( localize(
|
|
98
|
+
primary: [( new Action('reload', ( localize(2424, "Reload Window")), '', true, () => this._hostService.reload()))]
|
|
99
99
|
}
|
|
100
100
|
});
|
|
101
101
|
}
|
|
@@ -105,7 +105,7 @@ let MainThreadExtensionService = class MainThreadExtensionService {
|
|
|
105
105
|
this._notificationService.notify({
|
|
106
106
|
severity: Severity.Error,
|
|
107
107
|
message: ( localize(
|
|
108
|
-
|
|
108
|
+
2425,
|
|
109
109
|
"Cannot activate the '{0}' extension because it depends on the '{1}' extension which is not supported in the current workspace",
|
|
110
110
|
extName,
|
|
111
111
|
missingInstalledDependency.manifest.displayName || missingInstalledDependency.manifest.name
|
|
@@ -116,13 +116,13 @@ let MainThreadExtensionService = class MainThreadExtensionService {
|
|
|
116
116
|
this._notificationService.notify({
|
|
117
117
|
severity: Severity.Error,
|
|
118
118
|
message: ( localize(
|
|
119
|
-
|
|
119
|
+
2426,
|
|
120
120
|
"Cannot activate the '{0}' extension because it depends on the '{1}' extension which is not supported in Restricted Mode",
|
|
121
121
|
extName,
|
|
122
122
|
missingInstalledDependency.manifest.displayName || missingInstalledDependency.manifest.name
|
|
123
123
|
)),
|
|
124
124
|
actions: {
|
|
125
|
-
primary: [( new Action('manageWorkspaceTrust', ( localize(
|
|
125
|
+
primary: [( new Action('manageWorkspaceTrust', ( localize(2427, "Manage Workspace Trust")), '', true, () => this._commandService.executeCommand('workbench.trust.manage')))]
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
128
|
}
|
|
@@ -130,13 +130,13 @@ let MainThreadExtensionService = class MainThreadExtensionService {
|
|
|
130
130
|
this._notificationService.notify({
|
|
131
131
|
severity: Severity.Error,
|
|
132
132
|
message: ( localize(
|
|
133
|
-
|
|
133
|
+
2428,
|
|
134
134
|
"Cannot activate the '{0}' extension because it depends on the '{1}' extension which is disabled. Would you like to enable the extension and reload the window?",
|
|
135
135
|
extName,
|
|
136
136
|
missingInstalledDependency.manifest.displayName || missingInstalledDependency.manifest.name
|
|
137
137
|
)),
|
|
138
138
|
actions: {
|
|
139
|
-
primary: [( new Action('enable', ( localize(
|
|
139
|
+
primary: [( new Action('enable', ( localize(2429, "Enable and Reload")), '', true, () => this._extensionEnablementService.setEnablement([missingInstalledDependency], enablementState === EnablementState.DisabledGlobally ? EnablementState.EnabledGlobally : EnablementState.EnabledWorkspace)
|
|
140
140
|
.then(() => this._hostService.reload(), e => this._notificationService.error(e))))]
|
|
141
141
|
}
|
|
142
142
|
});
|
|
@@ -145,7 +145,7 @@ let MainThreadExtensionService = class MainThreadExtensionService {
|
|
|
145
145
|
this._notificationService.notify({
|
|
146
146
|
severity: Severity.Error,
|
|
147
147
|
message: ( localize(
|
|
148
|
-
|
|
148
|
+
2430,
|
|
149
149
|
"Cannot activate the '{0}' extension because it depends on the '{1}' extension which is disabled.",
|
|
150
150
|
extName,
|
|
151
151
|
missingInstalledDependency.manifest.displayName || missingInstalledDependency.manifest.name
|
|
@@ -166,21 +166,21 @@ let MainThreadExtensionService = class MainThreadExtensionService {
|
|
|
166
166
|
this._notificationService.notify({
|
|
167
167
|
severity: Severity.Error,
|
|
168
168
|
message: ( localize(
|
|
169
|
-
|
|
169
|
+
2431,
|
|
170
170
|
"Cannot activate the '{0}' extension because it depends on the '{1}' extension from '{2}', which is not installed. Would you like to install the extension and reload the window?",
|
|
171
171
|
extName,
|
|
172
172
|
dependencyExtension.displayName,
|
|
173
173
|
dependencyExtension.publisherDisplayName
|
|
174
174
|
)),
|
|
175
175
|
actions: {
|
|
176
|
-
primary: [( new Action('install', ( localize(
|
|
176
|
+
primary: [( new Action('install', ( localize(2432, "Install and Reload")), '', true, () => this._extensionsWorkbenchService.install(dependencyExtension)
|
|
177
177
|
.then(() => this._hostService.reload(), e => this._notificationService.error(e))))]
|
|
178
178
|
}
|
|
179
179
|
});
|
|
180
180
|
}
|
|
181
181
|
else {
|
|
182
182
|
this._notificationService.error(( localize(
|
|
183
|
-
|
|
183
|
+
2433,
|
|
184
184
|
"Cannot activate the '{0}' extension because it depends on an unknown '{1}' extension.",
|
|
185
185
|
extName,
|
|
186
186
|
missingDependency
|
|
@@ -75,28 +75,28 @@ let MainThreadFileSystemEventService = class MainThreadFileSystemEventService {
|
|
|
75
75
|
if (data.extensionNames.length === 1) {
|
|
76
76
|
if (operation === FileOperation.CREATE) {
|
|
77
77
|
message = ( localize(
|
|
78
|
-
|
|
78
|
+
2434,
|
|
79
79
|
"Extension '{0}' wants to make refactoring changes with this file creation",
|
|
80
80
|
data.extensionNames[0]
|
|
81
81
|
));
|
|
82
82
|
}
|
|
83
83
|
else if (operation === FileOperation.COPY) {
|
|
84
84
|
message = ( localize(
|
|
85
|
-
|
|
85
|
+
2435,
|
|
86
86
|
"Extension '{0}' wants to make refactoring changes with this file copy",
|
|
87
87
|
data.extensionNames[0]
|
|
88
88
|
));
|
|
89
89
|
}
|
|
90
90
|
else if (operation === FileOperation.MOVE) {
|
|
91
91
|
message = ( localize(
|
|
92
|
-
|
|
92
|
+
2436,
|
|
93
93
|
"Extension '{0}' wants to make refactoring changes with this file move",
|
|
94
94
|
data.extensionNames[0]
|
|
95
95
|
));
|
|
96
96
|
}
|
|
97
97
|
else {
|
|
98
98
|
message = ( localize(
|
|
99
|
-
|
|
99
|
+
2437,
|
|
100
100
|
"Extension '{0}' wants to make refactoring changes with this file deletion",
|
|
101
101
|
data.extensionNames[0]
|
|
102
102
|
));
|
|
@@ -105,28 +105,28 @@ let MainThreadFileSystemEventService = class MainThreadFileSystemEventService {
|
|
|
105
105
|
else {
|
|
106
106
|
if (operation === FileOperation.CREATE) {
|
|
107
107
|
message = ( localize(
|
|
108
|
-
|
|
108
|
+
2438,
|
|
109
109
|
"{0} extensions want to make refactoring changes with this file creation",
|
|
110
110
|
data.extensionNames.length
|
|
111
111
|
));
|
|
112
112
|
}
|
|
113
113
|
else if (operation === FileOperation.COPY) {
|
|
114
114
|
message = ( localize(
|
|
115
|
-
|
|
115
|
+
2439,
|
|
116
116
|
"{0} extensions want to make refactoring changes with this file copy",
|
|
117
117
|
data.extensionNames.length
|
|
118
118
|
));
|
|
119
119
|
}
|
|
120
120
|
else if (operation === FileOperation.MOVE) {
|
|
121
121
|
message = ( localize(
|
|
122
|
-
|
|
122
|
+
2440,
|
|
123
123
|
"{0} extensions want to make refactoring changes with this file move",
|
|
124
124
|
data.extensionNames.length
|
|
125
125
|
));
|
|
126
126
|
}
|
|
127
127
|
else {
|
|
128
128
|
message = ( localize(
|
|
129
|
-
|
|
129
|
+
2441,
|
|
130
130
|
"{0} extensions want to make refactoring changes with this file deletion",
|
|
131
131
|
data.extensionNames.length
|
|
132
132
|
));
|
|
@@ -136,8 +136,8 @@ let MainThreadFileSystemEventService = class MainThreadFileSystemEventService {
|
|
|
136
136
|
const { confirmed } = await dialogService.confirm({
|
|
137
137
|
type: Severity.Info,
|
|
138
138
|
message,
|
|
139
|
-
primaryButton: ( localize(
|
|
140
|
-
cancelButton: ( localize(
|
|
139
|
+
primaryButton: ( localize(2442, "Show &&Preview")),
|
|
140
|
+
cancelButton: ( localize(2443, "Skip Changes"))
|
|
141
141
|
});
|
|
142
142
|
showPreview = true;
|
|
143
143
|
if (!confirmed) {
|
|
@@ -156,19 +156,19 @@ let MainThreadFileSystemEventService = class MainThreadFileSystemEventService {
|
|
|
156
156
|
message,
|
|
157
157
|
buttons: [
|
|
158
158
|
{
|
|
159
|
-
label: ( localize(
|
|
159
|
+
label: ( localize(2444, "&&OK")),
|
|
160
160
|
run: () => Choice.OK
|
|
161
161
|
},
|
|
162
162
|
{
|
|
163
|
-
label: ( localize(
|
|
163
|
+
label: ( localize(2442, "Show &&Preview")),
|
|
164
164
|
run: () => Choice.Preview
|
|
165
165
|
}
|
|
166
166
|
],
|
|
167
167
|
cancelButton: {
|
|
168
|
-
label: ( localize(
|
|
168
|
+
label: ( localize(2443, "Skip Changes")),
|
|
169
169
|
run: () => Choice.Cancel
|
|
170
170
|
},
|
|
171
|
-
checkbox: { label: ( localize(
|
|
171
|
+
checkbox: { label: ( localize(2445, "Do not ask me again")) }
|
|
172
172
|
});
|
|
173
173
|
if (result === Choice.Cancel) {
|
|
174
174
|
return;
|
|
@@ -185,15 +185,15 @@ let MainThreadFileSystemEventService = class MainThreadFileSystemEventService {
|
|
|
185
185
|
_progressLabel(operation) {
|
|
186
186
|
switch (operation) {
|
|
187
187
|
case FileOperation.CREATE:
|
|
188
|
-
return localize(
|
|
188
|
+
return localize(2446, "Running 'File Create' participants...");
|
|
189
189
|
case FileOperation.MOVE:
|
|
190
|
-
return localize(
|
|
190
|
+
return localize(2447, "Running 'File Rename' participants...");
|
|
191
191
|
case FileOperation.COPY:
|
|
192
|
-
return localize(
|
|
192
|
+
return localize(2448, "Running 'File Copy' participants...");
|
|
193
193
|
case FileOperation.DELETE:
|
|
194
|
-
return localize(
|
|
194
|
+
return localize(2449, "Running 'File Delete' participants...");
|
|
195
195
|
case FileOperation.WRITE:
|
|
196
|
-
return localize(
|
|
196
|
+
return localize(2450, "Running 'File Write' participants...");
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
});
|
|
@@ -264,7 +264,7 @@ registerAction2(class ResetMemento extends Action2 {
|
|
|
264
264
|
super({
|
|
265
265
|
id: 'files.participants.resetChoice',
|
|
266
266
|
title: {
|
|
267
|
-
value: ( localize(
|
|
267
|
+
value: ( localize(2451, "Reset choice for 'File operation needs preview'")),
|
|
268
268
|
original: `Reset choice for 'File operation needs preview'`
|
|
269
269
|
},
|
|
270
270
|
f1: true
|
|
@@ -12,14 +12,16 @@ import { ExtensionIdentifier } from "@codingame/monaco-vscode-api/vscode/vs/plat
|
|
|
12
12
|
import { IUriIdentityService } from "@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
|
|
13
13
|
import { IExtHostContext } from "../../services/extensions/common/extHostCustomers.js";
|
|
14
14
|
import { ExtHostLanguageFeaturesShape, ICodeActionProviderMetadataDto, IDocumentDropEditProviderMetadata, IDocumentFilterDto, ILanguageConfigurationDto, IPasteEditProviderMetadataDto, ISignatureHelpProviderMetadataDto, MainThreadLanguageFeaturesShape } from "@codingame/monaco-vscode-api/vscode/vs/workbench/api/common/extHost.protocol";
|
|
15
|
+
import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
15
16
|
export declare class MainThreadLanguageFeatures extends Disposable implements MainThreadLanguageFeaturesShape {
|
|
16
17
|
private readonly _languageService;
|
|
17
18
|
private readonly _languageConfigurationService;
|
|
18
19
|
private readonly _languageFeaturesService;
|
|
19
20
|
private readonly _uriIdentService;
|
|
21
|
+
private readonly _telemetryService;
|
|
20
22
|
private readonly _proxy;
|
|
21
23
|
private readonly _registrations;
|
|
22
|
-
constructor(extHostContext: IExtHostContext, _languageService: ILanguageService, _languageConfigurationService: ILanguageConfigurationService, _languageFeaturesService: ILanguageFeaturesService, _uriIdentService: IUriIdentityService);
|
|
24
|
+
constructor(extHostContext: IExtHostContext, _languageService: ILanguageService, _languageConfigurationService: ILanguageConfigurationService, _languageFeaturesService: ILanguageFeaturesService, _uriIdentService: IUriIdentityService, _telemetryService: ITelemetryService);
|
|
23
25
|
$unregister(handle: number): void;
|
|
24
26
|
private static _reviveLocationDto;
|
|
25
27
|
private static _reviveLocationLinkDto;
|
|
@@ -58,9 +60,8 @@ export declare class MainThreadLanguageFeatures extends Disposable implements Ma
|
|
|
58
60
|
$registerDocumentRangeSemanticTokensProvider(handle: number, selector: IDocumentFilterDto[], legend: languages.SemanticTokensLegend): void;
|
|
59
61
|
private static _inflateSuggestDto;
|
|
60
62
|
$registerCompletionsProvider(handle: number, selector: IDocumentFilterDto[], triggerCharacters: string[], supportsResolveDetails: boolean, extensionId: ExtensionIdentifier): void;
|
|
61
|
-
$registerInlineCompletionsSupport(handle: number, selector: IDocumentFilterDto[], supportsHandleEvents: boolean, extensionId: string, yieldsToExtensionIds: string[], displayName: string | undefined, debounceDelayMs: number | undefined, eventHandle: number | undefined): void;
|
|
63
|
+
$registerInlineCompletionsSupport(handle: number, selector: IDocumentFilterDto[], supportsHandleEvents: boolean, extensionId: string, extensionVersion: string, groupId: string | undefined, yieldsToExtensionIds: string[], displayName: string | undefined, debounceDelayMs: number | undefined, eventHandle: number | undefined): void;
|
|
62
64
|
$emitInlineCompletionsChange(handle: number): void;
|
|
63
|
-
$registerInlineEditProvider(handle: number, selector: IDocumentFilterDto[], extensionId: ExtensionIdentifier, displayName: string): void;
|
|
64
65
|
$registerSignatureHelpProvider(handle: number, selector: IDocumentFilterDto[], metadata: ISignatureHelpProviderMetadataDto): void;
|
|
65
66
|
$registerInlayHintsProvider(handle: number, selector: IDocumentFilterDto[], supportsResolve: boolean, eventHandle: number | undefined, displayName: string | undefined): void;
|
|
66
67
|
$emitInlayHintsEvent(eventHandle: number): void;
|