@codingame/monaco-vscode-api 9.0.0 → 9.0.3
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/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/base/browser/ui/menu/menubar.js +1 -1
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +8 -8
- package/vscode/src/vs/base/common/date.js +61 -61
- package/vscode/src/vs/base/common/errorMessage.js +6 -6
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/base/common/keybindingLabels.js +20 -20
- package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +5 -5
- 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/diffEditor/components/accessibleDiffViewer.js +14 -14
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +1 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +50 -50
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/editorContextKeys.js +47 -47
- package/vscode/src/vs/editor/common/languages.js +27 -27
- 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/common/viewLayout/viewLineRenderer.js +2 -2
- 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/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +2 -2
- 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/postEditWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- 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/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- 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/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/consts.js +2 -2
- 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/peekView/browser/peekView.js +17 -17
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- 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/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- 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/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- 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/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -9
- 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/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +27 -19
- 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/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +1 -1
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +3 -3
- 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/quickInput.js +8 -8
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +6 -6
- 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/request/common/request.js +14 -14
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +93 -93
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +45 -45
- 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/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- 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/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +1 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- 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/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/actions/windowActions.js +25 -25
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
- 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/auxiliarybar/auxiliaryBarActions.js +11 -11
- 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/breadcrumbs.js +41 -41
- 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/editorCommands.js +16 -16
- 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/sideBySideEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- 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/notifications/notificationsViewer.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +34 -34
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
- 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/browser/parts/views/viewPane.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +6 -6
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/window.js +16 -16
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +216 -216
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- 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/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/theme.js +156 -156
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +130 -130
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +5 -5
- 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 +7 -7
- 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 +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +1 -1
- 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/chatInputPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +12 -12
- 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/common/chatColors.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +6 -6
- 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/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
- 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/commentColors.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +4 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +10 -10
- 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/browser/commentsViewActions.js +16 -16
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +9 -9
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +1 -1
- 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/browser/linkDetector.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 +166 -166
- 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/externalUriOpener/common/configuration.js +4 -4
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +4 -4
- 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/explorerViewlet.js +14 -14
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- 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/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +7 -7
- 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/files/common/files.js +14 -14
- 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/mergeEditor/common/mergeEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
- 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 +3 -3
- 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/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/keybindingWidgets.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +12 -12
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +10 -10
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +50 -50
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +60 -60
- 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/search/browser/anythingQuickAccess.js +10 -10
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +10 -10
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- 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/tasks/common/tasks.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +32 -32
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +16 -16
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +28 -28
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- 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/authentication/browser/authenticationService.js +3 -3
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- 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/configurationResolver/common/variableResolver.js +15 -15
- 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/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +82 -82
- 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/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/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +5 -5
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- 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/views/browser/viewsService.js +7 -7
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +17 -17
|
@@ -68,7 +68,7 @@ let OpenEditorsView = class OpenEditorsView extends ViewPane {
|
|
|
68
68
|
static { this.DEFAULT_VISIBLE_OPEN_EDITORS = 9; }
|
|
69
69
|
static { this.DEFAULT_MIN_VISIBLE_OPEN_EDITORS = 0; }
|
|
70
70
|
static { this.ID = 'workbench.explorer.openEditorsView'; }
|
|
71
|
-
static { this.NAME = ( localize2(
|
|
71
|
+
static { this.NAME = ( localize2(5383, "Open Editors")); }
|
|
72
72
|
constructor(options, instantiationService, viewDescriptorService, contextMenuService, editorGroupService, configurationService, keybindingService, contextKeyService, themeService, telemetryService, hoverService, workingCopyService, filesConfigurationService, openerService, fileService) {
|
|
73
73
|
super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService, hoverService);
|
|
74
74
|
this.editorGroupService = editorGroupService;
|
|
@@ -428,7 +428,7 @@ let OpenEditorsView = class OpenEditorsView extends ViewPane {
|
|
|
428
428
|
this.dirtyCountElement.classList.add('hidden');
|
|
429
429
|
}
|
|
430
430
|
else {
|
|
431
|
-
this.dirtyCountElement.textContent = ( localize(
|
|
431
|
+
this.dirtyCountElement.textContent = ( localize(5384, "{0} unsaved", dirty));
|
|
432
432
|
this.dirtyCountElement.classList.remove('hidden');
|
|
433
433
|
}
|
|
434
434
|
}
|
|
@@ -699,7 +699,7 @@ OpenEditorsDragAndDrop.__decorator = ( (__decorate([
|
|
|
699
699
|
], OpenEditorsDragAndDrop.prototype, "dropHandler", null)));
|
|
700
700
|
class OpenEditorsAccessibilityProvider {
|
|
701
701
|
getWidgetAriaLabel() {
|
|
702
|
-
return ( localize(
|
|
702
|
+
return ( localize(5383, "Open Editors"));
|
|
703
703
|
}
|
|
704
704
|
getAriaLabel(element) {
|
|
705
705
|
if (element instanceof OpenEditor) {
|
|
@@ -713,7 +713,7 @@ registerAction2(class extends Action2 {
|
|
|
713
713
|
constructor() {
|
|
714
714
|
super({
|
|
715
715
|
id: 'workbench.action.toggleEditorGroupLayout',
|
|
716
|
-
title: ( localize2(
|
|
716
|
+
title: ( localize2(5385, "Toggle Vertical/Horizontal Editor Layout")),
|
|
717
717
|
f1: true,
|
|
718
718
|
keybinding: {
|
|
719
719
|
primary: KeyMod$1.Shift | KeyMod$1.Alt | KeyCode.Digit0,
|
|
@@ -743,8 +743,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
743
743
|
command: {
|
|
744
744
|
id: toggleEditorGroupLayoutId,
|
|
745
745
|
title: {
|
|
746
|
-
...( localize2(
|
|
747
|
-
mnemonicTitle: ( localize(
|
|
746
|
+
...( localize2(5386, "Flip Layout")),
|
|
747
|
+
mnemonicTitle: ( localize(5387, "Flip &&Layout"))
|
|
748
748
|
}
|
|
749
749
|
},
|
|
750
750
|
order: 1
|
|
@@ -794,7 +794,7 @@ registerAction2(class extends Action2 {
|
|
|
794
794
|
constructor() {
|
|
795
795
|
super({
|
|
796
796
|
id: 'openEditors.newUntitledFile',
|
|
797
|
-
title: ( localize2(
|
|
797
|
+
title: ( localize2(5388, "New Untitled Text File")),
|
|
798
798
|
f1: false,
|
|
799
799
|
icon: Codicon.newFile,
|
|
800
800
|
menu: {
|
|
@@ -58,10 +58,10 @@ let WorkspaceWatcher = class WorkspaceWatcher extends Disposable {
|
|
|
58
58
|
if (msg.indexOf('ENOSPC') >= 0) {
|
|
59
59
|
reason = 'ENOSPC';
|
|
60
60
|
this.notificationService.prompt(Severity$1.Warning, ( localize(
|
|
61
|
-
|
|
61
|
+
9813,
|
|
62
62
|
"Unable to watch for file changes. Please follow the instructions link to resolve this issue."
|
|
63
63
|
)), [{
|
|
64
|
-
label: ( localize(
|
|
64
|
+
label: ( localize(9814, "Instructions")),
|
|
65
65
|
run: () => this.openerService.open(( (URI.parse('https://go.microsoft.com/fwlink/?linkid=867693'))))
|
|
66
66
|
}], {
|
|
67
67
|
sticky: true,
|
|
@@ -71,10 +71,10 @@ let WorkspaceWatcher = class WorkspaceWatcher extends Disposable {
|
|
|
71
71
|
else if (msg.indexOf('EUNKNOWN') >= 0) {
|
|
72
72
|
reason = 'EUNKNOWN';
|
|
73
73
|
this.notificationService.prompt(Severity$1.Warning, ( localize(
|
|
74
|
-
|
|
74
|
+
9815,
|
|
75
75
|
"File changes watcher stopped unexpectedly. A reload of the window may enable the watcher again unless the workspace cannot be watched for file changes."
|
|
76
76
|
)), [{
|
|
77
|
-
label: ( localize(
|
|
77
|
+
label: ( localize(9816, "Reload")),
|
|
78
78
|
run: () => this.hostService.reload()
|
|
79
79
|
}], {
|
|
80
80
|
sticky: true,
|
|
@@ -35,7 +35,7 @@ let DirtyFilesIndicator = class DirtyFilesIndicator extends Disposable {
|
|
|
35
35
|
const dirtyCount = this.lastKnownDirtyCount = this.workingCopyService.dirtyCount;
|
|
36
36
|
if (dirtyCount > 0) {
|
|
37
37
|
this.badgeHandle.value = this.activityService.showViewContainerActivity(VIEWLET_ID, {
|
|
38
|
-
badge: ( (new NumberBadge(dirtyCount, num => num === 1 ? ( localize(
|
|
38
|
+
badge: ( (new NumberBadge(dirtyCount, num => num === 1 ? ( localize(9817, "1 unsaved file")) : ( localize(9818, "{0} unsaved files", dirtyCount))))),
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
41
|
else {
|
|
@@ -16,56 +16,56 @@ const VIEW_ID = 'workbench.explorer.fileView';
|
|
|
16
16
|
const ExplorerViewletVisibleContext = ( (new RawContextKey(
|
|
17
17
|
'explorerViewletVisible',
|
|
18
18
|
true,
|
|
19
|
-
{ type: 'boolean', description: ( localize(
|
|
19
|
+
{ type: 'boolean', description: ( localize(5344, "True when the EXPLORER viewlet is visible.")) }
|
|
20
20
|
)));
|
|
21
21
|
const FoldersViewVisibleContext = ( (new RawContextKey('foldersViewVisible', true, { type: 'boolean', description: ( localize(
|
|
22
|
-
|
|
22
|
+
5345,
|
|
23
23
|
"True when the FOLDERS view (the file tree within the explorer view container) is visible."
|
|
24
24
|
)) })));
|
|
25
25
|
const ExplorerFolderContext = ( (new RawContextKey(
|
|
26
26
|
'explorerResourceIsFolder',
|
|
27
27
|
false,
|
|
28
|
-
{ type: 'boolean', description: ( localize(
|
|
28
|
+
{ type: 'boolean', description: ( localize(5346, "True when the focused item in the EXPLORER is a folder.")) }
|
|
29
29
|
)));
|
|
30
30
|
const ExplorerResourceReadonlyContext = ( (new RawContextKey(
|
|
31
31
|
'explorerResourceReadonly',
|
|
32
32
|
false,
|
|
33
|
-
{ type: 'boolean', description: ( localize(
|
|
33
|
+
{ type: 'boolean', description: ( localize(5347, "True when the focused item in the EXPLORER is read-only.")) }
|
|
34
34
|
)));
|
|
35
35
|
const ExplorerResourceNotReadonlyContext = ( (ExplorerResourceReadonlyContext.toNegated()));
|
|
36
36
|
const ExplorerResourceAvailableEditorIdsContext = ( (new RawContextKey('explorerResourceAvailableEditorIds', '')));
|
|
37
37
|
const ExplorerRootContext = ( (new RawContextKey(
|
|
38
38
|
'explorerResourceIsRoot',
|
|
39
39
|
false,
|
|
40
|
-
{ type: 'boolean', description: ( localize(
|
|
40
|
+
{ type: 'boolean', description: ( localize(5348, "True when the focused item in the EXPLORER is a root folder.")) }
|
|
41
41
|
)));
|
|
42
42
|
const ExplorerResourceCut = ( (new RawContextKey(
|
|
43
43
|
'explorerResourceCut',
|
|
44
44
|
false,
|
|
45
|
-
{ type: 'boolean', description: ( localize(
|
|
45
|
+
{ type: 'boolean', description: ( localize(5349, "True when an item in the EXPLORER has been cut for cut and paste.")) }
|
|
46
46
|
)));
|
|
47
47
|
const ExplorerResourceMoveableToTrash = ( (new RawContextKey(
|
|
48
48
|
'explorerResourceMoveableToTrash',
|
|
49
49
|
false,
|
|
50
|
-
{ type: 'boolean', description: ( localize(
|
|
50
|
+
{ type: 'boolean', description: ( localize(5350, "True when the focused item in the EXPLORER can be moved to trash.")) }
|
|
51
51
|
)));
|
|
52
|
-
const FilesExplorerFocusedContext = ( (new RawContextKey('filesExplorerFocus', true, { type: 'boolean', description: ( localize(
|
|
53
|
-
const OpenEditorsFocusedContext = ( (new RawContextKey('openEditorsFocus', true, { type: 'boolean', description: ( localize(
|
|
52
|
+
const FilesExplorerFocusedContext = ( (new RawContextKey('filesExplorerFocus', true, { type: 'boolean', description: ( localize(5351, "True when the focus is inside the EXPLORER view.")) })));
|
|
53
|
+
const OpenEditorsFocusedContext = ( (new RawContextKey('openEditorsFocus', true, { type: 'boolean', description: ( localize(5352, "True when the focus is inside the OPEN EDITORS view.")) })));
|
|
54
54
|
const ExplorerFocusedContext = ( (new RawContextKey(
|
|
55
55
|
'explorerViewletFocus',
|
|
56
56
|
true,
|
|
57
|
-
{ type: 'boolean', description: ( localize(
|
|
57
|
+
{ type: 'boolean', description: ( localize(5353, "True when the focus is inside the EXPLORER viewlet.")) }
|
|
58
58
|
)));
|
|
59
59
|
const ExplorerCompressedFocusContext = ( (new RawContextKey(
|
|
60
60
|
'explorerViewletCompressedFocus',
|
|
61
61
|
true,
|
|
62
|
-
{ type: 'boolean', description: ( localize(
|
|
62
|
+
{ type: 'boolean', description: ( localize(5354, "True when the focused item in the EXPLORER view is a compact item.")) }
|
|
63
63
|
)));
|
|
64
64
|
const ExplorerCompressedFirstFocusContext = ( (new RawContextKey(
|
|
65
65
|
'explorerViewletCompressedFirstFocus',
|
|
66
66
|
true,
|
|
67
67
|
{ type: 'boolean', description: ( localize(
|
|
68
|
-
|
|
68
|
+
5355,
|
|
69
69
|
"True when the focus is inside a compact item's first part in the EXPLORER view."
|
|
70
70
|
)) }
|
|
71
71
|
)));
|
|
@@ -73,7 +73,7 @@ const ExplorerCompressedLastFocusContext = ( (new RawContextKey(
|
|
|
73
73
|
'explorerViewletCompressedLastFocus',
|
|
74
74
|
true,
|
|
75
75
|
{ type: 'boolean', description: ( localize(
|
|
76
|
-
|
|
76
|
+
5356,
|
|
77
77
|
"True when the focus is inside a compact item's last part in the EXPLORER view."
|
|
78
78
|
)) }
|
|
79
79
|
)));
|
|
@@ -81,7 +81,7 @@ const ViewHasSomeCollapsibleRootItemContext = ( (new RawContextKey(
|
|
|
81
81
|
'viewHasSomeCollapsibleItem',
|
|
82
82
|
false,
|
|
83
83
|
{ type: 'boolean', description: ( localize(
|
|
84
|
-
|
|
84
|
+
5357,
|
|
85
85
|
"True when a workspace in the EXPLORER view has some collapsible root child."
|
|
86
86
|
)) }
|
|
87
87
|
)));
|
|
@@ -30,8 +30,8 @@ let DefaultFoldingRangeProvider = class DefaultFoldingRangeProvider extends Disp
|
|
|
30
30
|
DefaultFoldingRangeProvider_1.extensionItemLabels.length = 0;
|
|
31
31
|
DefaultFoldingRangeProvider_1.extensionDescriptions.length = 0;
|
|
32
32
|
DefaultFoldingRangeProvider_1.extensionIds.push(null);
|
|
33
|
-
DefaultFoldingRangeProvider_1.extensionItemLabels.push(( localize(
|
|
34
|
-
DefaultFoldingRangeProvider_1.extensionDescriptions.push(( localize(
|
|
33
|
+
DefaultFoldingRangeProvider_1.extensionItemLabels.push(( localize(653, 'All')));
|
|
34
|
+
DefaultFoldingRangeProvider_1.extensionDescriptions.push(( localize(654, "All active folding range providers")));
|
|
35
35
|
const languageExtensions = [];
|
|
36
36
|
const otherExtensions = [];
|
|
37
37
|
for (const extension of this._extensionService.extensions) {
|
|
@@ -73,7 +73,7 @@ DefaultFoldingRangeProvider = DefaultFoldingRangeProvider_1 = ( (__decorate([
|
|
|
73
73
|
properties: {
|
|
74
74
|
[DefaultFoldingRangeProvider.configName]: {
|
|
75
75
|
description: ( localize(
|
|
76
|
-
|
|
76
|
+
655,
|
|
77
77
|
"Defines a default folding range provider that takes precedence over all other folding range providers. Must be the identifier of an extension contributing a folding range provider."
|
|
78
78
|
)),
|
|
79
79
|
type: ['string', 'null'],
|
|
@@ -79,8 +79,8 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
79
79
|
DefaultFormatter_1.extensionItemLabels.length = 0;
|
|
80
80
|
DefaultFormatter_1.extensionDescriptions.length = 0;
|
|
81
81
|
DefaultFormatter_1.extensionIds.push(null);
|
|
82
|
-
DefaultFormatter_1.extensionItemLabels.push(( localize(
|
|
83
|
-
DefaultFormatter_1.extensionDescriptions.push(( localize(
|
|
82
|
+
DefaultFormatter_1.extensionItemLabels.push(( localize(4478, 'None')));
|
|
83
|
+
DefaultFormatter_1.extensionDescriptions.push(( localize(4479, "None")));
|
|
84
84
|
for (const extension of extensions) {
|
|
85
85
|
if (extension.main || extension.browser) {
|
|
86
86
|
DefaultFormatter_1.extensionIds.push(extension.identifier.value);
|
|
@@ -107,13 +107,13 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
107
107
|
const langName = this._languageService.getLanguageName(document.getLanguageId()) || document.getLanguageId();
|
|
108
108
|
const detail = kind === FormattingKind.File
|
|
109
109
|
? ( localize(
|
|
110
|
-
|
|
110
|
+
4480,
|
|
111
111
|
"Extension '{0}' is configured as formatter but it cannot format '{1}'-files",
|
|
112
112
|
extension.displayName || extension.name,
|
|
113
113
|
langName
|
|
114
114
|
))
|
|
115
115
|
: ( localize(
|
|
116
|
-
|
|
116
|
+
4481,
|
|
117
117
|
"Extension '{0}' is configured as formatter but it can only format '{1}'-files as a whole, not selections or parts of it.",
|
|
118
118
|
extension.displayName || extension.name,
|
|
119
119
|
langName
|
|
@@ -127,12 +127,12 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
127
127
|
const langName = this._languageService.getLanguageName(document.getLanguageId()) || document.getLanguageId();
|
|
128
128
|
const message = !defaultFormatterId
|
|
129
129
|
? ( localize(
|
|
130
|
-
|
|
130
|
+
4482,
|
|
131
131
|
"There are multiple formatters for '{0}' files. One of them should be configured as default formatter.",
|
|
132
132
|
DefaultFormatter_1._maybeQuotes(langName)
|
|
133
133
|
))
|
|
134
134
|
: ( localize(
|
|
135
|
-
|
|
135
|
+
4483,
|
|
136
136
|
"Extension '{0}' is configured as formatter but not available. Select a different default formatter to continue.",
|
|
137
137
|
defaultFormatterId
|
|
138
138
|
));
|
|
@@ -145,16 +145,16 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
145
145
|
}
|
|
146
146
|
if (mode !== FormattingMode.Silent) {
|
|
147
147
|
const { confirmed } = await this._dialogService.confirm({
|
|
148
|
-
message: ( localize(
|
|
148
|
+
message: ( localize(4484, "Configure Default Formatter")),
|
|
149
149
|
detail: formatterOrMessage,
|
|
150
|
-
primaryButton: ( localize(
|
|
150
|
+
primaryButton: ( localize(4485, "&&Configure..."))
|
|
151
151
|
});
|
|
152
152
|
if (confirmed) {
|
|
153
153
|
return this._pickAndPersistDefaultFormatter(formatter, document);
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
else {
|
|
157
|
-
this._notificationService.prompt(Severity$1.Info, formatterOrMessage, [{ label: ( localize(
|
|
157
|
+
this._notificationService.prompt(Severity$1.Info, formatterOrMessage, [{ label: ( localize(4486, "Configure...")), run: () => this._pickAndPersistDefaultFormatter(formatter, document) }], { priority: NotificationPriority.SILENT });
|
|
158
158
|
}
|
|
159
159
|
return undefined;
|
|
160
160
|
}
|
|
@@ -168,7 +168,7 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
168
168
|
})));
|
|
169
169
|
const langName = this._languageService.getLanguageName(document.getLanguageId()) || document.getLanguageId();
|
|
170
170
|
const pick = await this._quickInputService.pick(picks, { placeHolder: ( localize(
|
|
171
|
-
|
|
171
|
+
4487,
|
|
172
172
|
"Select a default formatter for '{0}' files",
|
|
173
173
|
DefaultFormatter_1._maybeQuotes(langName)
|
|
174
174
|
)) });
|
|
@@ -201,14 +201,14 @@ let DefaultFormatter = class DefaultFormatter extends Disposable {
|
|
|
201
201
|
if (typeof result !== 'string') {
|
|
202
202
|
return;
|
|
203
203
|
}
|
|
204
|
-
const command = { id: `formatter/configure/dfl/${generateUuid()}`, title: ( localize(
|
|
204
|
+
const command = { id: `formatter/configure/dfl/${generateUuid()}`, title: ( localize(4488, "Configure...")) };
|
|
205
205
|
this._languageStatusStore.add(CommandsRegistry.registerCommand(command.id, () => this._pickAndPersistDefaultFormatter(formatter, document)));
|
|
206
206
|
this._languageStatusStore.add(this._languageStatusService.addStatus({
|
|
207
207
|
id: 'formatter.conflict',
|
|
208
|
-
name: ( localize(
|
|
208
|
+
name: ( localize(4489, "Formatter Conflicts")),
|
|
209
209
|
selector: { language: document.getLanguageId(), pattern: document.uri.fsPath },
|
|
210
210
|
severity: Severity$1.Error,
|
|
211
|
-
label: ( localize(
|
|
211
|
+
label: ( localize(4490, "Formatting")),
|
|
212
212
|
detail: result,
|
|
213
213
|
busy: false,
|
|
214
214
|
source: '',
|
|
@@ -236,7 +236,7 @@ DefaultFormatter = DefaultFormatter_1 = ( (__decorate([
|
|
|
236
236
|
properties: {
|
|
237
237
|
[DefaultFormatter.configName]: {
|
|
238
238
|
description: ( localize(
|
|
239
|
-
|
|
239
|
+
4491,
|
|
240
240
|
"Defines a default formatter which takes precedence over all other formatter settings. Must be the identifier of an extension contributing a formatter."
|
|
241
241
|
)),
|
|
242
242
|
type: ['string', 'null'],
|
|
@@ -269,7 +269,7 @@ async function showFormatterPick(accessor, model, formatters) {
|
|
|
269
269
|
const pick = {
|
|
270
270
|
index,
|
|
271
271
|
label: provider.displayName || '',
|
|
272
|
-
description: isDefault ? ( localize(
|
|
272
|
+
description: isDefault ? ( localize(4492, "(default)")) : undefined,
|
|
273
273
|
};
|
|
274
274
|
if (isDefault) {
|
|
275
275
|
defaultFormatterPick = pick;
|
|
@@ -277,10 +277,10 @@ async function showFormatterPick(accessor, model, formatters) {
|
|
|
277
277
|
return pick;
|
|
278
278
|
})));
|
|
279
279
|
const configurePick = {
|
|
280
|
-
label: ( localize(
|
|
280
|
+
label: ( localize(4493, "Configure Default Formatter..."))
|
|
281
281
|
};
|
|
282
282
|
const pick = await quickPickService.pick([...picks, { type: 'separator' }, configurePick], {
|
|
283
|
-
placeHolder: ( localize(
|
|
283
|
+
placeHolder: ( localize(4494, "Select a formatter")),
|
|
284
284
|
activeItem: defaultFormatterPick
|
|
285
285
|
});
|
|
286
286
|
if (!pick) {
|
|
@@ -289,7 +289,7 @@ async function showFormatterPick(accessor, model, formatters) {
|
|
|
289
289
|
else if (pick === configurePick) {
|
|
290
290
|
const langName = languageService.getLanguageName(model.getLanguageId()) || model.getLanguageId();
|
|
291
291
|
const pick = await quickPickService.pick(picks, { placeHolder: ( localize(
|
|
292
|
-
|
|
292
|
+
4487,
|
|
293
293
|
"Select a default formatter for '{0}' files",
|
|
294
294
|
DefaultFormatter._maybeQuotes(langName)
|
|
295
295
|
)) });
|
|
@@ -306,7 +306,7 @@ registerEditorAction(class FormatDocumentMultipleAction extends EditorAction {
|
|
|
306
306
|
constructor() {
|
|
307
307
|
super({
|
|
308
308
|
id: 'editor.action.formatDocument.multiple',
|
|
309
|
-
label: ( localize(
|
|
309
|
+
label: ( localize(4495, "Format Document With...")),
|
|
310
310
|
alias: 'Format Document...',
|
|
311
311
|
precondition: ( (ContextKeyExpr.and(
|
|
312
312
|
EditorContextKeys.writable,
|
|
@@ -338,7 +338,7 @@ registerEditorAction(class FormatSelectionMultipleAction extends EditorAction {
|
|
|
338
338
|
constructor() {
|
|
339
339
|
super({
|
|
340
340
|
id: 'editor.action.formatSelection.multiple',
|
|
341
|
-
label: ( localize(
|
|
341
|
+
label: ( localize(4496, "Format Selection With...")),
|
|
342
342
|
alias: 'Format Code...',
|
|
343
343
|
precondition: ( (ContextKeyExpr.and(
|
|
344
344
|
(ContextKeyExpr.and(EditorContextKeys.writable)),
|
|
@@ -21,7 +21,7 @@ registerEditorAction(class FormatDocumentMultipleAction extends EditorAction {
|
|
|
21
21
|
constructor() {
|
|
22
22
|
super({
|
|
23
23
|
id: 'editor.action.formatDocument.none',
|
|
24
|
-
label: ( localize(
|
|
24
|
+
label: ( localize(4497, "Format Document")),
|
|
25
25
|
alias: 'Format Document',
|
|
26
26
|
precondition: ( (ContextKeyExpr.and(
|
|
27
27
|
EditorContextKeys.writable,
|
|
@@ -53,14 +53,14 @@ registerEditorAction(class FormatDocumentMultipleAction extends EditorAction {
|
|
|
53
53
|
return commandService.executeCommand('editor.action.formatDocument');
|
|
54
54
|
}
|
|
55
55
|
else if (model.isTooLargeForSyncing()) {
|
|
56
|
-
notificationService.warn(( localize(
|
|
56
|
+
notificationService.warn(( localize(4498, "This file cannot be formatted because it is too large")));
|
|
57
57
|
}
|
|
58
58
|
else {
|
|
59
59
|
const langName = model.getLanguageId();
|
|
60
|
-
const message = ( localize(
|
|
60
|
+
const message = ( localize(4499, "There is no formatter for '{0}' files installed.", langName));
|
|
61
61
|
const { confirmed } = await dialogService.confirm({
|
|
62
62
|
message,
|
|
63
|
-
primaryButton: ( localize(
|
|
63
|
+
primaryButton: ( localize(4500, "&&Install Formatter..."))
|
|
64
64
|
});
|
|
65
65
|
if (confirmed) {
|
|
66
66
|
showExtensionQuery(paneCompositeService, `category:formatters ${langName}`);
|
|
@@ -17,7 +17,7 @@ registerEditorAction(class FormatModifiedAction extends EditorAction {
|
|
|
17
17
|
constructor() {
|
|
18
18
|
super({
|
|
19
19
|
id: 'editor.action.formatChanges',
|
|
20
|
-
label: ( localize(
|
|
20
|
+
label: ( localize(4471, "Format Modified Lines")),
|
|
21
21
|
alias: 'Format Modified Lines',
|
|
22
22
|
precondition: ( (ContextKeyExpr.and(
|
|
23
23
|
EditorContextKeys.writable,
|
|
@@ -22,7 +22,7 @@ let InlayHintsAccessibility = class InlayHintsAccessibility {
|
|
|
22
22
|
static { this.IsReading = ( (new RawContextKey(
|
|
23
23
|
'isReadingLineWithInlayHints',
|
|
24
24
|
false,
|
|
25
|
-
{ type: 'boolean', description: ( localize(
|
|
25
|
+
{ type: 'boolean', description: ( localize(656, "Whether the current line and its inlay hints are currently focused")) }
|
|
26
26
|
))); }
|
|
27
27
|
static { this.ID = 'editor.contrib.InlayHintsAccessibility'; }
|
|
28
28
|
static get(editor) {
|
|
@@ -37,7 +37,7 @@ let InlayHintsAccessibility = class InlayHintsAccessibility {
|
|
|
37
37
|
this._ariaElement.style.position = 'fixed';
|
|
38
38
|
this._ariaElement.className = 'inlayhint-accessibility-element';
|
|
39
39
|
this._ariaElement.tabIndex = 0;
|
|
40
|
-
this._ariaElement.setAttribute('aria-description', ( localize(
|
|
40
|
+
this._ariaElement.setAttribute('aria-description', ( localize(657, "Code with Inlay Hint Information")));
|
|
41
41
|
this._ctxIsReading = InlayHintsAccessibility_1.IsReading.bindTo(contextKeyService);
|
|
42
42
|
}
|
|
43
43
|
dispose() {
|
|
@@ -137,7 +137,7 @@ registerAction2(class StartReadHints extends EditorAction2 {
|
|
|
137
137
|
constructor() {
|
|
138
138
|
super({
|
|
139
139
|
id: 'inlayHints.startReadingLineWithHint',
|
|
140
|
-
title: ( localize2(
|
|
140
|
+
title: ( localize2(658, "Read Line With Inline Hints")),
|
|
141
141
|
precondition: EditorContextKeys.hasInlayHintsProvider,
|
|
142
142
|
f1: true
|
|
143
143
|
});
|
|
@@ -151,7 +151,7 @@ registerAction2(class StopReadHints extends EditorAction2 {
|
|
|
151
151
|
constructor() {
|
|
152
152
|
super({
|
|
153
153
|
id: 'inlayHints.stopReadingLineWithHint',
|
|
154
|
-
title: ( localize2(
|
|
154
|
+
title: ( localize2(659, "Stop Inlay Hints Reading")),
|
|
155
155
|
precondition: InlayHintsAccessibility.IsReading,
|
|
156
156
|
f1: true,
|
|
157
157
|
keybinding: {
|
|
@@ -22,8 +22,8 @@ import { IChatService } from '../../chat/common/chatService.service.js';
|
|
|
22
22
|
import { CONTEXT_CHAT_INPUT_HAS_TEXT, CONTEXT_IN_CHAT_INPUT } from '../../chat/common/chatContextKeys.js';
|
|
23
23
|
CommandsRegistry.registerCommandAlias('interactiveEditor.start', 'inlineChat.start');
|
|
24
24
|
CommandsRegistry.registerCommandAlias('interactive.acceptChanges', ACTION_ACCEPT_CHANGES);
|
|
25
|
-
const LOCALIZED_START_INLINE_CHAT_STRING = ( localize2(
|
|
26
|
-
const START_INLINE_CHAT = registerIcon('start-inline-chat', Codicon.sparkle, ( localize(
|
|
25
|
+
const LOCALIZED_START_INLINE_CHAT_STRING = ( localize2(7182, 'Start in Editor'));
|
|
26
|
+
const START_INLINE_CHAT = registerIcon('start-inline-chat', Codicon.sparkle, ( localize(7183, 'Icon which spawns the inline chat from the editor toolbar.')));
|
|
27
27
|
class StartSessionAction extends EditorAction2 {
|
|
28
28
|
constructor() {
|
|
29
29
|
super({
|
|
@@ -58,7 +58,7 @@ class UnstashSessionAction extends EditorAction2 {
|
|
|
58
58
|
constructor() {
|
|
59
59
|
super({
|
|
60
60
|
id: 'inlineChat.unstash',
|
|
61
|
-
title: ( localize2(
|
|
61
|
+
title: ( localize2(7184, "Resume Last Dismissed Inline Chat")),
|
|
62
62
|
category: AbstractInlineChatAction.category,
|
|
63
63
|
precondition: ( (ContextKeyExpr.and(CTX_INLINE_CHAT_HAS_STASHED_SESSION, EditorContextKeys.writable))),
|
|
64
64
|
keybinding: {
|
|
@@ -81,7 +81,7 @@ class UnstashSessionAction extends EditorAction2 {
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
class AbstractInlineChatAction extends EditorAction2 {
|
|
84
|
-
static { this.category = ( localize2(
|
|
84
|
+
static { this.category = ( localize2(7185, "Inline Chat")); }
|
|
85
85
|
constructor(desc) {
|
|
86
86
|
super({
|
|
87
87
|
...desc,
|
|
@@ -127,7 +127,7 @@ class ArrowOutUpAction extends AbstractInlineChatAction {
|
|
|
127
127
|
constructor() {
|
|
128
128
|
super({
|
|
129
129
|
id: 'inlineChat.arrowOutUp',
|
|
130
|
-
title: ( localize(
|
|
130
|
+
title: ( localize(7186, 'Cursor Up')),
|
|
131
131
|
precondition: ( (ContextKeyExpr.and(
|
|
132
132
|
CTX_INLINE_CHAT_FOCUSED,
|
|
133
133
|
CTX_INLINE_CHAT_INNER_CURSOR_FIRST,
|
|
@@ -148,7 +148,7 @@ class ArrowOutDownAction extends AbstractInlineChatAction {
|
|
|
148
148
|
constructor() {
|
|
149
149
|
super({
|
|
150
150
|
id: 'inlineChat.arrowOutDown',
|
|
151
|
-
title: ( localize(
|
|
151
|
+
title: ( localize(7187, 'Cursor Down')),
|
|
152
152
|
precondition: ( (ContextKeyExpr.and(
|
|
153
153
|
CTX_INLINE_CHAT_FOCUSED,
|
|
154
154
|
CTX_INLINE_CHAT_INNER_CURSOR_LAST,
|
|
@@ -169,7 +169,7 @@ class FocusInlineChat extends EditorAction2 {
|
|
|
169
169
|
constructor() {
|
|
170
170
|
super({
|
|
171
171
|
id: 'inlineChat.focus',
|
|
172
|
-
title: ( localize2(
|
|
172
|
+
title: ( localize2(7188, "Focus Input")),
|
|
173
173
|
f1: true,
|
|
174
174
|
category: AbstractInlineChatAction.category,
|
|
175
175
|
precondition: ( (ContextKeyExpr.and(
|
|
@@ -203,7 +203,7 @@ class DiscardAction extends AbstractInlineChatAction {
|
|
|
203
203
|
constructor() {
|
|
204
204
|
super({
|
|
205
205
|
id: 'inlineChat.discard',
|
|
206
|
-
title: ( localize(
|
|
206
|
+
title: ( localize(7189, 'Discard')),
|
|
207
207
|
icon: Codicon.discard,
|
|
208
208
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
209
209
|
keybinding: {
|
|
@@ -221,8 +221,8 @@ class AcceptChanges extends AbstractInlineChatAction {
|
|
|
221
221
|
constructor() {
|
|
222
222
|
super({
|
|
223
223
|
id: ACTION_ACCEPT_CHANGES,
|
|
224
|
-
title: ( localize2(
|
|
225
|
-
shortTitle: ( localize(
|
|
224
|
+
title: ( localize2(7190, "Accept Changes")),
|
|
225
|
+
shortTitle: ( localize(7191, 'Accept')),
|
|
226
226
|
icon: Codicon.check,
|
|
227
227
|
f1: true,
|
|
228
228
|
precondition: ( (ContextKeyExpr.and(CTX_INLINE_CHAT_VISIBLE, (ContextKeyExpr.or(
|
|
@@ -257,7 +257,7 @@ class DiscardHunkAction extends AbstractInlineChatAction {
|
|
|
257
257
|
constructor() {
|
|
258
258
|
super({
|
|
259
259
|
id: ACTION_DISCARD_CHANGES,
|
|
260
|
-
title: ( localize(
|
|
260
|
+
title: ( localize(7189, 'Discard')),
|
|
261
261
|
icon: Codicon.chromeClose,
|
|
262
262
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
263
263
|
menu: [{
|
|
@@ -290,8 +290,8 @@ class RerunAction extends AbstractInlineChatAction {
|
|
|
290
290
|
constructor() {
|
|
291
291
|
super({
|
|
292
292
|
id: ACTION_REGENERATE_RESPONSE,
|
|
293
|
-
title: ( localize2(
|
|
294
|
-
shortTitle: ( localize(
|
|
293
|
+
title: ( localize2(7192, "Rerun Request")),
|
|
294
|
+
shortTitle: ( localize(7193, 'Rerun')),
|
|
295
295
|
f1: false,
|
|
296
296
|
icon: Codicon.refresh,
|
|
297
297
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
@@ -324,7 +324,7 @@ class CloseAction extends AbstractInlineChatAction {
|
|
|
324
324
|
constructor() {
|
|
325
325
|
super({
|
|
326
326
|
id: 'inlineChat.close',
|
|
327
|
-
title: ( localize(
|
|
327
|
+
title: ( localize(7194, 'Close')),
|
|
328
328
|
icon: Codicon.close,
|
|
329
329
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
330
330
|
keybinding: {
|
|
@@ -357,7 +357,7 @@ class ConfigureInlineChatAction extends AbstractInlineChatAction {
|
|
|
357
357
|
constructor() {
|
|
358
358
|
super({
|
|
359
359
|
id: 'inlineChat.configure',
|
|
360
|
-
title: ( localize2(
|
|
360
|
+
title: ( localize2(7195, 'Configure Inline Chat')),
|
|
361
361
|
icon: Codicon.settingsGear,
|
|
362
362
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
363
363
|
f1: true,
|
|
@@ -376,7 +376,7 @@ class MoveToNextHunk extends AbstractInlineChatAction {
|
|
|
376
376
|
constructor() {
|
|
377
377
|
super({
|
|
378
378
|
id: 'inlineChat.moveToNextHunk',
|
|
379
|
-
title: ( localize2(
|
|
379
|
+
title: ( localize2(7196, 'Move to Next Change')),
|
|
380
380
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
381
381
|
f1: true,
|
|
382
382
|
keybinding: {
|
|
@@ -393,7 +393,7 @@ class MoveToPreviousHunk extends AbstractInlineChatAction {
|
|
|
393
393
|
constructor() {
|
|
394
394
|
super({
|
|
395
395
|
id: 'inlineChat.moveToPreviousHunk',
|
|
396
|
-
title: ( localize2(
|
|
396
|
+
title: ( localize2(7197, 'Move to Previous Change')),
|
|
397
397
|
f1: true,
|
|
398
398
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
399
399
|
keybinding: {
|
|
@@ -410,7 +410,7 @@ class ViewInChatAction extends AbstractInlineChatAction {
|
|
|
410
410
|
constructor() {
|
|
411
411
|
super({
|
|
412
412
|
id: ACTION_VIEW_IN_CHAT,
|
|
413
|
-
title: ( localize(
|
|
413
|
+
title: ( localize(7198, 'View in Chat')),
|
|
414
414
|
icon: Codicon.commentDiscussion,
|
|
415
415
|
precondition: CTX_INLINE_CHAT_VISIBLE,
|
|
416
416
|
menu: [{
|
|
@@ -448,7 +448,7 @@ class ToggleDiffForChange extends AbstractInlineChatAction {
|
|
|
448
448
|
(CTX_INLINE_CHAT_EDIT_MODE.isEqualTo(EditMode.Live)),
|
|
449
449
|
CTX_INLINE_CHAT_CHANGE_HAS_DIFF
|
|
450
450
|
))),
|
|
451
|
-
title: ( localize2(
|
|
451
|
+
title: ( localize2(7199, 'Toggle Changes')),
|
|
452
452
|
icon: Codicon.diffSingle,
|
|
453
453
|
toggled: {
|
|
454
454
|
condition: CTX_INLINE_CHAT_CHANGE_SHOWS_DIFF,
|
|
@@ -248,14 +248,14 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
248
248
|
delete options.position;
|
|
249
249
|
}
|
|
250
250
|
const widgetPosition = this._showWidget(options.headless ?? session?.headless, true, initPosition);
|
|
251
|
-
let errorMessage = ( localize(
|
|
251
|
+
let errorMessage = ( localize(7072, "Failed to start editor chat"));
|
|
252
252
|
if (!session) {
|
|
253
253
|
const createSessionCts = ( (new CancellationTokenSource()));
|
|
254
254
|
const msgListener = Event.once(this._messages.event)(m => {
|
|
255
255
|
this._log('state=_createSession) message received', m);
|
|
256
256
|
if (m === Message.ACCEPT_INPUT) {
|
|
257
257
|
options.autoSend = true;
|
|
258
|
-
this._ui.value.zone.widget.updateInfo(( localize(
|
|
258
|
+
this._ui.value.zone.widget.updateInfo(( localize(7073, "Getting ready...")));
|
|
259
259
|
}
|
|
260
260
|
else {
|
|
261
261
|
createSessionCts.cancel();
|
|
@@ -575,7 +575,7 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
575
575
|
let newPosition;
|
|
576
576
|
if (response.result?.errorDetails) ;
|
|
577
577
|
else if (response.response.value.length === 0) {
|
|
578
|
-
const status = ( localize(
|
|
578
|
+
const status = ( localize(7074, "No results, please refine your input and try again"));
|
|
579
579
|
this._ui.value.zone.widget.updateStatus(status, { classes: ['warn'] });
|
|
580
580
|
}
|
|
581
581
|
else {
|
|
@@ -609,7 +609,7 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
609
609
|
await this._strategy.apply();
|
|
610
610
|
}
|
|
611
611
|
catch (err) {
|
|
612
|
-
this._dialogService.error(( localize(
|
|
612
|
+
this._dialogService.error(( localize(7075, "Failed to apply changes.", toErrorMessage(err))));
|
|
613
613
|
this._log('FAILED to apply changes');
|
|
614
614
|
this._log(err);
|
|
615
615
|
}
|
|
@@ -629,7 +629,7 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
629
629
|
undoCancelEdits = this._strategy.cancel();
|
|
630
630
|
}
|
|
631
631
|
catch (err) {
|
|
632
|
-
this._dialogService.error(( localize(
|
|
632
|
+
this._dialogService.error(( localize(7076, "Failed to discard changes.", toErrorMessage(err))));
|
|
633
633
|
this._log('FAILED to discard changes');
|
|
634
634
|
this._log(err);
|
|
635
635
|
}
|
|
@@ -762,7 +762,7 @@ let InlineChatController = InlineChatController_1 = class InlineChatController {
|
|
|
762
762
|
if (!this._session) {
|
|
763
763
|
return;
|
|
764
764
|
}
|
|
765
|
-
const status = ( localize(
|
|
765
|
+
const status = ( localize(7077, "Accept or discard changes to continue saving."));
|
|
766
766
|
this._ui.value.zone.widget.updateStatus(status, { classes: ['warn'] });
|
|
767
767
|
if (this._ui.value.zone.position) {
|
|
768
768
|
this._editor.revealLineInCenterIfOutsideViewport(this._ui.value.zone.position.lineNumber);
|
|
@@ -180,7 +180,7 @@ let InlineChatZoneWidget = class InlineChatZoneWidget extends ZoneWidget {
|
|
|
180
180
|
this.widget.reset();
|
|
181
181
|
this.widget.chatWidget.setVisible(false);
|
|
182
182
|
super.hide();
|
|
183
|
-
status(( localize(
|
|
183
|
+
status(( localize(10639, 'Closed inline chat widget')));
|
|
184
184
|
scrollState.restore(this.editor);
|
|
185
185
|
}
|
|
186
186
|
};
|