@codingame/monaco-vscode-notebook-service-override 37.6.1 → 38.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookSaveParticipant.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +21 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +9 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js +7 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +13 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +9 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +25 -25
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +22 -22
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +21 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/variablesActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +21 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.js +4 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +59 -59
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +31 -31
- package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelServiceImpl.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelServiceImpl.js +22 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +1 -1
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/repl.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorAccessibilityHelp.js +14 -14
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +14 -13
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +1 -1
|
@@ -11,7 +11,7 @@ import { IFileDialogService, IDialogService } from '@codingame/monaco-vscode-api
|
|
|
11
11
|
import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
|
|
12
12
|
import { SaveSourceRegistry } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
13
13
|
import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
14
|
-
import
|
|
14
|
+
import '@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pathService';
|
|
15
15
|
import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
16
16
|
import { StoredFileWorkingCopyState } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy';
|
|
17
17
|
import { StoredFileWorkingCopyManager } from './storedFileWorkingCopyManager.js';
|
|
@@ -44,6 +44,7 @@ import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/misc
|
|
|
44
44
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
45
45
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/searchColors';
|
|
46
46
|
import { IProgressService } from '@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress.service';
|
|
47
|
+
import { IPathService } from '@codingame/monaco-vscode-api/vscode/vs/platform/path/common/pathService.service';
|
|
47
48
|
|
|
48
49
|
var FileWorkingCopyManager_1;
|
|
49
50
|
let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
|
|
@@ -51,10 +52,10 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
|
|
|
51
52
|
FileWorkingCopyManager_1 = this;
|
|
52
53
|
}
|
|
53
54
|
static {
|
|
54
|
-
this.FILE_WORKING_COPY_SAVE_CREATE_SOURCE = SaveSourceRegistry.registerSource("fileWorkingCopyCreate.source", ( localize(
|
|
55
|
+
this.FILE_WORKING_COPY_SAVE_CREATE_SOURCE = SaveSourceRegistry.registerSource("fileWorkingCopyCreate.source", ( localize(25247, "File Created")));
|
|
55
56
|
}
|
|
56
57
|
static {
|
|
57
|
-
this.FILE_WORKING_COPY_SAVE_REPLACE_SOURCE = SaveSourceRegistry.registerSource("fileWorkingCopyReplace.source", ( localize(
|
|
58
|
+
this.FILE_WORKING_COPY_SAVE_REPLACE_SOURCE = SaveSourceRegistry.registerSource("fileWorkingCopyReplace.source", ( localize(25248, "File Replaced")));
|
|
58
59
|
}
|
|
59
60
|
constructor(
|
|
60
61
|
workingCopyTypeId,
|
|
@@ -133,7 +134,7 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
|
|
|
133
134
|
constructor(stored) {
|
|
134
135
|
super();
|
|
135
136
|
this.stored = stored;
|
|
136
|
-
this.label = ( localize(
|
|
137
|
+
this.label = ( localize(25249, "File Working Copy Decorations"));
|
|
137
138
|
this._onDidChange = this._register(( new Emitter()));
|
|
138
139
|
this.onDidChange = this._onDidChange.event;
|
|
139
140
|
this.registerListeners();
|
|
@@ -166,20 +167,20 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
|
|
|
166
167
|
color: listErrorForeground,
|
|
167
168
|
letter: Codicon.lockSmall,
|
|
168
169
|
strikethrough: true,
|
|
169
|
-
tooltip: ( localize(
|
|
170
|
+
tooltip: ( localize(25250, "Deleted, Read-only"))
|
|
170
171
|
};
|
|
171
172
|
}
|
|
172
173
|
else if (isReadonly) {
|
|
173
174
|
return {
|
|
174
175
|
letter: Codicon.lockSmall,
|
|
175
|
-
tooltip: ( localize(
|
|
176
|
+
tooltip: ( localize(25251, "Read-only"))
|
|
176
177
|
};
|
|
177
178
|
}
|
|
178
179
|
else if (isOrphaned) {
|
|
179
180
|
return {
|
|
180
181
|
color: listErrorForeground,
|
|
181
182
|
strikethrough: true,
|
|
182
|
-
tooltip: ( localize(
|
|
183
|
+
tooltip: ( localize(25252, "Deleted"))
|
|
183
184
|
};
|
|
184
185
|
}
|
|
185
186
|
return undefined;
|
|
@@ -334,17 +335,17 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
|
|
|
334
335
|
} = await this.dialogService.confirm({
|
|
335
336
|
type: "warning",
|
|
336
337
|
message: ( localize(
|
|
337
|
-
|
|
338
|
+
25253,
|
|
338
339
|
"'{0}' already exists. Do you want to replace it?",
|
|
339
340
|
basename(resource)
|
|
340
341
|
)),
|
|
341
342
|
detail: ( localize(
|
|
342
|
-
|
|
343
|
+
25254,
|
|
343
344
|
"A file or folder with the name '{0}' already exists in the folder '{1}'. Replacing it will overwrite its current contents.",
|
|
344
345
|
basename(resource),
|
|
345
346
|
basename(dirname(resource))
|
|
346
347
|
)),
|
|
347
|
-
primaryButton: ( localize(
|
|
348
|
+
primaryButton: ( localize(25255, "&&Replace"))
|
|
348
349
|
});
|
|
349
350
|
return confirmed;
|
|
350
351
|
}
|
|
@@ -354,12 +355,12 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
|
|
|
354
355
|
} = await this.dialogService.confirm({
|
|
355
356
|
type: "warning",
|
|
356
357
|
message: ( localize(
|
|
357
|
-
|
|
358
|
+
25256,
|
|
358
359
|
"'{0}' is marked as read-only. Do you want to save anyway?",
|
|
359
360
|
basename(resource)
|
|
360
361
|
)),
|
|
361
|
-
detail: ( localize(
|
|
362
|
-
primaryButton: ( localize(
|
|
362
|
+
detail: ( localize(25257, "Paths can be configured as read-only via settings.")),
|
|
363
|
+
primaryButton: ( localize(25258, "&&Save Anyway"))
|
|
363
364
|
});
|
|
364
365
|
return confirmed;
|
|
365
366
|
}
|
|
@@ -109,7 +109,7 @@ let StoredFileWorkingCopyManager = class StoredFileWorkingCopyManager extends Ba
|
|
|
109
109
|
this._register(
|
|
110
110
|
this.lifecycleService.onWillShutdown(event => event.join(this.onWillShutdownDesktop(), {
|
|
111
111
|
id: "join.fileWorkingCopyManager",
|
|
112
|
-
label: ( localize(
|
|
112
|
+
label: ( localize(25276, "Saving working copies"))
|
|
113
113
|
}))
|
|
114
114
|
);
|
|
115
115
|
}
|