@codingame/monaco-vscode-api 10.1.3 → 10.1.4
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 +8 -8
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +1 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +3 -3
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -2
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +6 -6
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +9 -9
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +51 -51
- package/vscode/src/vs/editor/common/config/editorOptions.js +368 -368
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +32 -32
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +28 -28
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +7 -7
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +27 -27
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +23 -23
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +14 -14
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +17 -17
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +16 -16
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +3 -3
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/log/common/log.js +6 -6
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/labels.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +131 -131
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +17 -17
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
- package/vscode/src/vs/workbench/browser/window.js +16 -16
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +13 -13
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +10 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +34 -34
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +173 -173
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +21 -21
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +3 -3
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/activity/common/activity.js +4 -4
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +3 -3
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +82 -82
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
|
@@ -6,31 +6,31 @@ const ExtensionsConfigurationSchema = {
|
|
|
6
6
|
allowComments: true,
|
|
7
7
|
allowTrailingCommas: true,
|
|
8
8
|
type: 'object',
|
|
9
|
-
title: ( localize(
|
|
9
|
+
title: ( localize(9514, "Extensions")),
|
|
10
10
|
additionalProperties: false,
|
|
11
11
|
properties: {
|
|
12
12
|
recommendations: {
|
|
13
13
|
type: 'array',
|
|
14
14
|
description: ( localize(
|
|
15
|
-
|
|
15
|
+
9515,
|
|
16
16
|
"List of extensions which should be recommended for users of this workspace. The identifier of an extension is always '${publisher}.${name}'. For example: 'vscode.csharp'."
|
|
17
17
|
)),
|
|
18
18
|
items: {
|
|
19
19
|
type: 'string',
|
|
20
20
|
pattern: EXTENSION_IDENTIFIER_PATTERN,
|
|
21
|
-
errorMessage: ( localize(
|
|
21
|
+
errorMessage: ( localize(9516, "Expected format '${publisher}.${name}'. Example: 'vscode.csharp'."))
|
|
22
22
|
},
|
|
23
23
|
},
|
|
24
24
|
unwantedRecommendations: {
|
|
25
25
|
type: 'array',
|
|
26
26
|
description: ( localize(
|
|
27
|
-
|
|
27
|
+
9517,
|
|
28
28
|
"List of extensions recommended by VS Code that should not be recommended for users of this workspace. The identifier of an extension is always '${publisher}.${name}'. For example: 'vscode.csharp'."
|
|
29
29
|
)),
|
|
30
30
|
items: {
|
|
31
31
|
type: 'string',
|
|
32
32
|
pattern: EXTENSION_IDENTIFIER_PATTERN,
|
|
33
|
-
errorMessage: ( localize(
|
|
33
|
+
errorMessage: ( localize(9516, "Expected format '${publisher}.${name}'. Example: 'vscode.csharp'."))
|
|
34
34
|
},
|
|
35
35
|
},
|
|
36
36
|
}
|
|
@@ -216,14 +216,14 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
216
216
|
delete options.position;
|
|
217
217
|
}
|
|
218
218
|
const widgetPosition = this._showWidget(options.headless ?? session?.headless, true, initPosition);
|
|
219
|
-
let errorMessage = ( localize(
|
|
219
|
+
let errorMessage = ( localize(5682, "Failed to start editor chat"));
|
|
220
220
|
if (!session) {
|
|
221
221
|
const createSessionCts = ( (new CancellationTokenSource()));
|
|
222
222
|
const msgListener = Event.once(this._messages.event)(m => {
|
|
223
223
|
this._log('state=_createSession) message received', m);
|
|
224
224
|
if (m === 32 ) {
|
|
225
225
|
options.autoSend = true;
|
|
226
|
-
this._ui.value.widget.updateInfo(( localize(
|
|
226
|
+
this._ui.value.widget.updateInfo(( localize(5683, "Getting ready...")));
|
|
227
227
|
}
|
|
228
228
|
else {
|
|
229
229
|
createSessionCts.cancel();
|
|
@@ -541,7 +541,7 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
541
541
|
let newPosition;
|
|
542
542
|
if (response.result?.errorDetails) ;
|
|
543
543
|
else if (response.response.value.length === 0) {
|
|
544
|
-
const status = ( localize(
|
|
544
|
+
const status = ( localize(5684, "No results, please refine your input and try again"));
|
|
545
545
|
this._ui.value.widget.updateStatus(status, { classes: ['warn'] });
|
|
546
546
|
}
|
|
547
547
|
else {
|
|
@@ -575,7 +575,7 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
575
575
|
await this._strategy.apply();
|
|
576
576
|
}
|
|
577
577
|
catch (err) {
|
|
578
|
-
this._dialogService.error(( localize(
|
|
578
|
+
this._dialogService.error(( localize(5685, "Failed to apply changes.", toErrorMessage(err))));
|
|
579
579
|
this._log('FAILED to apply changes');
|
|
580
580
|
this._log(err);
|
|
581
581
|
}
|
|
@@ -595,7 +595,7 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
595
595
|
undoCancelEdits = this._strategy.cancel();
|
|
596
596
|
}
|
|
597
597
|
catch (err) {
|
|
598
|
-
this._dialogService.error(( localize(
|
|
598
|
+
this._dialogService.error(( localize(5686, "Failed to discard changes.", toErrorMessage(err))));
|
|
599
599
|
this._log('FAILED to discard changes');
|
|
600
600
|
this._log(err);
|
|
601
601
|
}
|
|
@@ -721,7 +721,7 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
721
721
|
if (!this._session) {
|
|
722
722
|
return;
|
|
723
723
|
}
|
|
724
|
-
const status = ( localize(
|
|
724
|
+
const status = ( localize(5687, "Accept or discard changes to continue saving."));
|
|
725
725
|
this._ui.value.widget.updateStatus(status, { classes: ['warn'] });
|
|
726
726
|
if (this._ui.value.position) {
|
|
727
727
|
this._editor.revealLineInCenterIfOutsideViewport(this._ui.value.position.lineNumber);
|
|
@@ -209,12 +209,12 @@ let InlineChatWidget = class InlineChatWidget {
|
|
|
209
209
|
const kbLabel = this._keybindingService.lookupKeybinding("editor.action.accessibilityHelp" )?.getLabel();
|
|
210
210
|
label = kbLabel
|
|
211
211
|
? ( localize(
|
|
212
|
-
|
|
212
|
+
11490,
|
|
213
213
|
"Inline Chat Input, Use {0} for Inline Chat Accessibility Help.",
|
|
214
214
|
kbLabel
|
|
215
215
|
))
|
|
216
216
|
: ( localize(
|
|
217
|
-
|
|
217
|
+
11491,
|
|
218
218
|
"Inline Chat Input, Run the Inline Chat Accessibility Help command for more information."
|
|
219
219
|
));
|
|
220
220
|
}
|
|
@@ -429,7 +429,7 @@ InlineChatWidget = ( (__decorate([
|
|
|
429
429
|
( (__param(9, IChatService))),
|
|
430
430
|
( (__param(10, IHoverService)))
|
|
431
431
|
], InlineChatWidget)));
|
|
432
|
-
const defaultAriaLabel = ( localize(
|
|
432
|
+
const defaultAriaLabel = ( localize(11492, "Inline Chat Input"));
|
|
433
433
|
let EditorBasedInlineChatWidget = class EditorBasedInlineChatWidget extends InlineChatWidget {
|
|
434
434
|
constructor(location, _parentEditor, options, contextKeyService, keybindingService, instantiationService, accessibilityService, configurationService, accessibleViewService, textModelResolverService, chatService, hoverService) {
|
|
435
435
|
super(location, {
|
|
@@ -183,7 +183,7 @@ let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
|
|
|
183
183
|
this.widget.reset();
|
|
184
184
|
this.widget.chatWidget.setVisible(false);
|
|
185
185
|
super.hide();
|
|
186
|
-
status(( localize(
|
|
186
|
+
status(( localize(10260, 'Closed inline chat widget')));
|
|
187
187
|
scrollState.restore(this.editor);
|
|
188
188
|
}
|
|
189
189
|
};
|
|
@@ -75,7 +75,7 @@ let MergeEditorInput = class MergeEditorInput extends AbstractTextResourceEditor
|
|
|
75
75
|
return capabilities;
|
|
76
76
|
}
|
|
77
77
|
getName() {
|
|
78
|
-
return ( localize(
|
|
78
|
+
return ( localize(8131, "Merging: {0}", super.getName()));
|
|
79
79
|
}
|
|
80
80
|
async resolve() {
|
|
81
81
|
if (!this._inputModel) {
|
|
@@ -85,15 +85,15 @@ class ActionsSource {
|
|
|
85
85
|
const result = [];
|
|
86
86
|
if (state.kind === ModifiedBaseRangeStateKind.unrecognized) {
|
|
87
87
|
result.push({
|
|
88
|
-
text: ( localize(
|
|
89
|
-
tooltip: ( localize(
|
|
88
|
+
text: ( localize(11472, "Manual Resolution")),
|
|
89
|
+
tooltip: ( localize(11473, "This conflict has been resolved manually.")),
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
else if (state.kind === ModifiedBaseRangeStateKind.base) {
|
|
93
93
|
result.push({
|
|
94
|
-
text: ( localize(
|
|
94
|
+
text: ( localize(11474, 'No Changes Accepted')),
|
|
95
95
|
tooltip: ( localize(
|
|
96
|
-
|
|
96
|
+
11475,
|
|
97
97
|
'The current resolution of this conflict equals the common ancestor of both the right and left changes.'
|
|
98
98
|
)),
|
|
99
99
|
});
|
|
@@ -115,20 +115,20 @@ class ActionsSource {
|
|
|
115
115
|
}
|
|
116
116
|
const stateToggles = [];
|
|
117
117
|
if (state.includesInput1) {
|
|
118
|
-
stateToggles.push(command(( localize(
|
|
118
|
+
stateToggles.push(command(( localize(11476, 'Remove {0}', model.input1.title)), async () => {
|
|
119
119
|
transaction((tx) => {
|
|
120
120
|
model.setState(modifiedBaseRange, state.withInputValue(1, false), true, tx);
|
|
121
121
|
model.telemetry.reportRemoveInvoked(1, state.includesInput(2));
|
|
122
122
|
});
|
|
123
|
-
}, ( localize(
|
|
123
|
+
}, ( localize(11477, 'Remove {0} from the result document.', model.input1.title))));
|
|
124
124
|
}
|
|
125
125
|
if (state.includesInput2) {
|
|
126
|
-
stateToggles.push(command(( localize(
|
|
126
|
+
stateToggles.push(command(( localize(11476, 'Remove {0}', model.input2.title)), async () => {
|
|
127
127
|
transaction((tx) => {
|
|
128
128
|
model.setState(modifiedBaseRange, state.withInputValue(2, false), true, tx);
|
|
129
129
|
model.telemetry.reportRemoveInvoked(2, state.includesInput(1));
|
|
130
130
|
});
|
|
131
|
-
}, ( localize(
|
|
131
|
+
}, ( localize(11477, 'Remove {0} from the result document.', model.input2.title))));
|
|
132
132
|
}
|
|
133
133
|
if (state.kind === ModifiedBaseRangeStateKind.both &&
|
|
134
134
|
state.firstInput === 2) {
|
|
@@ -136,13 +136,13 @@ class ActionsSource {
|
|
|
136
136
|
}
|
|
137
137
|
result.push(...stateToggles);
|
|
138
138
|
if (state.kind === ModifiedBaseRangeStateKind.unrecognized) {
|
|
139
|
-
result.push(command(( localize(
|
|
139
|
+
result.push(command(( localize(11478, 'Reset to base')), async () => {
|
|
140
140
|
transaction((tx) => {
|
|
141
141
|
model.setState(modifiedBaseRange, ModifiedBaseRangeState.base, true, tx);
|
|
142
142
|
model.telemetry.reportResetToBaseInvoked();
|
|
143
143
|
});
|
|
144
144
|
}, ( localize(
|
|
145
|
-
|
|
145
|
+
11479,
|
|
146
146
|
'Reset this conflict to the common ancestor of both the right and left changes.'
|
|
147
147
|
))));
|
|
148
148
|
}
|
|
@@ -174,16 +174,16 @@ class ActionsSource {
|
|
|
174
174
|
const otherInputNumber = inputNumber === 1 ? 2 : 1;
|
|
175
175
|
if (state.kind !== ModifiedBaseRangeStateKind.unrecognized && !state.isInputIncluded(inputNumber)) {
|
|
176
176
|
if (!state.isInputIncluded(otherInputNumber) || !this.viewModel.shouldUseAppendInsteadOfAccept.read(reader)) {
|
|
177
|
-
result.push(command(( localize(
|
|
177
|
+
result.push(command(( localize(11480, "Accept {0}", inputData.title)), async () => {
|
|
178
178
|
transaction((tx) => {
|
|
179
179
|
model.setState(modifiedBaseRange, state.withInputValue(inputNumber, true, false), inputNumber, tx);
|
|
180
180
|
model.telemetry.reportAcceptInvoked(inputNumber, state.includesInput(otherInputNumber));
|
|
181
181
|
});
|
|
182
|
-
}, ( localize(
|
|
182
|
+
}, ( localize(11481, "Accept {0} in the result document.", inputData.title))));
|
|
183
183
|
if (modifiedBaseRange.canBeCombined) {
|
|
184
184
|
const commandName = modifiedBaseRange.isOrderRelevant
|
|
185
|
-
? ( localize(
|
|
186
|
-
: ( localize(
|
|
185
|
+
? ( localize(11482, "Accept Combination ({0} First)", inputData.title))
|
|
186
|
+
: ( localize(11483, "Accept Combination"));
|
|
187
187
|
result.push(command(commandName, async () => {
|
|
188
188
|
transaction((tx) => {
|
|
189
189
|
model.setState(modifiedBaseRange, ModifiedBaseRangeState.base
|
|
@@ -192,36 +192,36 @@ class ActionsSource {
|
|
|
192
192
|
model.telemetry.reportSmartCombinationInvoked(state.includesInput(otherInputNumber));
|
|
193
193
|
});
|
|
194
194
|
}, ( localize(
|
|
195
|
-
|
|
195
|
+
11484,
|
|
196
196
|
"Accept an automatic combination of both sides in the result document."
|
|
197
197
|
))));
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
else {
|
|
201
|
-
result.push(command(( localize(
|
|
201
|
+
result.push(command(( localize(11485, "Append {0}", inputData.title)), async () => {
|
|
202
202
|
transaction((tx) => {
|
|
203
203
|
model.setState(modifiedBaseRange, state.withInputValue(inputNumber, true, false), inputNumber, tx);
|
|
204
204
|
model.telemetry.reportAcceptInvoked(inputNumber, state.includesInput(otherInputNumber));
|
|
205
205
|
});
|
|
206
|
-
}, ( localize(
|
|
206
|
+
}, ( localize(11486, "Append {0} to the result document.", inputData.title))));
|
|
207
207
|
if (modifiedBaseRange.canBeCombined) {
|
|
208
|
-
result.push(command(( localize(
|
|
208
|
+
result.push(command(( localize(11487, "Accept Combination", inputData.title)), async () => {
|
|
209
209
|
transaction((tx) => {
|
|
210
210
|
model.setState(modifiedBaseRange, state.withInputValue(inputNumber, true, true), inputNumber, tx);
|
|
211
211
|
model.telemetry.reportSmartCombinationInvoked(state.includesInput(otherInputNumber));
|
|
212
212
|
});
|
|
213
213
|
}, ( localize(
|
|
214
|
-
|
|
214
|
+
11484,
|
|
215
215
|
"Accept an automatic combination of both sides in the result document."
|
|
216
216
|
))));
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
if (!model.isInputHandled(modifiedBaseRange, inputNumber).read(reader)) {
|
|
220
|
-
result.push(command(( localize(
|
|
220
|
+
result.push(command(( localize(11488, 'Ignore')), async () => {
|
|
221
221
|
transaction((tx) => {
|
|
222
222
|
model.setInputHandled(modifiedBaseRange, inputNumber, true, tx);
|
|
223
223
|
});
|
|
224
|
-
}, ( localize(
|
|
224
|
+
}, ( localize(11489, "Don't take this side of the conflict."))));
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
return result;
|
|
@@ -116,9 +116,9 @@ let MultiDiffEditorInput = class MultiDiffEditorInput extends EditorInput {
|
|
|
116
116
|
};
|
|
117
117
|
this._register(autorun((reader) => {
|
|
118
118
|
const resources = this.resources.read(reader);
|
|
119
|
-
const label = this.label ?? ( localize(
|
|
119
|
+
const label = this.label ?? ( localize(6148, "Multi Diff Editor"));
|
|
120
120
|
if (resources) {
|
|
121
|
-
this._name = label + ( localize(
|
|
121
|
+
this._name = label + ( localize(6149, " ({0} files)", resources.length));
|
|
122
122
|
}
|
|
123
123
|
else {
|
|
124
124
|
this._name = label;
|
|
@@ -273,10 +273,10 @@ let NotebookFindWidget = class NotebookFindWidget extends SimpleFindReplaceWidge
|
|
|
273
273
|
_getAriaLabel(label, currentMatch, searchString) {
|
|
274
274
|
if (label === NLS_NO_RESULTS) {
|
|
275
275
|
return searchString === ''
|
|
276
|
-
? ( localize(
|
|
277
|
-
: ( localize(
|
|
276
|
+
? ( localize(10252, "{0} found", label))
|
|
277
|
+
: ( localize(10253, "{0} found for '{1}'", label, searchString));
|
|
278
278
|
}
|
|
279
|
-
return ( localize(
|
|
279
|
+
return ( localize(10254, "{0} found for '{1}'", label, searchString));
|
|
280
280
|
}
|
|
281
281
|
dispose() {
|
|
282
282
|
this._notebookEditor?.removeClassName(FIND_SHOW_TRANSITION);
|
|
@@ -11,7 +11,7 @@ import { INotebookEditorService } from '../services/notebookEditorService.servic
|
|
|
11
11
|
import { ITelemetryService } from '../../../../../platform/telemetry/common/telemetry.service.js';
|
|
12
12
|
import { isEqual } from '../../../../../base/common/resources.js';
|
|
13
13
|
const SELECT_KERNEL_ID = '_notebook.selectKernel';
|
|
14
|
-
const NOTEBOOK_ACTIONS_CATEGORY = ( localize2(
|
|
14
|
+
const NOTEBOOK_ACTIONS_CATEGORY = ( localize2(5649, 'Notebook'));
|
|
15
15
|
const CELL_TITLE_CELL_GROUP_ID = 'inline/cell';
|
|
16
16
|
const CELL_TITLE_OUTPUT_GROUP_ID = 'inline/output';
|
|
17
17
|
const NOTEBOOK_EDITOR_WIDGET_ACTION_WEIGHT = 100 ;
|
|
@@ -299,18 +299,18 @@ const cellExecutionArgs = [
|
|
|
299
299
|
];
|
|
300
300
|
MenuRegistry.appendMenuItem(MenuId.NotebookCellTitle, {
|
|
301
301
|
submenu: MenuId.NotebookCellInsert,
|
|
302
|
-
title: ( localize(
|
|
302
|
+
title: ( localize(5650, "Insert Cell")),
|
|
303
303
|
group: "2_insert" ,
|
|
304
304
|
when: ( (NOTEBOOK_EDITOR_EDITABLE.isEqualTo(true)))
|
|
305
305
|
});
|
|
306
306
|
MenuRegistry.appendMenuItem(MenuId.EditorContext, {
|
|
307
307
|
submenu: MenuId.NotebookCellTitle,
|
|
308
|
-
title: ( localize(
|
|
308
|
+
title: ( localize(5651, "Notebook Cell")),
|
|
309
309
|
group: "2_insert" ,
|
|
310
310
|
when: NOTEBOOK_EDITOR_FOCUSED
|
|
311
311
|
});
|
|
312
312
|
MenuRegistry.appendMenuItem(MenuId.NotebookCellTitle, {
|
|
313
|
-
title: ( localize(
|
|
313
|
+
title: ( localize(5652, "Share")),
|
|
314
314
|
submenu: MenuId.EditorContextShare,
|
|
315
315
|
group: "4_share"
|
|
316
316
|
});
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { Codicon } from '../../../../base/common/codicons.js';
|
|
2
2
|
import { localize } from '../../../../nls.js';
|
|
3
3
|
import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
|
|
4
|
-
const selectKernelIcon = registerIcon('notebook-kernel-select', Codicon.serverEnvironment, ( localize(
|
|
5
|
-
const executeIcon = registerIcon('notebook-execute', Codicon.play, ( localize(
|
|
6
|
-
const executeAboveIcon = registerIcon('notebook-execute-above', Codicon.runAbove, ( localize(
|
|
7
|
-
const executeBelowIcon = registerIcon('notebook-execute-below', Codicon.runBelow, ( localize(
|
|
8
|
-
const stopIcon = registerIcon('notebook-stop', Codicon.primitiveSquare, ( localize(
|
|
9
|
-
const deleteCellIcon = registerIcon('notebook-delete-cell', Codicon.trash, ( localize(
|
|
10
|
-
const executeAllIcon = registerIcon('notebook-execute-all', Codicon.runAll, ( localize(
|
|
11
|
-
const editIcon = registerIcon('notebook-edit', Codicon.pencil, ( localize(
|
|
12
|
-
const stopEditIcon = registerIcon('notebook-stop-edit', Codicon.check, ( localize(
|
|
13
|
-
const moveUpIcon = registerIcon('notebook-move-up', Codicon.arrowUp, ( localize(
|
|
14
|
-
const moveDownIcon = registerIcon('notebook-move-down', Codicon.arrowDown, ( localize(
|
|
15
|
-
const clearIcon = registerIcon('notebook-clear', Codicon.clearAll, ( localize(
|
|
16
|
-
const splitCellIcon = registerIcon('notebook-split-cell', Codicon.splitVertical, ( localize(
|
|
17
|
-
const successStateIcon = registerIcon('notebook-state-success', Codicon.check, ( localize(
|
|
18
|
-
const errorStateIcon = registerIcon('notebook-state-error', Codicon.error, ( localize(
|
|
19
|
-
const pendingStateIcon = registerIcon('notebook-state-pending', Codicon.clock, ( localize(
|
|
20
|
-
const executingStateIcon = registerIcon('notebook-state-executing', Codicon.sync, ( localize(
|
|
21
|
-
const collapsedIcon = registerIcon('notebook-collapsed', Codicon.chevronRight, ( localize(
|
|
22
|
-
const expandedIcon = registerIcon('notebook-expanded', Codicon.chevronDown, ( localize(
|
|
23
|
-
const openAsTextIcon = registerIcon('notebook-open-as-text', Codicon.fileCode, ( localize(
|
|
24
|
-
const revertIcon = registerIcon('notebook-revert', Codicon.discard, ( localize(
|
|
25
|
-
const toggleWhitespace = registerIcon('notebook-diff-cell-toggle-whitespace', Codicon.whitespace, ( localize(
|
|
26
|
-
const renderOutputIcon = registerIcon('notebook-render-output', Codicon.preview, ( localize(
|
|
27
|
-
const mimetypeIcon = registerIcon('notebook-mimetype', Codicon.code, ( localize(
|
|
28
|
-
const copyIcon = registerIcon('notebook-copy', Codicon.copy, ( localize(
|
|
29
|
-
const previousChangeIcon = registerIcon('notebook-diff-editor-previous-change', Codicon.arrowUp, ( localize(
|
|
30
|
-
const nextChangeIcon = registerIcon('notebook-diff-editor-next-change', Codicon.arrowDown, ( localize(
|
|
31
|
-
const variablesViewIcon = registerIcon('variables-view-icon', Codicon.debugAlt, ( localize(
|
|
4
|
+
const selectKernelIcon = registerIcon('notebook-kernel-select', Codicon.serverEnvironment, ( localize(5653, 'Configure icon to select a kernel in notebook editors.')));
|
|
5
|
+
const executeIcon = registerIcon('notebook-execute', Codicon.play, ( localize(5654, 'Icon to execute in notebook editors.')));
|
|
6
|
+
const executeAboveIcon = registerIcon('notebook-execute-above', Codicon.runAbove, ( localize(5655, 'Icon to execute above cells in notebook editors.')));
|
|
7
|
+
const executeBelowIcon = registerIcon('notebook-execute-below', Codicon.runBelow, ( localize(5656, 'Icon to execute below cells in notebook editors.')));
|
|
8
|
+
const stopIcon = registerIcon('notebook-stop', Codicon.primitiveSquare, ( localize(5657, 'Icon to stop an execution in notebook editors.')));
|
|
9
|
+
const deleteCellIcon = registerIcon('notebook-delete-cell', Codicon.trash, ( localize(5658, 'Icon to delete a cell in notebook editors.')));
|
|
10
|
+
const executeAllIcon = registerIcon('notebook-execute-all', Codicon.runAll, ( localize(5659, 'Icon to execute all cells in notebook editors.')));
|
|
11
|
+
const editIcon = registerIcon('notebook-edit', Codicon.pencil, ( localize(5660, 'Icon to edit a cell in notebook editors.')));
|
|
12
|
+
const stopEditIcon = registerIcon('notebook-stop-edit', Codicon.check, ( localize(5661, 'Icon to stop editing a cell in notebook editors.')));
|
|
13
|
+
const moveUpIcon = registerIcon('notebook-move-up', Codicon.arrowUp, ( localize(5662, 'Icon to move up a cell in notebook editors.')));
|
|
14
|
+
const moveDownIcon = registerIcon('notebook-move-down', Codicon.arrowDown, ( localize(5663, 'Icon to move down a cell in notebook editors.')));
|
|
15
|
+
const clearIcon = registerIcon('notebook-clear', Codicon.clearAll, ( localize(5664, 'Icon to clear cell outputs in notebook editors.')));
|
|
16
|
+
const splitCellIcon = registerIcon('notebook-split-cell', Codicon.splitVertical, ( localize(5665, 'Icon to split a cell in notebook editors.')));
|
|
17
|
+
const successStateIcon = registerIcon('notebook-state-success', Codicon.check, ( localize(5666, 'Icon to indicate a success state in notebook editors.')));
|
|
18
|
+
const errorStateIcon = registerIcon('notebook-state-error', Codicon.error, ( localize(5667, 'Icon to indicate an error state in notebook editors.')));
|
|
19
|
+
const pendingStateIcon = registerIcon('notebook-state-pending', Codicon.clock, ( localize(5668, 'Icon to indicate a pending state in notebook editors.')));
|
|
20
|
+
const executingStateIcon = registerIcon('notebook-state-executing', Codicon.sync, ( localize(5669, 'Icon to indicate an executing state in notebook editors.')));
|
|
21
|
+
const collapsedIcon = registerIcon('notebook-collapsed', Codicon.chevronRight, ( localize(5670, 'Icon to annotate a collapsed section in notebook editors.')));
|
|
22
|
+
const expandedIcon = registerIcon('notebook-expanded', Codicon.chevronDown, ( localize(5671, 'Icon to annotate an expanded section in notebook editors.')));
|
|
23
|
+
const openAsTextIcon = registerIcon('notebook-open-as-text', Codicon.fileCode, ( localize(5672, 'Icon to open the notebook in a text editor.')));
|
|
24
|
+
const revertIcon = registerIcon('notebook-revert', Codicon.discard, ( localize(5673, 'Icon to revert in notebook editors.')));
|
|
25
|
+
const toggleWhitespace = registerIcon('notebook-diff-cell-toggle-whitespace', Codicon.whitespace, ( localize(5674, 'Icon for the toggle whitespace action in the diff editor.')));
|
|
26
|
+
const renderOutputIcon = registerIcon('notebook-render-output', Codicon.preview, ( localize(5675, 'Icon to render output in diff editor.')));
|
|
27
|
+
const mimetypeIcon = registerIcon('notebook-mimetype', Codicon.code, ( localize(5676, 'Icon for a mime type in notebook editors.')));
|
|
28
|
+
const copyIcon = registerIcon('notebook-copy', Codicon.copy, ( localize(5677, 'Icon to copy content to clipboard')));
|
|
29
|
+
const previousChangeIcon = registerIcon('notebook-diff-editor-previous-change', Codicon.arrowUp, ( localize(5678, 'Icon for the previous change action in the diff editor.')));
|
|
30
|
+
const nextChangeIcon = registerIcon('notebook-diff-editor-next-change', Codicon.arrowDown, ( localize(5679, 'Icon for the next change action in the diff editor.')));
|
|
31
|
+
const variablesViewIcon = registerIcon('variables-view-icon', Codicon.debugAlt, ( localize(5680, 'View icon of the variables view.')));
|
|
32
32
|
export { clearIcon, collapsedIcon, copyIcon, deleteCellIcon, editIcon, errorStateIcon, executeAboveIcon, executeAllIcon, executeBelowIcon, executeIcon, executingStateIcon, expandedIcon, mimetypeIcon, moveDownIcon, moveUpIcon, nextChangeIcon, openAsTextIcon, pendingStateIcon, previousChangeIcon, renderOutputIcon, revertIcon, selectKernelIcon, splitCellIcon, stopEditIcon, stopIcon, successStateIcon, toggleWhitespace, variablesViewIcon };
|
|
@@ -183,9 +183,9 @@ let BackLayerWebView = class BackLayerWebView extends Themable {
|
|
|
183
183
|
'notebook-cell-output-line-height': `${this.options.outputLineHeight}px`,
|
|
184
184
|
'notebook-cell-output-max-height': `${this.options.outputLineHeight * this.options.outputLineLimit + 2}px`,
|
|
185
185
|
'notebook-cell-output-font-family': this.options.outputFontFamily || this.options.fontFamily,
|
|
186
|
-
'notebook-cell-markup-empty-content': ( localize(
|
|
187
|
-
'notebook-cell-renderer-not-found-error': ( localize(
|
|
188
|
-
'notebook-cell-renderer-fallbacks-exhausted': ( localize(
|
|
186
|
+
'notebook-cell-markup-empty-content': ( localize(10842, "Empty markdown cell, double-click or press enter to edit.")),
|
|
187
|
+
'notebook-cell-renderer-not-found-error': ( localize(10843, "No renderer found for '$0'")),
|
|
188
|
+
'notebook-cell-renderer-fallbacks-exhausted': ( localize(10844, "Could not render content for '$0'")),
|
|
189
189
|
};
|
|
190
190
|
}
|
|
191
191
|
generateContent(baseUrl) {
|
|
@@ -985,7 +985,7 @@ let BackLayerWebView = class BackLayerWebView extends Themable {
|
|
|
985
985
|
this.localResourceRootsCache = this._getResourceRootsCache();
|
|
986
986
|
const webview = webviewService.createWebviewElement({
|
|
987
987
|
origin: BackLayerWebView_1.getOriginStore(this.storageService).getOrigin(this.notebookViewType, undefined),
|
|
988
|
-
title: ( localize(
|
|
988
|
+
title: ( localize(10845, "Notebook webview content")),
|
|
989
989
|
options: {
|
|
990
990
|
purpose: "notebookRenderer" ,
|
|
991
991
|
enableFindWidget: false,
|
|
@@ -229,7 +229,7 @@ let CodeCellRenderer = class CodeCellRenderer extends AbstractCellRenderer {
|
|
|
229
229
|
const cellInputCollapsedContainer = append(cellContainer, $('.input-collapse-container'));
|
|
230
230
|
cellInputCollapsedContainer.style.display = 'none';
|
|
231
231
|
const executionOrderLabel = append(focusIndicatorLeft.domNode, $('div.execution-count-label'));
|
|
232
|
-
executionOrderLabel.title = ( localize(
|
|
232
|
+
executionOrderLabel.title = ( localize(10846, 'Execution Order'));
|
|
233
233
|
const editorPart = append(cellContainer, $('.cell-editor-part'));
|
|
234
234
|
const editorContainer = append(editorPart, $('.cell-editor-container'));
|
|
235
235
|
const cellCommentPartContainer = append(container, $('.cell-comment-container'));
|
|
@@ -5,8 +5,8 @@ import { deepClone } from '../../../../base/common/objects.js';
|
|
|
5
5
|
import { RawContextKey } from '../../../../platform/contextkey/common/contextkey.js';
|
|
6
6
|
import { TaskDefinitionRegistry } from './taskDefinitionRegistry.js';
|
|
7
7
|
const USER_TASKS_GROUP_KEY = 'settings';
|
|
8
|
-
const TASK_RUNNING_STATE = ( (new RawContextKey('taskRunning', false, ( localize(
|
|
9
|
-
const TASKS_CATEGORY = ( localize2(
|
|
8
|
+
const TASK_RUNNING_STATE = ( (new RawContextKey('taskRunning', false, ( localize(4130, "Whether a task is currently running.")))));
|
|
9
|
+
const TASKS_CATEGORY = ( localize2(4131, "Tasks"));
|
|
10
10
|
var ShellQuoting;
|
|
11
11
|
( ((function(ShellQuoting) {
|
|
12
12
|
ShellQuoting[ShellQuoting["Escape"] = 1] = "Escape";
|
|
@@ -704,7 +704,7 @@ var TaskDefinition;
|
|
|
704
704
|
break;
|
|
705
705
|
default:
|
|
706
706
|
reporter.error(( localize(
|
|
707
|
-
|
|
707
|
+
4132,
|
|
708
708
|
'Error: the task identifier \'{0}\' is missing the required property \'{1}\'. The task identifier will be ignored.',
|
|
709
709
|
JSON.stringify(external, undefined, 0),
|
|
710
710
|
property
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { localize } from '../../../../nls.js';
|
|
2
2
|
import { RawContextKey } from '../../../../platform/contextkey/common/contextkey.js';
|
|
3
3
|
const WorkspaceTrustContext = {
|
|
4
|
-
IsEnabled: ( (new RawContextKey('isWorkspaceTrustEnabled', false, ( localize(
|
|
5
|
-
IsTrusted: ( (new RawContextKey('isWorkspaceTrusted', false, ( localize(
|
|
4
|
+
IsEnabled: ( (new RawContextKey('isWorkspaceTrustEnabled', false, ( localize(6332, "Whether the workspace trust feature is enabled."))))),
|
|
5
|
+
IsTrusted: ( (new RawContextKey('isWorkspaceTrusted', false, ( localize(6333, "Whether the current workspace has been trusted by the user.")))))
|
|
6
6
|
};
|
|
7
7
|
const MANAGE_TRUST_COMMAND_ID = 'workbench.trust.manage';
|
|
8
8
|
export { MANAGE_TRUST_COMMAND_ID, WorkspaceTrustContext };
|
|
@@ -44,8 +44,8 @@ class WarningBadge extends IconBadge {
|
|
|
44
44
|
}));
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
const activityWarningBadgeForeground = registerColor('activityWarningBadge.foreground', { dark: ( (Color.black.lighten(0.2))), light: Color.white, hcDark: null, hcLight: ( (Color.black.lighten(0.2))) }, ( localize(
|
|
48
|
-
const activityWarningBadgeBackground = registerColor('activityWarningBadge.background', { dark: '#CCA700', light: '#BF8803', hcDark: null, hcLight: '#CCA700' }, ( localize(
|
|
49
|
-
registerColor('activityErrorBadge.foreground', { dark: ( (Color.black.lighten(0.2))), light: Color.white, hcDark: null, hcLight: ( (Color.black.lighten(0.2))) }, ( localize(
|
|
50
|
-
registerColor('activityErrorBadge.background', { dark: '#F14C4C', light: '#E51400', hcDark: null, hcLight: '#F14C4C' }, ( localize(
|
|
47
|
+
const activityWarningBadgeForeground = registerColor('activityWarningBadge.foreground', { dark: ( (Color.black.lighten(0.2))), light: Color.white, hcDark: null, hcLight: ( (Color.black.lighten(0.2))) }, ( localize(5305, 'Foreground color of the warning activity badge')));
|
|
48
|
+
const activityWarningBadgeBackground = registerColor('activityWarningBadge.background', { dark: '#CCA700', light: '#BF8803', hcDark: null, hcLight: '#CCA700' }, ( localize(5306, 'Background color of the warning activity badge')));
|
|
49
|
+
registerColor('activityErrorBadge.foreground', { dark: ( (Color.black.lighten(0.2))), light: Color.white, hcDark: null, hcLight: ( (Color.black.lighten(0.2))) }, ( localize(5307, 'Foreground color of the error activity badge')));
|
|
50
|
+
registerColor('activityErrorBadge.background', { dark: '#F14C4C', light: '#E51400', hcDark: null, hcLight: '#F14C4C' }, ( localize(5308, 'Background color of the error activity badge')));
|
|
51
51
|
export { IconBadge, NumberBadge, ProgressBadge, WarningBadge };
|
|
@@ -69,14 +69,14 @@ let AuthenticationService = class AuthenticationService extends Disposable {
|
|
|
69
69
|
}
|
|
70
70
|
registerDeclaredAuthenticationProvider(provider) {
|
|
71
71
|
if (isFalsyOrWhitespace(provider.id)) {
|
|
72
|
-
throw ( new Error(localize(
|
|
72
|
+
throw ( new Error(localize(2250, 'An authentication contribution must specify an id.')));
|
|
73
73
|
}
|
|
74
74
|
if (isFalsyOrWhitespace(provider.label)) {
|
|
75
|
-
throw ( new Error(localize(
|
|
75
|
+
throw ( new Error(localize(2251, 'An authentication contribution must specify a label.')));
|
|
76
76
|
}
|
|
77
77
|
if (( this.declaredProviders.some(p => p.id === provider.id))) {
|
|
78
78
|
throw ( new Error(localize(
|
|
79
|
-
|
|
79
|
+
2252,
|
|
80
80
|
"This authentication id '{0}' has already been registered",
|
|
81
81
|
provider.id
|
|
82
82
|
)));
|
|
@@ -14,7 +14,7 @@ const editorAssociationsConfigurationNode = {
|
|
|
14
14
|
'workbench.editorAssociations': {
|
|
15
15
|
type: 'object',
|
|
16
16
|
markdownDescription: ( localize(
|
|
17
|
-
|
|
17
|
+
5681,
|
|
18
18
|
"Configure [glob patterns](https://aka.ms/vscode-glob-patterns) to editors (for example `\"*.hex\": \"hexEditor.hexedit\"`). These have precedence over the default behavior."
|
|
19
19
|
)),
|
|
20
20
|
additionalProperties: {
|
|
@@ -69,8 +69,8 @@ let WorkspaceExtensionsConfigService = class WorkspaceExtensionsConfigService ex
|
|
|
69
69
|
const recommendedWorksapceFolders = workspace.folders.filter(workspaceFolder => workspaceFolderExtensionsConfigContents.get(workspaceFolder.uri)?.recommendations?.some(r => r.toLowerCase() === extensionId));
|
|
70
70
|
const isRecommended = isWorkspaceRecommended || recommendedWorksapceFolders.length > 0;
|
|
71
71
|
const workspaceOrFolders = isRecommended
|
|
72
|
-
? await this.pickWorkspaceOrFolders(recommendedWorksapceFolders, isWorkspaceRecommended ? workspace : undefined, ( localize(
|
|
73
|
-
: await this.pickWorkspaceOrFolders(workspace.folders, workspace.configuration ? workspace : undefined, ( localize(
|
|
72
|
+
? await this.pickWorkspaceOrFolders(recommendedWorksapceFolders, isWorkspaceRecommended ? workspace : undefined, ( localize(3925, "Remove extension recommendation from")))
|
|
73
|
+
: await this.pickWorkspaceOrFolders(workspace.folders, workspace.configuration ? workspace : undefined, ( localize(3926, "Add extension recommendation to")));
|
|
74
74
|
for (const workspaceOrWorkspaceFolder of workspaceOrFolders) {
|
|
75
75
|
if (isWorkspace(workspaceOrWorkspaceFolder)) {
|
|
76
76
|
await this.addOrRemoveWorkspaceRecommendation(extensionId, workspaceOrWorkspaceFolder, workspaceExtensionsConfigContent, !isRecommended);
|
|
@@ -92,8 +92,8 @@ let WorkspaceExtensionsConfigService = class WorkspaceExtensionsConfigService ex
|
|
|
92
92
|
const unWantedWorksapceFolders = workspace.folders.filter(workspaceFolder => workspaceFolderExtensionsConfigContents.get(workspaceFolder.uri)?.unwantedRecommendations?.some(r => r === extensionId));
|
|
93
93
|
const isUnwanted = isWorkspaceUnwanted || unWantedWorksapceFolders.length > 0;
|
|
94
94
|
const workspaceOrFolders = isUnwanted
|
|
95
|
-
? await this.pickWorkspaceOrFolders(unWantedWorksapceFolders, isWorkspaceUnwanted ? workspace : undefined, ( localize(
|
|
96
|
-
: await this.pickWorkspaceOrFolders(workspace.folders, workspace.configuration ? workspace : undefined, ( localize(
|
|
95
|
+
? await this.pickWorkspaceOrFolders(unWantedWorksapceFolders, isWorkspaceUnwanted ? workspace : undefined, ( localize(3925, "Remove extension recommendation from")))
|
|
96
|
+
: await this.pickWorkspaceOrFolders(workspace.folders, workspace.configuration ? workspace : undefined, ( localize(3926, "Add extension recommendation to")));
|
|
97
97
|
for (const workspaceOrWorkspaceFolder of workspaceOrFolders) {
|
|
98
98
|
if (isWorkspace(workspaceOrWorkspaceFolder)) {
|
|
99
99
|
await this.addOrRemoveWorkspaceUnwantedRecommendation(extensionId, workspaceOrWorkspaceFolder, workspaceExtensionsConfigContent, !isUnwanted);
|
|
@@ -220,7 +220,7 @@ let WorkspaceExtensionsConfigService = class WorkspaceExtensionsConfigService ex
|
|
|
220
220
|
const folderPicks = ( (workspaceFolders.map(workspaceFolder => {
|
|
221
221
|
return {
|
|
222
222
|
label: workspaceFolder.name,
|
|
223
|
-
description: ( localize(
|
|
223
|
+
description: ( localize(3927, "Workspace Folder")),
|
|
224
224
|
workspaceOrFolder: workspaceFolder,
|
|
225
225
|
iconClasses: getIconClasses(this.modelService, this.languageService, workspaceFolder.uri, FileKind.ROOT_FOLDER)
|
|
226
226
|
};
|
|
@@ -228,7 +228,7 @@ let WorkspaceExtensionsConfigService = class WorkspaceExtensionsConfigService ex
|
|
|
228
228
|
if (workspace) {
|
|
229
229
|
folderPicks.push({ type: 'separator' });
|
|
230
230
|
folderPicks.push({
|
|
231
|
-
label: ( localize(
|
|
231
|
+
label: ( localize(3928, "Workspace")),
|
|
232
232
|
workspaceOrFolder: workspace,
|
|
233
233
|
});
|
|
234
234
|
}
|