@codingame/monaco-vscode-api 10.0.0 → 10.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/api.js +1 -1
- package/missing-services.js +2 -2
- package/package.json +8 -8
- package/services.js +2 -2
- package/vscode/src/vs/base/browser/ui/button/button.js +1 -1
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +6 -6
- 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/keybindingLabel/keybindingLabel.js +1 -1
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- 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/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- 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/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- 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/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -2
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- 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/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +11 -11
- 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/editorGroupView.js +7 -7
- 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/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/notifications/notificationsViewer.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCodeCitationContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatToolInvocationPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDragAndDrop.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditingService.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImagePaste.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInlineAnchorWidget.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputCompletions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +21 -21
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +15 -15
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +4 -4
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- 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/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/browser/extensionsIcons.js +24 -24
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +33 -33
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +52 -52
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +19 -19
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +41 -41
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +29 -29
- 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/cellStatusBar/executionStatusBarItemController.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +2 -2
- 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/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +15 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +12 -12
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +23 -23
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +13 -13
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +7 -7
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
- 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/common/preferencesEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- 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/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +17 -17
|
@@ -19,7 +19,7 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
19
19
|
properties: {
|
|
20
20
|
["inlineChat.mode" ]: {
|
|
21
21
|
description: ( localize(
|
|
22
|
-
|
|
22
|
+
7227,
|
|
23
23
|
"Configure if changes crafted with inline chat are applied directly to the document or are previewed first."
|
|
24
24
|
)),
|
|
25
25
|
default: "live" ,
|
|
@@ -27,11 +27,11 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
27
27
|
enum: ["live" , "preview" ],
|
|
28
28
|
markdownEnumDescriptions: [
|
|
29
29
|
( localize(
|
|
30
|
-
|
|
30
|
+
7228,
|
|
31
31
|
"Changes are applied directly to the document, can be highlighted via inline diffs, and accepted/discarded by hunks. Ending a session will keep the changes."
|
|
32
32
|
)),
|
|
33
33
|
( localize(
|
|
34
|
-
|
|
34
|
+
7229,
|
|
35
35
|
"Changes are previewed only and need to be accepted via the apply button. Ending a session will discard the changes."
|
|
36
36
|
)),
|
|
37
37
|
],
|
|
@@ -39,20 +39,20 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
39
39
|
},
|
|
40
40
|
["inlineChat.finishOnType" ]: {
|
|
41
41
|
description: ( localize(
|
|
42
|
-
|
|
42
|
+
7230,
|
|
43
43
|
"Whether to finish an inline chat session when typing outside of changed regions."
|
|
44
44
|
)),
|
|
45
45
|
default: false,
|
|
46
46
|
type: 'boolean'
|
|
47
47
|
},
|
|
48
48
|
["inlineChat.acceptedOrDiscardBeforeSave" ]: {
|
|
49
|
-
description: ( localize(
|
|
49
|
+
description: ( localize(7231, "Whether pending inline chat sessions prevent saving.")),
|
|
50
50
|
default: true,
|
|
51
51
|
type: 'boolean'
|
|
52
52
|
},
|
|
53
53
|
["inlineChat.holdToSpeech" ]: {
|
|
54
54
|
description: ( localize(
|
|
55
|
-
|
|
55
|
+
7232,
|
|
56
56
|
"Whether holding the inline chat keybinding will automatically enable speech recognition."
|
|
57
57
|
)),
|
|
58
58
|
default: true,
|
|
@@ -60,7 +60,7 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
60
60
|
},
|
|
61
61
|
["inlineChat.accessibleDiffView" ]: {
|
|
62
62
|
description: ( localize(
|
|
63
|
-
|
|
63
|
+
7233,
|
|
64
64
|
"Whether the inline chat also renders an accessible diff viewer for its changes."
|
|
65
65
|
)),
|
|
66
66
|
default: 'auto',
|
|
@@ -68,16 +68,16 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
68
68
|
enum: ['auto', 'on', 'off'],
|
|
69
69
|
markdownEnumDescriptions: [
|
|
70
70
|
( localize(
|
|
71
|
-
|
|
71
|
+
7234,
|
|
72
72
|
"The accessible diff viewer is based on screen reader mode being enabled."
|
|
73
73
|
)),
|
|
74
|
-
( localize(
|
|
75
|
-
( localize(
|
|
74
|
+
( localize(7235, "The accessible diff viewer is always enabled.")),
|
|
75
|
+
( localize(7236, "The accessible diff viewer is never enabled.")),
|
|
76
76
|
],
|
|
77
77
|
},
|
|
78
78
|
["inlineChat.experimental.enableZoneToolbar" ]: {
|
|
79
79
|
description: ( localize(
|
|
80
|
-
|
|
80
|
+
7237,
|
|
81
81
|
"Whether to show a toolbar to accept or reject changes in the inline chat changes view."
|
|
82
82
|
)),
|
|
83
83
|
default: false,
|
|
@@ -88,42 +88,42 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
88
88
|
});
|
|
89
89
|
const INLINE_CHAT_ID = 'interactiveEditor';
|
|
90
90
|
const CTX_INLINE_CHAT_POSSIBLE = ( (new RawContextKey('inlineChatPossible', false, ( localize(
|
|
91
|
-
|
|
91
|
+
7238,
|
|
92
92
|
"Whether a provider for inline chat exists and whether an editor for inline chat is open"
|
|
93
93
|
)))));
|
|
94
|
-
const CTX_INLINE_CHAT_HAS_AGENT = ( (new RawContextKey('inlineChatHasProvider', false, ( localize(
|
|
95
|
-
const CTX_INLINE_CHAT_VISIBLE = ( (new RawContextKey('inlineChatVisible', false, ( localize(
|
|
96
|
-
const CTX_INLINE_CHAT_FOCUSED = ( (new RawContextKey('inlineChatFocused', false, ( localize(
|
|
94
|
+
const CTX_INLINE_CHAT_HAS_AGENT = ( (new RawContextKey('inlineChatHasProvider', false, ( localize(7239, "Whether a provider for interactive editors exists")))));
|
|
95
|
+
const CTX_INLINE_CHAT_VISIBLE = ( (new RawContextKey('inlineChatVisible', false, ( localize(7240, "Whether the interactive editor input is visible")))));
|
|
96
|
+
const CTX_INLINE_CHAT_FOCUSED = ( (new RawContextKey('inlineChatFocused', false, ( localize(7241, "Whether the interactive editor input is focused")))));
|
|
97
97
|
const CTX_INLINE_CHAT_EDITING = ( (new RawContextKey('inlineChatEditing', true, ( localize(
|
|
98
|
-
|
|
98
|
+
7242,
|
|
99
99
|
"Whether the user is currently editing or generating code in the inline chat"
|
|
100
100
|
)))));
|
|
101
|
-
const CTX_INLINE_CHAT_RESPONSE_FOCUSED = ( (new RawContextKey('inlineChatResponseFocused', false, ( localize(
|
|
102
|
-
const CTX_INLINE_CHAT_EMPTY = ( (new RawContextKey('inlineChatEmpty', false, ( localize(
|
|
101
|
+
const CTX_INLINE_CHAT_RESPONSE_FOCUSED = ( (new RawContextKey('inlineChatResponseFocused', false, ( localize(7243, "Whether the interactive widget's response is focused")))));
|
|
102
|
+
const CTX_INLINE_CHAT_EMPTY = ( (new RawContextKey('inlineChatEmpty', false, ( localize(7244, "Whether the interactive editor input is empty")))));
|
|
103
103
|
const CTX_INLINE_CHAT_INNER_CURSOR_FIRST = ( (new RawContextKey('inlineChatInnerCursorFirst', false, ( localize(
|
|
104
|
-
|
|
104
|
+
7245,
|
|
105
105
|
"Whether the cursor of the iteractive editor input is on the first line"
|
|
106
106
|
)))));
|
|
107
107
|
const CTX_INLINE_CHAT_INNER_CURSOR_LAST = ( (new RawContextKey('inlineChatInnerCursorLast', false, ( localize(
|
|
108
|
-
|
|
108
|
+
7246,
|
|
109
109
|
"Whether the cursor of the iteractive editor input is on the last line"
|
|
110
110
|
)))));
|
|
111
111
|
const CTX_INLINE_CHAT_OUTER_CURSOR_POSITION = ( (new RawContextKey('inlineChatOuterCursorPosition', '', ( localize(
|
|
112
|
-
|
|
112
|
+
7249,
|
|
113
113
|
"Whether the cursor of the outer editor is above or below the interactive editor input"
|
|
114
114
|
)))));
|
|
115
|
-
const CTX_INLINE_CHAT_HAS_STASHED_SESSION = ( (new RawContextKey('inlineChatHasStashedSession', false, ( localize(
|
|
116
|
-
const CTX_INLINE_CHAT_USER_DID_EDIT = ( (new RawContextKey('inlineChatUserDidEdit', undefined, ( localize(
|
|
117
|
-
const CTX_INLINE_CHAT_DOCUMENT_CHANGED = ( (new RawContextKey('inlineChatDocumentChanged', false, ( localize(
|
|
118
|
-
const CTX_INLINE_CHAT_CHANGE_HAS_DIFF = ( (new RawContextKey('inlineChatChangeHasDiff', false, ( localize(
|
|
119
|
-
const CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF = ( (new RawContextKey('inlineChatChangeShowsDiff', false, ( localize(
|
|
115
|
+
const CTX_INLINE_CHAT_HAS_STASHED_SESSION = ( (new RawContextKey('inlineChatHasStashedSession', false, ( localize(7250, "Whether interactive editor has kept a session for quick restore")))));
|
|
116
|
+
const CTX_INLINE_CHAT_USER_DID_EDIT = ( (new RawContextKey('inlineChatUserDidEdit', undefined, ( localize(7251, "Whether the user did changes ontop of the inline chat")))));
|
|
117
|
+
const CTX_INLINE_CHAT_DOCUMENT_CHANGED = ( (new RawContextKey('inlineChatDocumentChanged', false, ( localize(7252, "Whether the document has changed concurrently")))));
|
|
118
|
+
const CTX_INLINE_CHAT_CHANGE_HAS_DIFF = ( (new RawContextKey('inlineChatChangeHasDiff', false, ( localize(7253, "Whether the current change supports showing a diff")))));
|
|
119
|
+
const CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF = ( (new RawContextKey('inlineChatChangeShowsDiff', false, ( localize(7254, "Whether the current change showing a diff")))));
|
|
120
120
|
const CTX_INLINE_CHAT_EDIT_MODE = ( (new RawContextKey('config.inlineChat.mode', "live" )));
|
|
121
|
-
const CTX_INLINE_CHAT_REQUEST_IN_PROGRESS = ( (new RawContextKey('inlineChatRequestInProgress', false, ( localize(
|
|
121
|
+
const CTX_INLINE_CHAT_REQUEST_IN_PROGRESS = ( (new RawContextKey('inlineChatRequestInProgress', false, ( localize(7255, "Whether an inline chat request is currently in progress")))));
|
|
122
122
|
const CTX_INLINE_CHAT_RESPONSE_TYPE = ( (new RawContextKey(
|
|
123
123
|
'inlineChatResponseType',
|
|
124
124
|
"none" ,
|
|
125
125
|
( localize(
|
|
126
|
-
|
|
126
|
+
7256,
|
|
127
127
|
"What type was the responses have been receieved, nothing yet, just messages, or messaged and local edits"
|
|
128
128
|
))
|
|
129
129
|
)));
|
|
@@ -136,17 +136,17 @@ const ACTION_REPORT_ISSUE = 'inlineChat.reportIssue';
|
|
|
136
136
|
const MENU_INLINE_CHAT_WIDGET_STATUS = MenuId.for('inlineChatWidget.status');
|
|
137
137
|
const MENU_INLINE_CHAT_WIDGET_SECONDARY = MenuId.for('inlineChatWidget.secondary');
|
|
138
138
|
const MENU_INLINE_CHAT_ZONE = MenuId.for('inlineChatWidget.changesZone');
|
|
139
|
-
const inlineChatForeground = registerColor('inlineChat.foreground', editorWidgetForeground, ( localize(
|
|
140
|
-
const inlineChatBackground = registerColor('inlineChat.background', editorWidgetBackground, ( localize(
|
|
141
|
-
registerColor('inlineChat.border', editorWidgetBorder, ( localize(
|
|
142
|
-
registerColor('inlineChat.shadow', widgetShadow, ( localize(
|
|
143
|
-
registerColor('inlineChatInput.border', editorWidgetBorder, ( localize(
|
|
144
|
-
registerColor('inlineChatInput.focusBorder', focusBorder, ( localize(
|
|
145
|
-
registerColor('inlineChatInput.placeholderForeground', inputPlaceholderForeground, ( localize(
|
|
146
|
-
registerColor('inlineChatInput.background', inputBackground, ( localize(
|
|
147
|
-
registerColor('inlineChatDiff.inserted', ( (transparent(diffInserted, .5))), ( localize(
|
|
148
|
-
const overviewRulerInlineChatDiffInserted = registerColor('editorOverviewRuler.inlineChatInserted', { dark: ( (transparent(diffInserted, 0.6))), light: ( (transparent(diffInserted, 0.8))), hcDark: ( (transparent(diffInserted, 0.6))), hcLight: ( (transparent(diffInserted, 0.8))) }, ( localize(
|
|
149
|
-
const minimapInlineChatDiffInserted = registerColor('editorOverviewRuler.inlineChatInserted', { dark: ( (transparent(diffInserted, 0.6))), light: ( (transparent(diffInserted, 0.8))), hcDark: ( (transparent(diffInserted, 0.6))), hcLight: ( (transparent(diffInserted, 0.8))) }, ( localize(
|
|
150
|
-
registerColor('inlineChatDiff.removed', ( (transparent(diffRemoved, .5))), ( localize(
|
|
151
|
-
registerColor('editorOverviewRuler.inlineChatRemoved', { dark: ( (transparent(diffRemoved, 0.6))), light: ( (transparent(diffRemoved, 0.8))), hcDark: ( (transparent(diffRemoved, 0.6))), hcLight: ( (transparent(diffRemoved, 0.8))) }, ( localize(
|
|
139
|
+
const inlineChatForeground = registerColor('inlineChat.foreground', editorWidgetForeground, ( localize(7257, "Foreground color of the interactive editor widget")));
|
|
140
|
+
const inlineChatBackground = registerColor('inlineChat.background', editorWidgetBackground, ( localize(7258, "Background color of the interactive editor widget")));
|
|
141
|
+
registerColor('inlineChat.border', editorWidgetBorder, ( localize(7259, "Border color of the interactive editor widget")));
|
|
142
|
+
registerColor('inlineChat.shadow', widgetShadow, ( localize(7260, "Shadow color of the interactive editor widget")));
|
|
143
|
+
registerColor('inlineChatInput.border', editorWidgetBorder, ( localize(7261, "Border color of the interactive editor input")));
|
|
144
|
+
registerColor('inlineChatInput.focusBorder', focusBorder, ( localize(7262, "Border color of the interactive editor input when focused")));
|
|
145
|
+
registerColor('inlineChatInput.placeholderForeground', inputPlaceholderForeground, ( localize(7263, "Foreground color of the interactive editor input placeholder")));
|
|
146
|
+
registerColor('inlineChatInput.background', inputBackground, ( localize(7264, "Background color of the interactive editor input")));
|
|
147
|
+
registerColor('inlineChatDiff.inserted', ( (transparent(diffInserted, .5))), ( localize(7265, "Background color of inserted text in the interactive editor input")));
|
|
148
|
+
const overviewRulerInlineChatDiffInserted = registerColor('editorOverviewRuler.inlineChatInserted', { dark: ( (transparent(diffInserted, 0.6))), light: ( (transparent(diffInserted, 0.8))), hcDark: ( (transparent(diffInserted, 0.6))), hcLight: ( (transparent(diffInserted, 0.8))) }, ( localize(7266, 'Overview ruler marker color for inline chat inserted content.')));
|
|
149
|
+
const minimapInlineChatDiffInserted = registerColor('editorOverviewRuler.inlineChatInserted', { dark: ( (transparent(diffInserted, 0.6))), light: ( (transparent(diffInserted, 0.8))), hcDark: ( (transparent(diffInserted, 0.6))), hcLight: ( (transparent(diffInserted, 0.8))) }, ( localize(7266, 'Overview ruler marker color for inline chat inserted content.')));
|
|
150
|
+
registerColor('inlineChatDiff.removed', ( (transparent(diffRemoved, .5))), ( localize(7267, "Background color of removed text in the interactive editor input")));
|
|
151
|
+
registerColor('editorOverviewRuler.inlineChatRemoved', { dark: ( (transparent(diffRemoved, 0.6))), light: ( (transparent(diffRemoved, 0.8))), hcDark: ( (transparent(diffRemoved, 0.6))), hcLight: ( (transparent(diffRemoved, 0.8))) }, ( localize(7268, 'Overview ruler marker color for inline chat removed content.')));
|
|
152
152
|
export { ACTION_ACCEPT_CHANGES, ACTION_DISCARD_CHANGES, ACTION_REGENERATE_RESPONSE, ACTION_REPORT_ISSUE, ACTION_TOGGLE_DIFF, ACTION_VIEW_IN_CHAT, CTX_INLINE_CHAT_CHANGE_HAS_DIFF, CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF, CTX_INLINE_CHAT_DOCUMENT_CHANGED, CTX_INLINE_CHAT_EDITING, CTX_INLINE_CHAT_EDIT_MODE, CTX_INLINE_CHAT_EMPTY, CTX_INLINE_CHAT_FOCUSED, CTX_INLINE_CHAT_HAS_AGENT, CTX_INLINE_CHAT_HAS_STASHED_SESSION, CTX_INLINE_CHAT_INNER_CURSOR_FIRST, CTX_INLINE_CHAT_INNER_CURSOR_LAST, CTX_INLINE_CHAT_OUTER_CURSOR_POSITION, CTX_INLINE_CHAT_POSSIBLE, CTX_INLINE_CHAT_REQUEST_IN_PROGRESS, CTX_INLINE_CHAT_RESPONSE_FOCUSED, CTX_INLINE_CHAT_RESPONSE_TYPE, CTX_INLINE_CHAT_USER_DID_EDIT, CTX_INLINE_CHAT_VISIBLE, INLINE_CHAT_ID, MENU_INLINE_CHAT_WIDGET_SECONDARY, MENU_INLINE_CHAT_WIDGET_STATUS, MENU_INLINE_CHAT_ZONE, inlineChatBackground, inlineChatForeground, minimapInlineChatDiffInserted, overviewRulerInlineChatDiffInserted };
|
|
@@ -9,8 +9,8 @@ class ListResizeColumnAction extends Action2 {
|
|
|
9
9
|
constructor() {
|
|
10
10
|
super({
|
|
11
11
|
id: 'list.resizeColumn',
|
|
12
|
-
title: { value: ( localize(
|
|
13
|
-
category: { value: ( localize(
|
|
12
|
+
title: { value: ( localize(4556, "Resize Column")), original: 'Resize Column' },
|
|
13
|
+
category: { value: ( localize(4557, "List")), original: 'List' },
|
|
14
14
|
precondition: WorkbenchListFocusContextKey,
|
|
15
15
|
f1: true
|
|
16
16
|
});
|
|
@@ -15,14 +15,14 @@ let TableColumnResizeQuickPick = class TableColumnResizeQuickPick extends Dispos
|
|
|
15
15
|
items.push({ label, index });
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
const column = await this._quickInputService.pick(items, { placeHolder: ( localize(
|
|
18
|
+
const column = await this._quickInputService.pick(items, { placeHolder: ( localize(9897, "Select the column to resize, type to filter.")) });
|
|
19
19
|
if (!column) {
|
|
20
20
|
return;
|
|
21
21
|
}
|
|
22
22
|
const value = await this._quickInputService.input({
|
|
23
|
-
placeHolder: ( localize(
|
|
23
|
+
placeHolder: ( localize(9898, "i.e. 20, 60, 100...")),
|
|
24
24
|
prompt: ( localize(
|
|
25
|
-
|
|
25
|
+
9899,
|
|
26
26
|
"Please enter a width in percentage for the '{0}' column.",
|
|
27
27
|
column.label
|
|
28
28
|
)),
|
|
@@ -37,11 +37,11 @@ let TableColumnResizeQuickPick = class TableColumnResizeQuickPick extends Dispos
|
|
|
37
37
|
async _validateColumnResizeValue(input) {
|
|
38
38
|
const percentage = Number.parseInt(input);
|
|
39
39
|
if (input && !Number.isInteger(percentage)) {
|
|
40
|
-
return ( localize(
|
|
40
|
+
return ( localize(9900, "Please enter an integer."));
|
|
41
41
|
}
|
|
42
42
|
else if (percentage < 0 || percentage > 100) {
|
|
43
43
|
return ( localize(
|
|
44
|
-
|
|
44
|
+
9901,
|
|
45
45
|
"Please enter a number greater than 0 and less than or equal to 100."
|
|
46
46
|
));
|
|
47
47
|
}
|
|
@@ -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) {
|
|
@@ -106,12 +106,12 @@ let TempFileMergeEditorInputModel = class TempFileMergeEditorInputModel extends
|
|
|
106
106
|
const isMany = inputModels.length > 1;
|
|
107
107
|
const message = isMany
|
|
108
108
|
? ( localize(
|
|
109
|
-
|
|
109
|
+
10813,
|
|
110
110
|
'Do you want keep the merge result of {0} files?',
|
|
111
111
|
inputModels.length
|
|
112
112
|
))
|
|
113
113
|
: ( localize(
|
|
114
|
-
|
|
114
|
+
10814,
|
|
115
115
|
'Do you want keep the merge result of {0}?',
|
|
116
116
|
basename(inputModels[0].model.resultTextModel.uri)
|
|
117
117
|
));
|
|
@@ -119,12 +119,12 @@ let TempFileMergeEditorInputModel = class TempFileMergeEditorInputModel extends
|
|
|
119
119
|
const buttons = [
|
|
120
120
|
{
|
|
121
121
|
label: hasUnhandledConflicts ?
|
|
122
|
-
( localize(
|
|
123
|
-
( localize(
|
|
122
|
+
( localize(10815, "&&Save With Conflicts")) :
|
|
123
|
+
( localize(10816, "&&Save")),
|
|
124
124
|
run: () => 0
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
|
-
label: ( localize(
|
|
127
|
+
label: ( localize(10817, "Do&&n't Save")),
|
|
128
128
|
run: () => 1
|
|
129
129
|
}
|
|
130
130
|
];
|
|
@@ -134,16 +134,16 @@ let TempFileMergeEditorInputModel = class TempFileMergeEditorInputModel extends
|
|
|
134
134
|
detail: hasUnhandledConflicts
|
|
135
135
|
? isMany
|
|
136
136
|
? ( localize(
|
|
137
|
-
|
|
137
|
+
10818,
|
|
138
138
|
"The files contain unhandled conflicts. The merge results will be lost if you don't save them."
|
|
139
139
|
))
|
|
140
140
|
: ( localize(
|
|
141
|
-
|
|
141
|
+
10819,
|
|
142
142
|
"The file contains unhandled conflicts. The merge result will be lost if you don't save it."
|
|
143
143
|
))
|
|
144
144
|
: isMany
|
|
145
|
-
? ( localize(
|
|
146
|
-
: ( localize(
|
|
145
|
+
? ( localize(10820, "The merge results will be lost if you don't save them."))
|
|
146
|
+
: ( localize(10821, "The merge result will be lost if you don't save it.")),
|
|
147
147
|
buttons,
|
|
148
148
|
cancelButton: {
|
|
149
149
|
run: () => 2
|
|
@@ -168,12 +168,12 @@ let TempFileMergeEditorInputModel = class TempFileMergeEditorInputModel extends
|
|
|
168
168
|
}
|
|
169
169
|
(async () => {
|
|
170
170
|
const { confirmed } = await this.dialogService.confirm({
|
|
171
|
-
message: ( localize(
|
|
171
|
+
message: ( localize(10822, "Do you want to accept the merge result?")),
|
|
172
172
|
detail: ( localize(
|
|
173
|
-
|
|
173
|
+
10823,
|
|
174
174
|
"This will write the merge result to the original file and close the merge editor."
|
|
175
175
|
)),
|
|
176
|
-
primaryButton: ( localize(
|
|
176
|
+
primaryButton: ( localize(10824, '&&Accept Merge'))
|
|
177
177
|
});
|
|
178
178
|
if (confirmed) {
|
|
179
179
|
await this.accept();
|
|
@@ -198,7 +198,7 @@ let WorkspaceMergeEditorModeFactory = class WorkspaceMergeEditorModeFactory {
|
|
|
198
198
|
this._textModelService = _textModelService;
|
|
199
199
|
this.textFileService = textFileService;
|
|
200
200
|
}
|
|
201
|
-
static { this.FILE_SAVED_SOURCE = SaveSourceRegistry.registerSource('merge-editor.source', ( localize(
|
|
201
|
+
static { this.FILE_SAVED_SOURCE = SaveSourceRegistry.registerSource('merge-editor.source', ( localize(10825, "Before Resolving Conflicts In Merge Editor"))); }
|
|
202
202
|
async createInputModel(args) {
|
|
203
203
|
const store = ( (new DisposableStore()));
|
|
204
204
|
let resultTextFileModel = undefined;
|
|
@@ -308,12 +308,12 @@ let WorkspaceMergeEditorInputModel = class WorkspaceMergeEditorInputModel extend
|
|
|
308
308
|
if (someDirty) {
|
|
309
309
|
const message = isMany
|
|
310
310
|
? ( localize(
|
|
311
|
-
|
|
311
|
+
10826,
|
|
312
312
|
'Do you want to save the changes you made to {0} files?',
|
|
313
313
|
inputModels.length
|
|
314
314
|
))
|
|
315
315
|
: ( localize(
|
|
316
|
-
|
|
316
|
+
10827,
|
|
317
317
|
'Do you want to save the changes you made to {0}?',
|
|
318
318
|
basename(inputModels[0].resultUri)
|
|
319
319
|
));
|
|
@@ -323,25 +323,25 @@ let WorkspaceMergeEditorInputModel = class WorkspaceMergeEditorInputModel extend
|
|
|
323
323
|
detail: someUnhandledConflicts ?
|
|
324
324
|
isMany
|
|
325
325
|
? ( localize(
|
|
326
|
-
|
|
326
|
+
10828,
|
|
327
327
|
"The files contain unhandled conflicts. Your changes will be lost if you don't save them."
|
|
328
328
|
))
|
|
329
329
|
: ( localize(
|
|
330
|
-
|
|
330
|
+
10829,
|
|
331
331
|
"The file contains unhandled conflicts. Your changes will be lost if you don't save them."
|
|
332
332
|
))
|
|
333
333
|
: isMany
|
|
334
|
-
? ( localize(
|
|
335
|
-
: ( localize(
|
|
334
|
+
? ( localize(10830, "Your changes will be lost if you don't save them."))
|
|
335
|
+
: ( localize(10831, "Your changes will be lost if you don't save them.")),
|
|
336
336
|
buttons: [
|
|
337
337
|
{
|
|
338
338
|
label: someUnhandledConflicts
|
|
339
|
-
? ( localize(
|
|
340
|
-
: ( localize(
|
|
339
|
+
? ( localize(10832, '&&Save with Conflicts'))
|
|
340
|
+
: ( localize(10833, '&&Save')),
|
|
341
341
|
run: () => 0
|
|
342
342
|
},
|
|
343
343
|
{
|
|
344
|
-
label: ( localize(
|
|
344
|
+
label: ( localize(10834, "Do&&n't Save")),
|
|
345
345
|
run: () => 1
|
|
346
346
|
}
|
|
347
347
|
],
|
|
@@ -354,21 +354,21 @@ let WorkspaceMergeEditorInputModel = class WorkspaceMergeEditorInputModel extend
|
|
|
354
354
|
else if (someUnhandledConflicts && !this._storageService.getBoolean(StorageCloseWithConflicts, 0 , false)) {
|
|
355
355
|
const { confirmed, checkboxChecked } = await this._dialogService.confirm({
|
|
356
356
|
message: isMany
|
|
357
|
-
? ( localize(
|
|
357
|
+
? ( localize(10835, 'Do you want to close {0} merge editors?', inputModels.length))
|
|
358
358
|
: ( localize(
|
|
359
|
-
|
|
359
|
+
10836,
|
|
360
360
|
'Do you want to close the merge editor for {0}?',
|
|
361
361
|
basename(inputModels[0].resultUri)
|
|
362
362
|
)),
|
|
363
363
|
detail: someUnhandledConflicts ?
|
|
364
364
|
isMany
|
|
365
|
-
? ( localize(
|
|
366
|
-
: ( localize(
|
|
365
|
+
? ( localize(10837, "The files contain unhandled conflicts."))
|
|
366
|
+
: ( localize(10838, "The file contains unhandled conflicts."))
|
|
367
367
|
: undefined,
|
|
368
368
|
primaryButton: someUnhandledConflicts
|
|
369
|
-
? ( localize(
|
|
370
|
-
: ( localize(
|
|
371
|
-
checkbox: { label: ( localize(
|
|
369
|
+
? ( localize(10839, '&&Close with Conflicts'))
|
|
370
|
+
: ( localize(10840, '&&Close')),
|
|
371
|
+
checkbox: { label: ( localize(10841, "Do not ask me again")) }
|
|
372
372
|
});
|
|
373
373
|
if (checkboxChecked) {
|
|
374
374
|
this._storageService.store(StorageCloseWithConflicts, true, 0 , 0 );
|
|
@@ -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(6171, "Multi Diff Editor"));
|
|
120
120
|
if (resources) {
|
|
121
|
-
this._name = label + ( localize(
|
|
121
|
+
this._name = label + ( localize(6172, " ({0} files)", resources.length));
|
|
122
122
|
}
|
|
123
123
|
else {
|
|
124
124
|
this._name = label;
|
|
@@ -132,7 +132,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
|
132
132
|
return [{
|
|
133
133
|
text: `$(${successStateIcon.id})`,
|
|
134
134
|
color: themeColorFromId(cellStatusIconSuccess),
|
|
135
|
-
tooltip: ( localize(
|
|
135
|
+
tooltip: ( localize(8327, "Success")),
|
|
136
136
|
alignment: 1 ,
|
|
137
137
|
priority: Number.MAX_SAFE_INTEGER
|
|
138
138
|
}];
|
|
@@ -141,7 +141,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
|
141
141
|
return [{
|
|
142
142
|
text: `$(${errorStateIcon.id})`,
|
|
143
143
|
color: themeColorFromId(cellStatusIconError),
|
|
144
|
-
tooltip: ( localize(
|
|
144
|
+
tooltip: ( localize(8328, "Failed")),
|
|
145
145
|
alignment: 1 ,
|
|
146
146
|
priority: Number.MAX_SAFE_INTEGER
|
|
147
147
|
}];
|
|
@@ -149,7 +149,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
|
149
149
|
else if (state === NotebookCellExecutionState.Pending || state === NotebookCellExecutionState.Unconfirmed) {
|
|
150
150
|
return [{
|
|
151
151
|
text: `$(${pendingStateIcon.id})`,
|
|
152
|
-
tooltip: ( localize(
|
|
152
|
+
tooltip: ( localize(8329, "Pending")),
|
|
153
153
|
alignment: 1 ,
|
|
154
154
|
priority: Number.MAX_SAFE_INTEGER
|
|
155
155
|
}];
|
|
@@ -160,7 +160,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
|
160
160
|
ThemeIcon.modify(executingStateIcon, 'spin');
|
|
161
161
|
return [{
|
|
162
162
|
text: `$(${icon.id})`,
|
|
163
|
-
tooltip: ( localize(
|
|
163
|
+
tooltip: ( localize(8330, "Executing")),
|
|
164
164
|
alignment: 1 ,
|
|
165
165
|
priority: Number.MAX_SAFE_INTEGER
|
|
166
166
|
}];
|
|
@@ -264,10 +264,10 @@ let TimerCellStatusBarItem = class TimerCellStatusBarItem extends Disposable {
|
|
|
264
264
|
}));
|
|
265
265
|
renderTimes += `- [${rendererInfo?.displayName ?? key}](command:workbench.action.openIssueReporter?${args}) ${formatCellDuration(renderDuration[key])}\n`;
|
|
266
266
|
}
|
|
267
|
-
renderTimes += `\n*${( localize(
|
|
267
|
+
renderTimes += `\n*${( localize(8331, "Use the links above to file an issue using the issue reporter."))}*\n`;
|
|
268
268
|
tooltip = {
|
|
269
269
|
value: ( localize(
|
|
270
|
-
|
|
270
|
+
8332,
|
|
271
271
|
"**Last Execution** {0}\n\n**Execution Time** {1}\n\n**Overhead Time** {2}\n\n**Render Times**\n\n{3}",
|
|
272
272
|
lastExecution,
|
|
273
273
|
formatCellDuration(executionDuration),
|
|
@@ -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(10243, "{0} found", label))
|
|
277
|
+
: ( localize(10244, "{0} found for '{1}'", label, searchString));
|
|
278
278
|
}
|
|
279
|
-
return ( localize(
|
|
279
|
+
return ( localize(10245, "{0} found for '{1}'", label, searchString));
|
|
280
280
|
}
|
|
281
281
|
dispose() {
|
|
282
282
|
this._notebookEditor?.removeClassName(FIND_SHOW_TRANSITION);
|
|
@@ -301,7 +301,7 @@ async function joinSelectedCells(bulkEditService, notificationService, context)
|
|
|
301
301
|
const cellKind = cells[0].cellKind;
|
|
302
302
|
const isSameKind = cells.every(cell => cell.cellKind === cellKind);
|
|
303
303
|
if (!isSameKind) {
|
|
304
|
-
const message = ( localize(
|
|
304
|
+
const message = ( localize(10860, "Cannot join cells of different kinds"));
|
|
305
305
|
return notificationService.warn(message);
|
|
306
306
|
}
|
|
307
307
|
const firstCell = cells[0];
|
|
@@ -329,7 +329,7 @@ async function joinSelectedCells(bulkEditService, notificationService, context)
|
|
|
329
329
|
}))));
|
|
330
330
|
}
|
|
331
331
|
if (edits.length) {
|
|
332
|
-
await bulkEditService.apply(edits, { quotableLabel: ( localize(
|
|
332
|
+
await bulkEditService.apply(edits, { quotableLabel: ( localize(10861, "Join Notebook Cells")) });
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
335
|
async function joinNotebookCells(editor, range, direction, constraint) {
|
|
@@ -17,7 +17,7 @@ registerAction2(class ShowAllOutputsAction extends Action2 {
|
|
|
17
17
|
constructor() {
|
|
18
18
|
super({
|
|
19
19
|
id: 'notebook.cellOuput.showEmptyOutputs',
|
|
20
|
-
title: ( localize(
|
|
20
|
+
title: ( localize(8271, "Show empty outputs")),
|
|
21
21
|
menu: {
|
|
22
22
|
id: MenuId.NotebookOutputToolbar,
|
|
23
23
|
when: ( (ContextKeyExpr.and(NOTEBOOK_CELL_HAS_OUTPUTS, NOTEBOOK_CELL_HAS_HIDDEN_OUTPUTS)))
|
|
@@ -42,7 +42,7 @@ registerAction2(class CopyCellOutputAction extends Action2 {
|
|
|
42
42
|
constructor() {
|
|
43
43
|
super({
|
|
44
44
|
id: COPY_OUTPUT_COMMAND_ID,
|
|
45
|
-
title: ( localize(
|
|
45
|
+
title: ( localize(8272, "Copy Cell Output")),
|
|
46
46
|
menu: {
|
|
47
47
|
id: MenuId.NotebookOutputToolbar,
|
|
48
48
|
when: NOTEBOOK_CELL_HAS_OUTPUTS
|
|
@@ -117,7 +117,7 @@ registerAction2(class OpenCellOutputInEditorAction extends Action2 {
|
|
|
117
117
|
constructor() {
|
|
118
118
|
super({
|
|
119
119
|
id: OPEN_OUTPUT_COMMAND_ID,
|
|
120
|
-
title: ( localize(
|
|
120
|
+
title: ( localize(8273, "Open Cell Output in Text Editor")),
|
|
121
121
|
f1: false,
|
|
122
122
|
category: NOTEBOOK_ACTIONS_CATEGORY,
|
|
123
123
|
icon: copyIcon,
|
package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { localize } from '../../../../../../nls.js';
|
|
2
2
|
import { MenuId } from '../../../../../../platform/actions/common/actions.js';
|
|
3
3
|
import { RawContextKey } from '../../../../../../platform/contextkey/common/contextkey.js';
|
|
4
|
-
const CTX_NOTEBOOK_CELL_CHAT_FOCUSED = ( (new RawContextKey('notebookCellChatFocused', false, ( localize(
|
|
5
|
-
const CTX_NOTEBOOK_CHAT_HAS_ACTIVE_REQUEST = ( (new RawContextKey('notebookChatHasActiveRequest', false, ( localize(
|
|
6
|
-
const CTX_NOTEBOOK_CHAT_USER_DID_EDIT = ( (new RawContextKey('notebookChatUserDidEdit', false, ( localize(
|
|
4
|
+
const CTX_NOTEBOOK_CELL_CHAT_FOCUSED = ( (new RawContextKey('notebookCellChatFocused', false, ( localize(10862, "Whether the cell chat editor is focused")))));
|
|
5
|
+
const CTX_NOTEBOOK_CHAT_HAS_ACTIVE_REQUEST = ( (new RawContextKey('notebookChatHasActiveRequest', false, ( localize(10863, "Whether the cell chat editor has an active request")))));
|
|
6
|
+
const CTX_NOTEBOOK_CHAT_USER_DID_EDIT = ( (new RawContextKey('notebookChatUserDidEdit', false, ( localize(10864, "Whether the user did changes ontop of the notebook cell chat")))));
|
|
7
7
|
const CTX_NOTEBOOK_CHAT_OUTER_FOCUS_POSITION = ( (new RawContextKey('notebookChatOuterFocusPosition', '', ( localize(
|
|
8
|
-
|
|
8
|
+
10865,
|
|
9
9
|
"Whether the focus of the notebook editor is above or below the cell chat"
|
|
10
10
|
)))));
|
|
11
11
|
const MENU_CELL_CHAT_INPUT = MenuId.for('cellChatInput');
|
|
@@ -13,5 +13,5 @@ const MENU_CELL_CHAT_WIDGET = MenuId.for('cellChatWidget');
|
|
|
13
13
|
const MENU_CELL_CHAT_WIDGET_STATUS = MenuId.for('cellChatWidget.status');
|
|
14
14
|
MenuId.for('cellChatWidget.feedback');
|
|
15
15
|
MenuId.for('cellChatWidget.toolbar');
|
|
16
|
-
const CTX_NOTEBOOK_CHAT_HAS_AGENT = ( (new RawContextKey('notebookChatAgentRegistered', false, ( localize(
|
|
16
|
+
const CTX_NOTEBOOK_CHAT_HAS_AGENT = ( (new RawContextKey('notebookChatAgentRegistered', false, ( localize(10866, "Whether a chat agent for notebook is registered")))));
|
|
17
17
|
export { CTX_NOTEBOOK_CELL_CHAT_FOCUSED, CTX_NOTEBOOK_CHAT_HAS_ACTIVE_REQUEST, CTX_NOTEBOOK_CHAT_HAS_AGENT, CTX_NOTEBOOK_CHAT_OUTER_FOCUS_POSITION, CTX_NOTEBOOK_CHAT_USER_DID_EDIT, MENU_CELL_CHAT_INPUT, MENU_CELL_CHAT_WIDGET, MENU_CELL_CHAT_WIDGET_STATUS };
|
package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js
CHANGED
|
@@ -337,8 +337,8 @@ let NotebookChatController = class NotebookChatController extends Disposable {
|
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
339
|
}));
|
|
340
|
-
inlineChatWidget.placeholder = ( localize(
|
|
341
|
-
inlineChatWidget.updateInfo(( localize(
|
|
340
|
+
inlineChatWidget.placeholder = ( localize(10867, "Ask a question"));
|
|
341
|
+
inlineChatWidget.updateInfo(( localize(10868, "AI-generated code may be incorrect")));
|
|
342
342
|
widgetContainer.appendChild(inlineChatWidget.domNode);
|
|
343
343
|
this._widgetDisposableStore.add(inlineChatWidget.onDidChangeInput(() => {
|
|
344
344
|
this._warmupRequestCts?.dispose(true);
|
|
@@ -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(5615, '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(5616, "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(5617, "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(5618, "Share")),
|
|
314
314
|
submenu: MenuId.EditorContextShare,
|
|
315
315
|
group: "4_share"
|
|
316
316
|
});
|
|
@@ -106,8 +106,8 @@ class FoldingController extends Disposable {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
registerNotebookContribution(FoldingController.id, FoldingController);
|
|
109
|
-
const NOTEBOOK_FOLD_COMMAND_LABEL = ( localize(
|
|
110
|
-
const NOTEBOOK_UNFOLD_COMMAND_LABEL = ( localize2(
|
|
109
|
+
const NOTEBOOK_FOLD_COMMAND_LABEL = ( localize(8274, "Fold Cell"));
|
|
110
|
+
const NOTEBOOK_UNFOLD_COMMAND_LABEL = ( localize2(8275, "Unfold Cell"));
|
|
111
111
|
const FOLDING_COMMAND_ARGS = {
|
|
112
112
|
args: [{
|
|
113
113
|
isOptional: true,
|
|
@@ -137,7 +137,7 @@ registerAction2(class extends Action2 {
|
|
|
137
137
|
constructor() {
|
|
138
138
|
super({
|
|
139
139
|
id: 'notebook.fold',
|
|
140
|
-
title: ( localize2(
|
|
140
|
+
title: ( localize2(8274, "Fold Cell")),
|
|
141
141
|
category: NOTEBOOK_ACTIONS_CATEGORY,
|
|
142
142
|
keybinding: {
|
|
143
143
|
when: ( (ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ContextKeyExpr.not(InputFocusedContextKey)))),
|
|
@@ -243,7 +243,7 @@ let NotebookTextDiffEditor = class NotebookTextDiffEditor extends EditorPane {
|
|
|
243
243
|
accessibilityProvider: {
|
|
244
244
|
getAriaLabel() { return null; },
|
|
245
245
|
getWidgetAriaLabel() {
|
|
246
|
-
return ( localize(
|
|
246
|
+
return ( localize(8193, "Notebook Text Diff"));
|
|
247
247
|
}
|
|
248
248
|
},
|
|
249
249
|
});
|