@codingame/monaco-vscode-extensions-service-override 17.2.1 → 18.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +30 -28
- package/vscode/src/vs/base/common/console.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementCLI.js +28 -28
- package/vscode/src/vs/platform/extensionResourceLoader/browser/extensionResourceLoaderService.d.ts +1 -1
- package/vscode/src/vs/platform/extensionResourceLoader/browser/extensionResourceLoaderService.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadAuthentication.d.ts +22 -6
- package/vscode/src/vs/workbench/api/browser/mainThreadAuthentication.js +126 -21
- 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.d.ts +6 -3
- package/vscode/src/vs/workbench/api/browser/mainThreadChatAgents2.js +54 -44
- package/vscode/src/vs/workbench/api/browser/mainThreadComments.d.ts +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadComments.js +7 -5
- package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.js +4 -4
- package/vscode/src/vs/workbench/api/browser/mainThreadDecorations.js +11 -9
- package/vscode/src/vs/workbench/api/browser/mainThreadEditSessionIdentityParticipant.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadEditorTabs.js +5 -5
- package/vscode/src/vs/workbench/api/browser/mainThreadEditors.js +4 -3
- 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.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguageModelTools.d.ts +4 -3
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguageModelTools.js +14 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguageModels.d.ts +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguageModels.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadMcp.d.ts +17 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadMcp.js +141 -4
- package/vscode/src/vs/workbench/api/browser/mainThreadMessageService.js +4 -4
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebook.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookDocumentsAndEditors.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookDto.d.ts +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookEditors.d.ts +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookEditors.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookKernels.js +0 -6
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookSaveParticipant.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadOutputService.js +3 -3
- package/vscode/src/vs/workbench/api/browser/mainThreadProgress.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadSCM.js +16 -12
- package/vscode/src/vs/workbench/api/browser/mainThreadSaveParticipant.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadSearch.js +3 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadStorage.d.ts +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadTask.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadTerminalService.d.ts +3 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadTerminalService.js +8 -6
- package/vscode/src/vs/workbench/api/browser/mainThreadTerminalShellIntegration.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadTesting.js +2 -1
- 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 +2 -2
- 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/contrib/externalUriOpener/common/contributedOpeners.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/browser/extensionBisect.js +23 -23
- package/vscode/src/vs/workbench/services/extensions/browser/extensionService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.js +13 -13
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostManagers.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocationTracker.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocationTracker.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/lazyCreateExtensionHostManager.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/remoteExtensionHost.d.ts +1 -1
|
@@ -51,13 +51,13 @@ let MainThreadMessageService = class MainThreadMessageService {
|
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
if (!source) {
|
|
54
|
-
source = ( localize(
|
|
54
|
+
source = ( localize(2445, "Extension"));
|
|
55
55
|
}
|
|
56
56
|
const secondaryActions = [];
|
|
57
57
|
if (options.source) {
|
|
58
58
|
secondaryActions.push(toAction({
|
|
59
59
|
id: options.source.identifier.value,
|
|
60
|
-
label: ( localize(
|
|
60
|
+
label: ( localize(2446, "Manage Extension")),
|
|
61
61
|
run: () => {
|
|
62
62
|
return this._commandService.executeCommand('_extensions.manage', options.source.identifier.value);
|
|
63
63
|
}
|
|
@@ -92,13 +92,13 @@ let MainThreadMessageService = class MainThreadMessageService {
|
|
|
92
92
|
if (!cancelButton) {
|
|
93
93
|
if (buttons.length > 0) {
|
|
94
94
|
cancelButton = {
|
|
95
|
-
label: ( localize(
|
|
95
|
+
label: ( localize(2447, "Cancel")),
|
|
96
96
|
run: () => undefined
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
99
|
else {
|
|
100
100
|
cancelButton = {
|
|
101
|
-
label: ( localize(
|
|
101
|
+
label: ( localize(2448, "&&OK")),
|
|
102
102
|
run: () => undefined
|
|
103
103
|
};
|
|
104
104
|
}
|
|
@@ -11,7 +11,7 @@ import { CommandsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platfor
|
|
|
11
11
|
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
12
12
|
import { NotebookDto } from './mainThreadNotebookDto.js';
|
|
13
13
|
import { INotebookCellStatusBarService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCellStatusBarService.service';
|
|
14
|
-
import { SimpleNotebookProviderInfo } from '@codingame/monaco-vscode-
|
|
14
|
+
import { SimpleNotebookProviderInfo } from '@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common/vscode/vs/workbench/contrib/notebook/common/notebookService';
|
|
15
15
|
import { INotebookService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
|
|
16
16
|
import { extHostNamedCustomer } from '../../services/extensions/common/extHostCustomers.js';
|
|
17
17
|
import { SerializableObjectWithBuffers } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/proxyIdentifier';
|
|
@@ -9,7 +9,7 @@ import { NotebookDto } from './mainThreadNotebookDto.js';
|
|
|
9
9
|
import { MainThreadNotebookEditors } from './mainThreadNotebookEditors.js';
|
|
10
10
|
import { extHostCustomer } from '../../services/extensions/common/extHostCustomers.js';
|
|
11
11
|
import { editorGroupToColumn } from '@codingame/monaco-vscode-f48982c4-9e82-55e2-b800-20e6d1e6096f-common/vscode/vs/workbench/services/editor/common/editorGroupColumn';
|
|
12
|
-
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-
|
|
12
|
+
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
13
13
|
import { INotebookEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service';
|
|
14
14
|
import { INotebookService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
|
|
15
15
|
import { IEditorGroupsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as extHostProtocol from "@codingame/monaco-vscode-api/vscode/vs/workbench/api/common/extHost.protocol";
|
|
2
2
|
import * as notebookCommon from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon";
|
|
3
|
-
import { ICellExecuteUpdate, ICellExecutionComplete } from "@codingame/monaco-vscode-
|
|
3
|
+
import { ICellExecuteUpdate, ICellExecutionComplete } from "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService";
|
|
4
4
|
export declare namespace NotebookDto {
|
|
5
5
|
function toNotebookOutputItemDto(item: notebookCommon.IOutputItemDto): extHostProtocol.NotebookOutputItemDto;
|
|
6
6
|
function toNotebookOutputDto(output: notebookCommon.IOutputDto): extHostProtocol.NotebookOutputDto;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { UriComponents } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
2
2
|
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
3
|
-
import { INotebookEditor } from "@codingame/monaco-vscode-
|
|
3
|
+
import { INotebookEditor } from "@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
|
|
4
4
|
import { INotebookEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service";
|
|
5
|
-
import { ICellRange } from "@codingame/monaco-vscode-
|
|
5
|
+
import { ICellRange } from "@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common/vscode/vs/workbench/contrib/notebook/common/notebookRange";
|
|
6
6
|
import { IEditorGroupsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service";
|
|
7
7
|
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
8
8
|
import { IExtHostContext } from "../../services/extensions/common/extHostCustomers.js";
|
|
@@ -5,7 +5,7 @@ import { equals } from '@codingame/monaco-vscode-api/vscode/vs/base/common/objec
|
|
|
5
5
|
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
6
6
|
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
7
7
|
import { EditorActivation } from '@codingame/monaco-vscode-api/vscode/vs/platform/editor/common/editor';
|
|
8
|
-
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-
|
|
8
|
+
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
9
9
|
import { INotebookEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service';
|
|
10
10
|
import { editorGroupToColumn, columnToEditorGroup } from '@codingame/monaco-vscode-f48982c4-9e82-55e2-b800-20e6d1e6096f-common/vscode/vs/workbench/services/editor/common/editorGroupColumn';
|
|
11
11
|
import { IEditorGroupsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
@@ -10,7 +10,6 @@ import { ILanguageService } from '@codingame/monaco-vscode-api/vscode/vs/editor/
|
|
|
10
10
|
import { NotebookDto } from './mainThreadNotebookDto.js';
|
|
11
11
|
import { extHostNamedCustomer } from '../../services/extensions/common/extHostCustomers.js';
|
|
12
12
|
import { INotebookEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service';
|
|
13
|
-
import { NotebookExecutionType } from '@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService';
|
|
14
13
|
import { INotebookExecutionStateService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service';
|
|
15
14
|
import { INotebookKernelService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookKernelService.service';
|
|
16
15
|
import { ExtHostContext, MainContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/api/common/extHost.protocol';
|
|
@@ -105,11 +104,6 @@ let MainThreadNotebookKernels = class MainThreadNotebookKernels {
|
|
|
105
104
|
});
|
|
106
105
|
this._notebookExecutions.forEach(e => e.complete());
|
|
107
106
|
}));
|
|
108
|
-
this._disposables.add(this._notebookExecutionStateService.onDidChangeExecution(e => {
|
|
109
|
-
if (e.type === NotebookExecutionType.cell) {
|
|
110
|
-
this._proxy.$cellExecutionChanged(e.notebook, e.cellHandle, e.changed?.state);
|
|
111
|
-
}
|
|
112
|
-
}));
|
|
113
107
|
this._disposables.add(this._notebookKernelService.onDidChangeSelectedNotebooks(e => {
|
|
114
108
|
for (const [handle, [kernel,]] of this._kernels) {
|
|
115
109
|
if (e.oldKernel === kernel.id) {
|
|
@@ -18,7 +18,7 @@ class ExtHostNotebookDocumentSaveParticipant {
|
|
|
18
18
|
}
|
|
19
19
|
let _warningTimeout;
|
|
20
20
|
const p = ( new Promise((resolve, reject) => {
|
|
21
|
-
_warningTimeout = setTimeout(() => reject(( new Error(( localize(
|
|
21
|
+
_warningTimeout = setTimeout(() => reject(( new Error(( localize(2449, "Aborted onWillSaveNotebookDocument-event after 1750ms"))))), 1750);
|
|
22
22
|
this._proxy.$participateInSave(workingCopy.resource, context.reason, token).then(_ => {
|
|
23
23
|
clearTimeout(_warningTimeout);
|
|
24
24
|
return undefined;
|
|
@@ -69,11 +69,11 @@ let MainThreadOutputService = class MainThreadOutputService extends Disposable {
|
|
|
69
69
|
}
|
|
70
70
|
_showChannelQuietly(channel) {
|
|
71
71
|
const statusProperties = {
|
|
72
|
-
name: ( localize(
|
|
72
|
+
name: ( localize(2450, "Show Output")),
|
|
73
73
|
text: '$(output)',
|
|
74
|
-
ariaLabel: ( localize(
|
|
74
|
+
ariaLabel: ( localize(2451, "Show {0} Output Channel", channel.label)),
|
|
75
75
|
command: `workbench.action.output.show.${channel.id}`,
|
|
76
|
-
tooltip: ( localize(
|
|
76
|
+
tooltip: ( localize(2452, "Show {0} Output Channel", channel.label)),
|
|
77
77
|
kind: 'prominent'
|
|
78
78
|
};
|
|
79
79
|
if (!this._outputStatusItem.value) {
|
|
@@ -28,7 +28,7 @@ let MainThreadProgress = class MainThreadProgress {
|
|
|
28
28
|
location: ProgressLocation.Notification,
|
|
29
29
|
secondaryActions: [toAction({
|
|
30
30
|
id: extensionId,
|
|
31
|
-
label: ( localize(
|
|
31
|
+
label: ( localize(2453, "Manage Extension")),
|
|
32
32
|
run: () => this._commandService.executeCommand('_extensions.manage', extensionId)
|
|
33
33
|
})]
|
|
34
34
|
};
|
|
@@ -12,7 +12,7 @@ import { CancellationToken } from '@codingame/monaco-vscode-api/vscode/vs/base/c
|
|
|
12
12
|
import { MarshalledId } from '@codingame/monaco-vscode-api/vscode/vs/base/common/marshallingIds';
|
|
13
13
|
import { ThemeIcon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/themables';
|
|
14
14
|
import { IQuickDiffService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/scm/common/quickDiff.service';
|
|
15
|
-
import { ResourceTree } from '@codingame/monaco-vscode-
|
|
15
|
+
import { ResourceTree } from '@codingame/monaco-vscode-7adbeffb-8051-54a9-8c9b-b62ce9e5836f-common/vscode/vs/base/common/resourceTree';
|
|
16
16
|
import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
17
17
|
import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
|
|
18
18
|
import { basename } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
@@ -21,9 +21,10 @@ import { IModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/com
|
|
|
21
21
|
import { ITextModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService.service';
|
|
22
22
|
import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
|
|
23
23
|
import { structuralEquals } from '@codingame/monaco-vscode-api/vscode/vs/base/common/equals';
|
|
24
|
-
import { historyItemRefColor, historyItemRemoteRefColor, historyItemBaseRefColor } from '@codingame/monaco-vscode-
|
|
25
|
-
import { observableValue
|
|
26
|
-
import { observableValueOpts } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/
|
|
24
|
+
import { historyItemRefColor, historyItemRemoteRefColor, historyItemBaseRefColor } from '@codingame/monaco-vscode-7adbeffb-8051-54a9-8c9b-b62ce9e5836f-common/vscode/vs/workbench/contrib/scm/browser/scmHistory';
|
|
25
|
+
import { observableValue } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/observables/observableValue';
|
|
26
|
+
import { observableValueOpts } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/observables/observableValueOpts';
|
|
27
|
+
import { transaction } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/transaction';
|
|
27
28
|
|
|
28
29
|
function getIconFromIconDto(iconDto) {
|
|
29
30
|
if (iconDto === undefined) {
|
|
@@ -162,19 +163,22 @@ class MainThreadSCMHistoryProvider {
|
|
|
162
163
|
}, undefined);
|
|
163
164
|
this._historyItemRefChanges = observableValue(this, { added: [], modified: [], removed: [], silent: false });
|
|
164
165
|
}
|
|
165
|
-
async
|
|
166
|
-
return this.proxy.$
|
|
166
|
+
async resolveHistoryItemChatContext(historyItemId, token) {
|
|
167
|
+
return this.proxy.$resolveHistoryItemChatContext(this.handle, historyItemId, token ?? CancellationToken.None);
|
|
167
168
|
}
|
|
168
|
-
async
|
|
169
|
-
|
|
169
|
+
async resolveHistoryItemRefsCommonAncestor(historyItemRefs, token) {
|
|
170
|
+
return this.proxy.$resolveHistoryItemRefsCommonAncestor(this.handle, historyItemRefs, token ?? CancellationToken.None);
|
|
171
|
+
}
|
|
172
|
+
async provideHistoryItemRefs(historyItemsRefs, token) {
|
|
173
|
+
const historyItemRefs = await this.proxy.$provideHistoryItemRefs(this.handle, historyItemsRefs, token ?? CancellationToken.None);
|
|
170
174
|
return historyItemRefs?.map(ref => ({ ...ref, icon: getIconFromIconDto(ref.icon) }));
|
|
171
175
|
}
|
|
172
|
-
async provideHistoryItems(options) {
|
|
173
|
-
const historyItems = await this.proxy.$provideHistoryItems(this.handle, options, CancellationToken.None);
|
|
176
|
+
async provideHistoryItems(options, token) {
|
|
177
|
+
const historyItems = await this.proxy.$provideHistoryItems(this.handle, options, token ?? CancellationToken.None);
|
|
174
178
|
return historyItems?.map(historyItem => toISCMHistoryItem(historyItem));
|
|
175
179
|
}
|
|
176
|
-
async provideHistoryItemChanges(historyItemId, historyItemParentId) {
|
|
177
|
-
const changes = await this.proxy.$provideHistoryItemChanges(this.handle, historyItemId, historyItemParentId, CancellationToken.None);
|
|
180
|
+
async provideHistoryItemChanges(historyItemId, historyItemParentId, token) {
|
|
181
|
+
const changes = await this.proxy.$provideHistoryItemChanges(this.handle, historyItemId, historyItemParentId, token ?? CancellationToken.None);
|
|
178
182
|
return changes?.map(change => ({
|
|
179
183
|
uri: URI.revive(change.uri),
|
|
180
184
|
originalUri: change.originalUri && URI.revive(change.originalUri),
|
|
@@ -17,7 +17,7 @@ class ExtHostSaveParticipant {
|
|
|
17
17
|
return undefined;
|
|
18
18
|
}
|
|
19
19
|
const p = ( new Promise((resolve, reject) => {
|
|
20
|
-
setTimeout(() => reject(( new Error(( localize(
|
|
20
|
+
setTimeout(() => reject(( new Error(( localize(2454, "Aborted onWillSaveTextDocument-event after 1750ms"))))), 1750);
|
|
21
21
|
this._proxy.$participateInSave(editorModel.resource, context.reason).then(values => {
|
|
22
22
|
if (!values.every(success => success)) {
|
|
23
23
|
return Promise.reject(( new Error('listener failed')));
|
|
@@ -10,7 +10,7 @@ import { SearchProviderType, QueryType } from '@codingame/monaco-vscode-api/vsco
|
|
|
10
10
|
import { ISearchService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/search/common/search.service';
|
|
11
11
|
import { ExtHostContext, MainContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/api/common/extHost.protocol';
|
|
12
12
|
import { revive } from '@codingame/monaco-vscode-api/vscode/vs/base/common/marshalling';
|
|
13
|
-
import { SearchContext } from '@codingame/monaco-vscode-
|
|
13
|
+
import { SearchContext } from '@codingame/monaco-vscode-47472025-cc45-5680-86cd-09ceaba921a1-common/vscode/vs/workbench/contrib/search/common/constants';
|
|
14
14
|
import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
15
15
|
|
|
16
16
|
let MainThreadSearch = class MainThreadSearch {
|
|
@@ -100,6 +100,7 @@ class SearchOperation {
|
|
|
100
100
|
}
|
|
101
101
|
addKeyword(result) {
|
|
102
102
|
this.keywords.push(result);
|
|
103
|
+
this.progress?.(result);
|
|
103
104
|
}
|
|
104
105
|
}
|
|
105
106
|
class RemoteSearchProvider {
|
|
@@ -167,7 +168,7 @@ class RemoteSearchProvider {
|
|
|
167
168
|
}
|
|
168
169
|
searchOp.addKeyword(data);
|
|
169
170
|
}
|
|
170
|
-
_provideSearchResults(query, session, token
|
|
171
|
+
_provideSearchResults(query, session, token) {
|
|
171
172
|
switch (query.type) {
|
|
172
173
|
case QueryType.File:
|
|
173
174
|
return this._proxy.$provideFileSearchResults(this._handle, session, query, token);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
|
|
2
2
|
import { MainThreadStorageShape } from "@codingame/monaco-vscode-api/vscode/vs/workbench/api/common/extHost.protocol";
|
|
3
3
|
import { IExtHostContext } from "../../services/extensions/common/extHostCustomers.js";
|
|
4
|
-
import { IExtensionIdWithVersion } from "@codingame/monaco-vscode-
|
|
4
|
+
import { IExtensionIdWithVersion } from "@codingame/monaco-vscode-cecd476b-6f89-54b7-b016-fe6fdaa6675e-common/vscode/vs/platform/extensionManagement/common/extensionStorage";
|
|
5
5
|
import { IExtensionStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/extensionManagement/common/extensionStorage.service";
|
|
6
6
|
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
7
7
|
import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
|
|
@@ -405,7 +405,7 @@ var TaskDTO;
|
|
|
405
405
|
}
|
|
406
406
|
command.presentation = TaskPresentationOptionsDTO.to(task.presentationOptions);
|
|
407
407
|
const source = TaskSourceDTO.to(task.source, workspace);
|
|
408
|
-
const label = ( localize(
|
|
408
|
+
const label = ( localize(2455, '{0}: {1}', source.label, task.name));
|
|
409
409
|
const definition = TaskDefinitionDTO.to(task.definition, executeOnly);
|
|
410
410
|
const id = (CustomExecutionDTO.is(task.execution) && task._id) ? task._id : `${task.source.extensionId}.${definition._key}`;
|
|
411
411
|
const result = ( new ContributedTask(
|
|
@@ -14,8 +14,8 @@ import { ISerializableEnvironmentDescriptionMap, ISerializableEnvironmentVariabl
|
|
|
14
14
|
import { ITerminalLinkProviderService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/terminalContrib/links/browser/links.service";
|
|
15
15
|
import { ITerminalQuickFixService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.service";
|
|
16
16
|
import { ITerminalCompletionService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/terminalContrib/suggest/browser/terminalCompletionService.service";
|
|
17
|
+
import { IWorkbenchEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service";
|
|
17
18
|
export declare class MainThreadTerminalService implements MainThreadTerminalServiceShape {
|
|
18
|
-
private readonly _extHostContext;
|
|
19
19
|
private readonly _terminalService;
|
|
20
20
|
private readonly _terminalLinkProviderService;
|
|
21
21
|
private readonly _terminalQuickFixService;
|
|
@@ -27,6 +27,7 @@ export declare class MainThreadTerminalService implements MainThreadTerminalServ
|
|
|
27
27
|
private readonly _terminalEditorService;
|
|
28
28
|
private readonly _terminalProfileService;
|
|
29
29
|
private readonly _terminalCompletionService;
|
|
30
|
+
private readonly _environmentService;
|
|
30
31
|
private readonly _store;
|
|
31
32
|
private readonly _proxy;
|
|
32
33
|
private readonly _extHostTerminals;
|
|
@@ -38,7 +39,7 @@ export declare class MainThreadTerminalService implements MainThreadTerminalServ
|
|
|
38
39
|
private readonly _sendCommandEventListener;
|
|
39
40
|
private readonly _linkProvider;
|
|
40
41
|
private _os;
|
|
41
|
-
constructor(_extHostContext: IExtHostContext, _terminalService: ITerminalService, _terminalLinkProviderService: ITerminalLinkProviderService, _terminalQuickFixService: ITerminalQuickFixService, _instantiationService: IInstantiationService, _environmentVariableService: IEnvironmentVariableService, _logService: ILogService, _terminalProfileResolverService: ITerminalProfileResolverService, remoteAgentService: IRemoteAgentService, _terminalGroupService: ITerminalGroupService, _terminalEditorService: ITerminalEditorService, _terminalProfileService: ITerminalProfileService, _terminalCompletionService: ITerminalCompletionService);
|
|
42
|
+
constructor(_extHostContext: IExtHostContext, _terminalService: ITerminalService, _terminalLinkProviderService: ITerminalLinkProviderService, _terminalQuickFixService: ITerminalQuickFixService, _instantiationService: IInstantiationService, _environmentVariableService: IEnvironmentVariableService, _logService: ILogService, _terminalProfileResolverService: ITerminalProfileResolverService, remoteAgentService: IRemoteAgentService, _terminalGroupService: ITerminalGroupService, _terminalEditorService: ITerminalEditorService, _terminalProfileService: ITerminalProfileService, _terminalCompletionService: ITerminalCompletionService, _environmentService: IWorkbenchEnvironmentService);
|
|
42
43
|
dispose(): void;
|
|
43
44
|
private _updateDefaultProfile;
|
|
44
45
|
private _getTerminalInstance;
|
|
@@ -17,14 +17,14 @@ import { IRemoteAgentService } from '@codingame/monaco-vscode-api/vscode/vs/work
|
|
|
17
17
|
import { OS } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
|
|
18
18
|
import { Promises } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
19
19
|
import { ITerminalLinkProviderService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/terminalContrib/links/browser/links.service';
|
|
20
|
-
import { TerminalQuickFixType } from '@codingame/monaco-vscode-
|
|
20
|
+
import { TerminalQuickFixType } from '@codingame/monaco-vscode-2a94c04a-b85b-5669-b06b-89c1bfa11cb9-common/vscode/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix';
|
|
21
21
|
import { ITerminalQuickFixService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.service';
|
|
22
|
-
import { TerminalCapability } from '@codingame/monaco-vscode-
|
|
22
|
+
import { TerminalCapability } from '@codingame/monaco-vscode-47472025-cc45-5680-86cd-09ceaba921a1-common/vscode/vs/platform/terminal/common/capabilities/capabilities';
|
|
23
23
|
import { ITerminalCompletionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/terminalContrib/suggest/browser/terminalCompletionService.service';
|
|
24
|
+
import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
24
25
|
|
|
25
26
|
let MainThreadTerminalService = class MainThreadTerminalService {
|
|
26
|
-
constructor(_extHostContext, _terminalService, _terminalLinkProviderService, _terminalQuickFixService, _instantiationService, _environmentVariableService, _logService, _terminalProfileResolverService, remoteAgentService, _terminalGroupService, _terminalEditorService, _terminalProfileService, _terminalCompletionService) {
|
|
27
|
-
this._extHostContext = _extHostContext;
|
|
27
|
+
constructor(_extHostContext, _terminalService, _terminalLinkProviderService, _terminalQuickFixService, _instantiationService, _environmentVariableService, _logService, _terminalProfileResolverService, remoteAgentService, _terminalGroupService, _terminalEditorService, _terminalProfileService, _terminalCompletionService, _environmentService) {
|
|
28
28
|
this._terminalService = _terminalService;
|
|
29
29
|
this._terminalLinkProviderService = _terminalLinkProviderService;
|
|
30
30
|
this._terminalQuickFixService = _terminalQuickFixService;
|
|
@@ -36,6 +36,7 @@ let MainThreadTerminalService = class MainThreadTerminalService {
|
|
|
36
36
|
this._terminalEditorService = _terminalEditorService;
|
|
37
37
|
this._terminalProfileService = _terminalProfileService;
|
|
38
38
|
this._terminalCompletionService = _terminalCompletionService;
|
|
39
|
+
this._environmentService = _environmentService;
|
|
39
40
|
this._store = ( new DisposableStore());
|
|
40
41
|
this._extHostTerminals = ( new Map());
|
|
41
42
|
this._terminalProcessProxies = ( new Map());
|
|
@@ -95,7 +96,7 @@ let MainThreadTerminalService = class MainThreadTerminalService {
|
|
|
95
96
|
}
|
|
96
97
|
}
|
|
97
98
|
async _updateDefaultProfile() {
|
|
98
|
-
const remoteAuthority = this.
|
|
99
|
+
const remoteAuthority = this._environmentService.remoteAuthority;
|
|
99
100
|
const defaultProfile = this._terminalProfileResolverService.getDefaultProfile({ remoteAuthority, os: this._os });
|
|
100
101
|
const defaultAutomationProfile = this._terminalProfileResolverService.getDefaultProfile({ remoteAuthority, os: this._os, allowAutomationShell: true });
|
|
101
102
|
this._proxy.$acceptDefaultProfile(...(await Promise.all([defaultProfile, defaultAutomationProfile])));
|
|
@@ -387,7 +388,8 @@ MainThreadTerminalService = __decorate([
|
|
|
387
388
|
( __param(9, ITerminalGroupService)),
|
|
388
389
|
( __param(10, ITerminalEditorService)),
|
|
389
390
|
( __param(11, ITerminalProfileService)),
|
|
390
|
-
( __param(12, ITerminalCompletionService))
|
|
391
|
+
( __param(12, ITerminalCompletionService)),
|
|
392
|
+
( __param(13, IWorkbenchEnvironmentService))
|
|
391
393
|
], MainThreadTerminalService);
|
|
392
394
|
let TerminalDataEventTracker = class TerminalDataEventTracker extends Disposable {
|
|
393
395
|
constructor(_callback, _terminalService) {
|
|
@@ -3,7 +3,7 @@ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib
|
|
|
3
3
|
import { Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
4
4
|
import { Disposable, toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
5
5
|
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
6
|
-
import { TerminalCapability } from '@codingame/monaco-vscode-
|
|
6
|
+
import { TerminalCapability } from '@codingame/monaco-vscode-47472025-cc45-5680-86cd-09ceaba921a1-common/vscode/vs/platform/terminal/common/capabilities/capabilities';
|
|
7
7
|
import { ExtHostContext, MainContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/api/common/extHost.protocol';
|
|
8
8
|
import { ITerminalService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/terminal/browser/terminal.service';
|
|
9
9
|
import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
@@ -16,7 +16,8 @@ import { ITestService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/c
|
|
|
16
16
|
import { TestRunProfileBitset, ITestItem, IFileCoverage, CoverageDetails, ITestMessage, TestsDiffOp } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/testing/common/testTypes';
|
|
17
17
|
import { extHostNamedCustomer } from '../../services/extensions/common/extHostCustomers.js';
|
|
18
18
|
import { ExtHostContext, MainContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/api/common/extHost.protocol';
|
|
19
|
-
import { transaction
|
|
19
|
+
import { transaction } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/transaction';
|
|
20
|
+
import { observableValue } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/observables/observableValue';
|
|
20
21
|
|
|
21
22
|
let MainThreadTesting = class MainThreadTesting extends Disposable {
|
|
22
23
|
constructor(extHostContext, uriIdentityService, testService, testProfiles, resultService) {
|
|
@@ -112,13 +112,13 @@ let MainThreadTunnelService = class MainThreadTunnelService extends Disposable {
|
|
|
112
112
|
}
|
|
113
113
|
async elevationPrompt(tunnelOptions, tunnel, source) {
|
|
114
114
|
return this.notificationService.prompt(Severity.Info, ( localize(
|
|
115
|
-
|
|
115
|
+
2456,
|
|
116
116
|
"The extension {0} has forwarded port {1}. You'll need to run as superuser to use port {2} locally.",
|
|
117
117
|
source,
|
|
118
118
|
tunnelOptions.remoteAddress.port,
|
|
119
119
|
tunnelOptions.localAddressPort
|
|
120
120
|
)), [{
|
|
121
|
-
label: ( localize(
|
|
121
|
+
label: ( localize(2457, "Use Port {0} as Sudo...", tunnel.tunnelRemotePort)),
|
|
122
122
|
run: async () => {
|
|
123
123
|
this.elevateionRetry = true;
|
|
124
124
|
await this.remoteExplorerService.close({ host: tunnel.tunnelRemoteHost, port: tunnel.tunnelRemotePort }, TunnelCloseReason.Other);
|
|
@@ -52,7 +52,7 @@ let MainThreadUriOpeners = class MainThreadUriOpeners extends Disposable {
|
|
|
52
52
|
}
|
|
53
53
|
catch (e) {
|
|
54
54
|
if (!isCancellationError(e)) {
|
|
55
|
-
const openDefaultAction = ( new Action('default', ( localize(
|
|
55
|
+
const openDefaultAction = ( new Action('default', ( localize(2458, "Open using default opener")), undefined, undefined, async () => {
|
|
56
56
|
await this.openerService.open(uri, {
|
|
57
57
|
allowTunneling: false,
|
|
58
58
|
allowContributedOpeners: defaultExternalUriOpenerId,
|
|
@@ -61,7 +61,7 @@ let MainThreadUriOpeners = class MainThreadUriOpeners extends Disposable {
|
|
|
61
61
|
openDefaultAction.tooltip = ( uri.toString());
|
|
62
62
|
this.notificationService.notify({
|
|
63
63
|
severity: Severity.Error,
|
|
64
|
-
message: ( localize(
|
|
64
|
+
message: ( localize(2459, 'Could not open uri with \'{0}\': {1}', id, (e.toString()))),
|
|
65
65
|
actions: {
|
|
66
66
|
primary: [
|
|
67
67
|
openDefaultAction
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
2
2
|
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
3
3
|
import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
|
|
4
|
-
import { WebviewInput } from "@codingame/monaco-vscode-
|
|
4
|
+
import { WebviewInput } from "@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common/vscode/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput";
|
|
5
5
|
import { IWebviewWorkbenchService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service";
|
|
6
6
|
import { IEditorGroupsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service";
|
|
7
7
|
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
@@ -8,8 +8,8 @@ import { generateUuid } from '@codingame/monaco-vscode-api/vscode/vs/base/common
|
|
|
8
8
|
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
9
9
|
import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
|
|
10
10
|
import { DiffEditorInput } from '@codingame/monaco-vscode-9c72783f-914c-50be-b9ef-da16356d81a8-common/vscode/vs/workbench/common/editor/diffEditorInput';
|
|
11
|
-
import { ExtensionKeyedWebviewOriginStore } from '@codingame/monaco-vscode-
|
|
12
|
-
import { WebviewInput } from '@codingame/monaco-vscode-
|
|
11
|
+
import { ExtensionKeyedWebviewOriginStore } from '@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common/vscode/vs/workbench/contrib/webview/browser/webview';
|
|
12
|
+
import { WebviewInput } from '@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common/vscode/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput';
|
|
13
13
|
import { IWebviewWorkbenchService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service';
|
|
14
14
|
import { editorGroupToColumn } from '@codingame/monaco-vscode-f48982c4-9e82-55e2-b800-20e6d1e6096f-common/vscode/vs/workbench/services/editor/common/editorGroupColumn';
|
|
15
15
|
import { GroupsOrder, GroupLocation, preferredSideBySideGroupDirection } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService';
|
|
@@ -3,7 +3,7 @@ import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/l
|
|
|
3
3
|
import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service";
|
|
4
4
|
import { IProductService } from "@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service";
|
|
5
5
|
import * as extHostProtocol from "@codingame/monaco-vscode-api/vscode/vs/workbench/api/common/extHost.protocol";
|
|
6
|
-
import { IOverlayWebview, WebviewContentOptions, WebviewExtensionDescription } from "@codingame/monaco-vscode-
|
|
6
|
+
import { IOverlayWebview, WebviewContentOptions, WebviewExtensionDescription } from "@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common/vscode/vs/workbench/contrib/webview/browser/webview";
|
|
7
7
|
import { IExtHostContext } from "../../services/extensions/common/extHostCustomers.js";
|
|
8
8
|
export declare class MainThreadWebviews extends Disposable implements extHostProtocol.MainThreadWebviewsShape {
|
|
9
9
|
private readonly _openerService;
|
|
@@ -104,7 +104,7 @@ let MainThreadWebviews = class MainThreadWebviews extends Disposable {
|
|
|
104
104
|
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
|
|
105
105
|
<meta http-equiv="Content-Security-Policy" content="default-src 'none';">
|
|
106
106
|
</head>
|
|
107
|
-
<body>${( localize(
|
|
107
|
+
<body>${( localize(2460, "An error occurred while loading view: {0}", escape(viewType)))}</body>
|
|
108
108
|
</html>`;
|
|
109
109
|
}
|
|
110
110
|
};
|
|
@@ -79,11 +79,11 @@ let MainThreadWorkspace = class MainThreadWorkspace {
|
|
|
79
79
|
const wantsToDelete = removeCount > 0;
|
|
80
80
|
if (wantsToAdd && !wantsToDelete) {
|
|
81
81
|
if (addCount === 1) {
|
|
82
|
-
message = ( localize(
|
|
82
|
+
message = ( localize(2461, "Extension '{0}' added 1 folder to the workspace", extensionName));
|
|
83
83
|
}
|
|
84
84
|
else {
|
|
85
85
|
message = ( localize(
|
|
86
|
-
|
|
86
|
+
2462,
|
|
87
87
|
"Extension '{0}' added {1} folders to the workspace",
|
|
88
88
|
extensionName,
|
|
89
89
|
addCount
|
|
@@ -92,11 +92,11 @@ let MainThreadWorkspace = class MainThreadWorkspace {
|
|
|
92
92
|
}
|
|
93
93
|
else if (wantsToDelete && !wantsToAdd) {
|
|
94
94
|
if (removeCount === 1) {
|
|
95
|
-
message = ( localize(
|
|
95
|
+
message = ( localize(2463, "Extension '{0}' removed 1 folder from the workspace", extensionName));
|
|
96
96
|
}
|
|
97
97
|
else {
|
|
98
98
|
message = ( localize(
|
|
99
|
-
|
|
99
|
+
2464,
|
|
100
100
|
"Extension '{0}' removed {1} folders from the workspace",
|
|
101
101
|
extensionName,
|
|
102
102
|
removeCount
|
|
@@ -104,7 +104,7 @@ let MainThreadWorkspace = class MainThreadWorkspace {
|
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
else {
|
|
107
|
-
message = ( localize(
|
|
107
|
+
message = ( localize(2465, "Extension '{0}' changed folders of the workspace", extensionName));
|
|
108
108
|
}
|
|
109
109
|
return message;
|
|
110
110
|
}
|
|
@@ -49,7 +49,7 @@ let CustomTextEditorModel = CustomTextEditorModel_1 = class CustomTextEditorMode
|
|
|
49
49
|
}));
|
|
50
50
|
this._register(extensionService.onWillStop(e => {
|
|
51
51
|
e.veto(true, ( localize(
|
|
52
|
-
|
|
52
|
+
5524,
|
|
53
53
|
"An extension provided text editor for '{0}' is still open that would close otherwise.",
|
|
54
54
|
this.name
|
|
55
55
|
)));
|
|
@@ -3,7 +3,7 @@ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib
|
|
|
3
3
|
import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
4
4
|
import { StorageScope, StorageTarget } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage';
|
|
5
5
|
import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
|
|
6
|
-
import { Memento } from '@codingame/monaco-vscode-
|
|
6
|
+
import { Memento } from '@codingame/monaco-vscode-924e8f00-6faf-5059-b518-e43427d29ab3-common/vscode/vs/workbench/common/memento';
|
|
7
7
|
import { updateContributedOpeners } from '@codingame/monaco-vscode-2a94c04a-b85b-5669-b06b-89c1bfa11cb9-common/vscode/vs/workbench/contrib/externalUriOpener/common/configuration';
|
|
8
8
|
import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
9
9
|
|