@codingame/monaco-vscode-notebook-service-override 18.1.3 → 18.2.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 +29 -30
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +12 -12
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-notebook-service-override",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - notebook service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,35 +15,34 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-0094ae09-a688-53e7-bacc-93e26f7f49db-common": "18.
|
|
19
|
-
"@codingame/monaco-vscode-0cd5242b-7b61-5f66-ac25-ffa40baf8e8f-common": "18.
|
|
20
|
-
"@codingame/monaco-vscode-158b9837-fc78-5d9c-86f5-9134e4358643-common": "18.
|
|
21
|
-
"@codingame/monaco-vscode-1cb11a73-359e-5a2f-9e95-6989cc9858ee-common": "18.
|
|
22
|
-
"@codingame/monaco-vscode-3109a756-1f83-5d09-945b-9f0fcad928f0-common": "18.
|
|
23
|
-
"@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common": "18.
|
|
24
|
-
"@codingame/monaco-vscode-4e719823-8b6e-554d-b01a-5670b53fbb19-common": "18.
|
|
25
|
-
"@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common": "18.
|
|
26
|
-
"@codingame/monaco-vscode-
|
|
27
|
-
"@codingame/monaco-vscode-
|
|
28
|
-
"@codingame/monaco-vscode-
|
|
29
|
-
"@codingame/monaco-vscode-
|
|
30
|
-
"@codingame/monaco-vscode-
|
|
31
|
-
"@codingame/monaco-vscode-9ed6fe06-a052-57c2-a234-5d9b94d2e7e0-common": "18.
|
|
32
|
-
"@codingame/monaco-vscode-9ee79c1a-3f03-568b-8eac-b02513a98b68-common": "18.
|
|
33
|
-
"@codingame/monaco-vscode-a4683c2b-a0d2-5112-96ba-eedc605346d2-common": "18.
|
|
34
|
-
"@codingame/monaco-vscode-api": "18.
|
|
35
|
-
"@codingame/monaco-vscode-b99aef83-0d60-5e8c-a62e-9908b6256f35-common": "18.
|
|
36
|
-
"@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common": "18.
|
|
37
|
-
"@codingame/monaco-vscode-bc8c28cd-7a80-54a9-af1a-e6b1e7a7f34a-common": "18.
|
|
38
|
-
"@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common": "18.
|
|
39
|
-
"@codingame/monaco-vscode-c87fff3a-2aa9-52ab-ba4d-17e8d1e5e185-common": "18.
|
|
40
|
-
"@codingame/monaco-vscode-d13b3977-ff76-5ba7-a5f1-e54904f40d52-common": "18.
|
|
41
|
-
"@codingame/monaco-vscode-
|
|
42
|
-
"@codingame/monaco-vscode-
|
|
43
|
-
"@codingame/monaco-vscode-
|
|
44
|
-
"@codingame/monaco-vscode-
|
|
45
|
-
"@codingame/monaco-vscode-
|
|
46
|
-
"@codingame/monaco-vscode-fc28fb90-97de-5e74-89a9-4cfe44128227-common": "18.1.3",
|
|
18
|
+
"@codingame/monaco-vscode-0094ae09-a688-53e7-bacc-93e26f7f49db-common": "18.2.0",
|
|
19
|
+
"@codingame/monaco-vscode-0cd5242b-7b61-5f66-ac25-ffa40baf8e8f-common": "18.2.0",
|
|
20
|
+
"@codingame/monaco-vscode-158b9837-fc78-5d9c-86f5-9134e4358643-common": "18.2.0",
|
|
21
|
+
"@codingame/monaco-vscode-1cb11a73-359e-5a2f-9e95-6989cc9858ee-common": "18.2.0",
|
|
22
|
+
"@codingame/monaco-vscode-3109a756-1f83-5d09-945b-9f0fcad928f0-common": "18.2.0",
|
|
23
|
+
"@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common": "18.2.0",
|
|
24
|
+
"@codingame/monaco-vscode-4e719823-8b6e-554d-b01a-5670b53fbb19-common": "18.2.0",
|
|
25
|
+
"@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common": "18.2.0",
|
|
26
|
+
"@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "18.2.0",
|
|
27
|
+
"@codingame/monaco-vscode-6c0f93b9-169c-58c3-a9cb-7d60698eb52c-common": "18.2.0",
|
|
28
|
+
"@codingame/monaco-vscode-7adbeffb-8051-54a9-8c9b-b62ce9e5836f-common": "18.2.0",
|
|
29
|
+
"@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common": "18.2.0",
|
|
30
|
+
"@codingame/monaco-vscode-8ccb7637-50ea-5359-97bf-00015d7fe567-common": "18.2.0",
|
|
31
|
+
"@codingame/monaco-vscode-9ed6fe06-a052-57c2-a234-5d9b94d2e7e0-common": "18.2.0",
|
|
32
|
+
"@codingame/monaco-vscode-9ee79c1a-3f03-568b-8eac-b02513a98b68-common": "18.2.0",
|
|
33
|
+
"@codingame/monaco-vscode-a4683c2b-a0d2-5112-96ba-eedc605346d2-common": "18.2.0",
|
|
34
|
+
"@codingame/monaco-vscode-api": "18.2.0",
|
|
35
|
+
"@codingame/monaco-vscode-b99aef83-0d60-5e8c-a62e-9908b6256f35-common": "18.2.0",
|
|
36
|
+
"@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common": "18.2.0",
|
|
37
|
+
"@codingame/monaco-vscode-bc8c28cd-7a80-54a9-af1a-e6b1e7a7f34a-common": "18.2.0",
|
|
38
|
+
"@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common": "18.2.0",
|
|
39
|
+
"@codingame/monaco-vscode-c87fff3a-2aa9-52ab-ba4d-17e8d1e5e185-common": "18.2.0",
|
|
40
|
+
"@codingame/monaco-vscode-d13b3977-ff76-5ba7-a5f1-e54904f40d52-common": "18.2.0",
|
|
41
|
+
"@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common": "18.2.0",
|
|
42
|
+
"@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common": "18.2.0",
|
|
43
|
+
"@codingame/monaco-vscode-f338ac19-278c-5fe1-bec8-b588de04a788-common": "18.2.0",
|
|
44
|
+
"@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common": "18.2.0",
|
|
45
|
+
"@codingame/monaco-vscode-fc28fb90-97de-5e74-89a9-4cfe44128227-common": "18.2.0",
|
|
47
46
|
"dompurify": "3.2.6",
|
|
48
47
|
"marked": "14.0.0"
|
|
49
48
|
},
|
|
@@ -12,7 +12,7 @@ import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/regist
|
|
|
12
12
|
import { StorageScope, StorageTarget } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage';
|
|
13
13
|
import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
|
|
14
14
|
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
15
|
-
import { Memento } from '@codingame/monaco-vscode-
|
|
15
|
+
import { Memento } from '@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common/vscode/vs/workbench/common/memento';
|
|
16
16
|
import { NotebookSetting } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
17
17
|
import { HAS_OPENED_NOTEBOOK } from '@codingame/monaco-vscode-c87fff3a-2aa9-52ab-ba4d-17e8d1e5e185-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
|
|
18
18
|
import { NotebookEditorInput } from '@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common/vscode/vs/workbench/contrib/notebook/common/notebookEditorInput';
|
|
@@ -18,7 +18,7 @@ import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/ext
|
|
|
18
18
|
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
19
19
|
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
20
20
|
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
21
|
-
import { EditorPaneDescriptor } from '@codingame/monaco-vscode-
|
|
21
|
+
import { EditorPaneDescriptor } from '@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common/vscode/vs/workbench/browser/editor';
|
|
22
22
|
import { Extensions as Extensions$1, registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
23
23
|
import { EditorExtensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
24
24
|
import { NotebookEditor } from '@codingame/monaco-vscode-bc8c28cd-7a80-54a9-af1a-e6b1e7a7f34a-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditor';
|
package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform
|
|
|
8
8
|
import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
9
9
|
import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
|
|
10
10
|
import { IUriIdentityService } from "@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
|
|
11
|
-
import { EditorPane } from "@codingame/monaco-vscode-
|
|
11
|
+
import { EditorPane } from "@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common/vscode/vs/workbench/browser/parts/editor/editorPane";
|
|
12
12
|
import { IWorkbenchContribution } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions";
|
|
13
13
|
import { IEditorOpenContext } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor";
|
|
14
14
|
import { IEditorGroup } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService";
|
package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.js
CHANGED
|
@@ -12,7 +12,7 @@ import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform
|
|
|
12
12
|
import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
13
13
|
import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
|
|
14
14
|
import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
15
|
-
import { EditorPane } from '@codingame/monaco-vscode-
|
|
15
|
+
import { EditorPane } from '@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common/vscode/vs/workbench/browser/parts/editor/editorPane';
|
|
16
16
|
import { registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
17
17
|
import { RegisteredEditorPriority } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorResolverService';
|
|
18
18
|
import { IEditorResolverService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorResolverService.service';
|
package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js
CHANGED
|
@@ -16,7 +16,7 @@ import { IExtensionManagementService } from '@codingame/monaco-vscode-api/vscode
|
|
|
16
16
|
import { areSameExtensions } from '@codingame/monaco-vscode-api/vscode/vs/platform/extensionManagement/common/extensionManagementUtil';
|
|
17
17
|
import { StorageScope, StorageTarget } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage';
|
|
18
18
|
import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
|
|
19
|
-
import { Memento } from '@codingame/monaco-vscode-
|
|
19
|
+
import { Memento } from '@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common/vscode/vs/workbench/common/memento';
|
|
20
20
|
import { distinct } from '@codingame/monaco-vscode-api/vscode/vs/base/common/arrays';
|
|
21
21
|
import Severity from '@codingame/monaco-vscode-api/vscode/vs/base/common/severity';
|
|
22
22
|
|
|
@@ -18,7 +18,7 @@ import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/fi
|
|
|
18
18
|
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
19
19
|
import { StorageScope, StorageTarget } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage';
|
|
20
20
|
import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
|
|
21
|
-
import { Memento } from '@codingame/monaco-vscode-
|
|
21
|
+
import { Memento } from '@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common/vscode/vs/workbench/common/memento';
|
|
22
22
|
import { notebooksExtensionPoint, notebookRendererExtensionPoint, notebookPreloadExtensionPoint } from '../notebookExtensionPoint.js';
|
|
23
23
|
import { NotebookDiffEditorInput } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/notebook/common/notebookDiffEditorInput';
|
|
24
24
|
import { NotebookTextModel } from '../../common/model/notebookTextModel.js';
|
|
@@ -48,8 +48,8 @@ import { IProgressService } from '@codingame/monaco-vscode-api/vscode/vs/platfor
|
|
|
48
48
|
var FileWorkingCopyManager_1;
|
|
49
49
|
let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
|
|
50
50
|
static { FileWorkingCopyManager_1 = this; }
|
|
51
|
-
static { this.FILE_WORKING_COPY_SAVE_CREATE_SOURCE = SaveSourceRegistry.registerSource('fileWorkingCopyCreate.source', ( localize(
|
|
52
|
-
static { this.FILE_WORKING_COPY_SAVE_REPLACE_SOURCE = SaveSourceRegistry.registerSource('fileWorkingCopyReplace.source', ( localize(
|
|
51
|
+
static { this.FILE_WORKING_COPY_SAVE_CREATE_SOURCE = SaveSourceRegistry.registerSource('fileWorkingCopyCreate.source', ( localize(13209, "File Created"))); }
|
|
52
|
+
static { this.FILE_WORKING_COPY_SAVE_REPLACE_SOURCE = SaveSourceRegistry.registerSource('fileWorkingCopyReplace.source', ( localize(13210, "File Replaced"))); }
|
|
53
53
|
constructor(workingCopyTypeId, storedWorkingCopyModelFactory, untitledWorkingCopyModelFactory, fileService, lifecycleService, labelService, logService, workingCopyFileService, workingCopyBackupService, uriIdentityService, fileDialogService, filesConfigurationService, workingCopyService, notificationService, workingCopyEditorService, editorService, elevatedFileService, pathService, environmentService, dialogService, decorationsService, progressService) {
|
|
54
54
|
super();
|
|
55
55
|
this.workingCopyTypeId = workingCopyTypeId;
|
|
@@ -104,7 +104,7 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
|
|
|
104
104
|
constructor(stored) {
|
|
105
105
|
super();
|
|
106
106
|
this.stored = stored;
|
|
107
|
-
this.label = ( localize(
|
|
107
|
+
this.label = ( localize(13211, "File Working Copy Decorations"));
|
|
108
108
|
this._onDidChange = this._register(( new Emitter()));
|
|
109
109
|
this.onDidChange = this._onDidChange.event;
|
|
110
110
|
this.registerListeners();
|
|
@@ -131,20 +131,20 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
|
|
|
131
131
|
color: listErrorForeground,
|
|
132
132
|
letter: Codicon.lockSmall,
|
|
133
133
|
strikethrough: true,
|
|
134
|
-
tooltip: ( localize(
|
|
134
|
+
tooltip: ( localize(13212, "Deleted, Read-only")),
|
|
135
135
|
};
|
|
136
136
|
}
|
|
137
137
|
else if (isReadonly) {
|
|
138
138
|
return {
|
|
139
139
|
letter: Codicon.lockSmall,
|
|
140
|
-
tooltip: ( localize(
|
|
140
|
+
tooltip: ( localize(13213, "Read-only")),
|
|
141
141
|
};
|
|
142
142
|
}
|
|
143
143
|
else if (isOrphaned) {
|
|
144
144
|
return {
|
|
145
145
|
color: listErrorForeground,
|
|
146
146
|
strikethrough: true,
|
|
147
|
-
tooltip: ( localize(
|
|
147
|
+
tooltip: ( localize(13214, "Deleted")),
|
|
148
148
|
};
|
|
149
149
|
}
|
|
150
150
|
return undefined;
|
|
@@ -279,17 +279,17 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
|
|
|
279
279
|
const { confirmed } = await this.dialogService.confirm({
|
|
280
280
|
type: 'warning',
|
|
281
281
|
message: ( localize(
|
|
282
|
-
|
|
282
|
+
13215,
|
|
283
283
|
"'{0}' already exists. Do you want to replace it?",
|
|
284
284
|
basename(resource)
|
|
285
285
|
)),
|
|
286
286
|
detail: ( localize(
|
|
287
|
-
|
|
287
|
+
13216,
|
|
288
288
|
"A file or folder with the name '{0}' already exists in the folder '{1}'. Replacing it will overwrite its current contents.",
|
|
289
289
|
basename(resource),
|
|
290
290
|
basename(dirname(resource))
|
|
291
291
|
)),
|
|
292
|
-
primaryButton: ( localize(
|
|
292
|
+
primaryButton: ( localize(13217, "&&Replace"))
|
|
293
293
|
});
|
|
294
294
|
return confirmed;
|
|
295
295
|
}
|
|
@@ -297,12 +297,12 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
|
|
|
297
297
|
const { confirmed } = await this.dialogService.confirm({
|
|
298
298
|
type: 'warning',
|
|
299
299
|
message: ( localize(
|
|
300
|
-
|
|
300
|
+
13218,
|
|
301
301
|
"'{0}' is marked as read-only. Do you want to save anyway?",
|
|
302
302
|
basename(resource)
|
|
303
303
|
)),
|
|
304
|
-
detail: ( localize(
|
|
305
|
-
primaryButton: ( localize(
|
|
304
|
+
detail: ( localize(13219, "Paths can be configured as read-only via settings.")),
|
|
305
|
+
primaryButton: ( localize(13220, "&&Save Anyway"))
|
|
306
306
|
});
|
|
307
307
|
return confirmed;
|
|
308
308
|
}
|
|
@@ -78,7 +78,7 @@ let StoredFileWorkingCopyManager = class StoredFileWorkingCopyManager extends Ba
|
|
|
78
78
|
this._register(this.lifecycleService.onBeforeShutdown(event => event.veto(this.onBeforeShutdownWeb(), 'veto.fileWorkingCopyManager')));
|
|
79
79
|
}
|
|
80
80
|
else {
|
|
81
|
-
this._register(this.lifecycleService.onWillShutdown(event => event.join(this.onWillShutdownDesktop(), { id: 'join.fileWorkingCopyManager', label: ( localize(
|
|
81
|
+
this._register(this.lifecycleService.onWillShutdown(event => event.join(this.onWillShutdownDesktop(), { id: 'join.fileWorkingCopyManager', label: ( localize(13238, "Saving working copies")) })));
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
onBeforeShutdownWeb() {
|