@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
|
@@ -124,15 +124,15 @@ let ChatInputPart = class ChatInputPart extends Disposable {
|
|
|
124
124
|
if (verbose) {
|
|
125
125
|
const kbLabel = this.keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibilityHelp)?.getLabel();
|
|
126
126
|
return kbLabel ? ( localize(
|
|
127
|
-
|
|
127
|
+
6989,
|
|
128
128
|
"Chat Input, Type to ask questions or type / for topics, press enter to send out the request. Use {0} for Chat Accessibility Help.",
|
|
129
129
|
kbLabel
|
|
130
130
|
)) : ( localize(
|
|
131
|
-
|
|
131
|
+
6990,
|
|
132
132
|
"Chat Input, Type code here and press Enter to run. Use the Chat Accessibility Help command for more information."
|
|
133
133
|
));
|
|
134
134
|
}
|
|
135
|
-
return ( localize(
|
|
135
|
+
return ( localize(6991, "Chat Input"));
|
|
136
136
|
}
|
|
137
137
|
updateState(inputState) {
|
|
138
138
|
if (this.inHistoryNavigation) {
|
|
@@ -348,7 +348,7 @@ let ChatInputPart = class ChatInputPart extends Disposable {
|
|
|
348
348
|
actionViewItemProvider: (action, options) => {
|
|
349
349
|
if (this.location === ChatAgentLocation.Panel) {
|
|
350
350
|
if ((action.id === SubmitAction.ID || action.id === CancelAction.ID) && action instanceof MenuItemAction) {
|
|
351
|
-
const dropdownAction = this.instantiationService.createInstance(MenuItemAction, { id: 'chat.moreExecuteActions', title: ( localize(
|
|
351
|
+
const dropdownAction = this.instantiationService.createInstance(MenuItemAction, { id: 'chat.moreExecuteActions', title: ( localize(6992, "More...")), icon: Codicon.chevronDown }, undefined, undefined, undefined, undefined);
|
|
352
352
|
return this.instantiationService.createInstance(ChatSubmitDropdownActionItem, action, dropdownAction);
|
|
353
353
|
}
|
|
354
354
|
}
|
|
@@ -421,12 +421,12 @@ let ChatInputPart = class ChatInputPart extends Disposable {
|
|
|
421
421
|
const fileDirname = dirname(file.path);
|
|
422
422
|
const friendlyName = `${fileBasename} ${fileDirname}`;
|
|
423
423
|
const ariaLabel = range ? ( localize(
|
|
424
|
-
|
|
424
|
+
6993,
|
|
425
425
|
"Attached file, {0}, line {1} to line {2}",
|
|
426
426
|
friendlyName,
|
|
427
427
|
range.startLineNumber,
|
|
428
428
|
range.endLineNumber
|
|
429
|
-
)) : ( localize(
|
|
429
|
+
)) : ( localize(6994, "Attached file, {0}", friendlyName));
|
|
430
430
|
label.setFile(file, {
|
|
431
431
|
fileKind: FileKind.FILE,
|
|
432
432
|
hidePath: true,
|
|
@@ -439,7 +439,7 @@ let ChatInputPart = class ChatInputPart extends Disposable {
|
|
|
439
439
|
const attachmentLabel = attachment.fullName ?? attachment.name;
|
|
440
440
|
const withIcon = attachment.icon?.id ? `$(${attachment.icon.id}) ${attachmentLabel}` : attachmentLabel;
|
|
441
441
|
label.setLabel(withIcon, undefined);
|
|
442
|
-
widget.ariaLabel = ( localize(
|
|
442
|
+
widget.ariaLabel = ( localize(6995, "Attached context, {0}", attachment.name));
|
|
443
443
|
widget.tabIndex = 0;
|
|
444
444
|
}
|
|
445
445
|
const clearButton = ( (new Button(widget, { supportIcons: true })));
|
|
@@ -551,7 +551,7 @@ let ChatSubmitDropdownActionItem = class ChatSubmitDropdownActionItem extends Dr
|
|
|
551
551
|
if (secondaryAgent) {
|
|
552
552
|
secondary.forEach(a => {
|
|
553
553
|
if (a.id === ChatSubmitSecondaryAgentAction.ID) {
|
|
554
|
-
a.label = ( localize(
|
|
554
|
+
a.label = ( localize(6996, "Send to @{0}", secondaryAgent.name));
|
|
555
555
|
}
|
|
556
556
|
return a;
|
|
557
557
|
});
|
|
@@ -308,10 +308,10 @@ let ChatListItemRenderer = class ChatListItemRenderer extends Disposable {
|
|
|
308
308
|
clearNode(templateData.detail);
|
|
309
309
|
if (element.agentOrSlashCommandDetected) {
|
|
310
310
|
const msg = element.slashCommand ? ( localize(
|
|
311
|
-
|
|
311
|
+
6997,
|
|
312
312
|
"used {0} [[(rerun without)]]",
|
|
313
313
|
`${chatSubcommandLeader}${element.slashCommand.name}`
|
|
314
|
-
)) : ( localize(
|
|
314
|
+
)) : ( localize(6998, "[[(rerun without)]]"));
|
|
315
315
|
reset(templateData.detail, renderFormattedText(msg, {
|
|
316
316
|
className: 'agentOrSlashCommandDetected',
|
|
317
317
|
inline: true,
|
|
@@ -330,7 +330,7 @@ let ChatListItemRenderer = class ChatListItemRenderer extends Disposable {
|
|
|
330
330
|
renderConfirmationAction(element, templateData) {
|
|
331
331
|
clearNode(templateData.detail);
|
|
332
332
|
if (element.confirmation) {
|
|
333
|
-
templateData.detail.textContent = ( localize(
|
|
333
|
+
templateData.detail.textContent = ( localize(6999, 'selected "{0}"', element.confirmation));
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
renderAvatar(element, templateData) {
|
|
@@ -779,15 +779,15 @@ ChatListDelegate = ( (__decorate([
|
|
|
779
779
|
( (__param(1, ILogService)))
|
|
780
780
|
], ChatListDelegate)));
|
|
781
781
|
const voteDownDetailLabels = {
|
|
782
|
-
[ChatAgentVoteDownReason.IncorrectCode]: ( localize(
|
|
783
|
-
[ChatAgentVoteDownReason.DidNotFollowInstructions]: ( localize(
|
|
784
|
-
[ChatAgentVoteDownReason.MissingContext]: ( localize(
|
|
785
|
-
[ChatAgentVoteDownReason.OffensiveOrUnsafe]: ( localize(
|
|
786
|
-
[ChatAgentVoteDownReason.PoorlyWrittenOrFormatted]: ( localize(
|
|
787
|
-
[ChatAgentVoteDownReason.RefusedAValidRequest]: ( localize(
|
|
788
|
-
[ChatAgentVoteDownReason.IncompleteCode]: ( localize(
|
|
789
|
-
[ChatAgentVoteDownReason.WillReportIssue]: ( localize(
|
|
790
|
-
[ChatAgentVoteDownReason.Other]: ( localize(
|
|
782
|
+
[ChatAgentVoteDownReason.IncorrectCode]: ( localize(7000, "Suggested incorrect code")),
|
|
783
|
+
[ChatAgentVoteDownReason.DidNotFollowInstructions]: ( localize(7001, "Didn't follow instructions")),
|
|
784
|
+
[ChatAgentVoteDownReason.MissingContext]: ( localize(7002, "Missing context")),
|
|
785
|
+
[ChatAgentVoteDownReason.OffensiveOrUnsafe]: ( localize(7003, "Offensive or unsafe")),
|
|
786
|
+
[ChatAgentVoteDownReason.PoorlyWrittenOrFormatted]: ( localize(7004, "Poorly written or formatted")),
|
|
787
|
+
[ChatAgentVoteDownReason.RefusedAValidRequest]: ( localize(7005, "Refused a valid request")),
|
|
788
|
+
[ChatAgentVoteDownReason.IncompleteCode]: ( localize(7006, "Incomplete code")),
|
|
789
|
+
[ChatAgentVoteDownReason.WillReportIssue]: ( localize(7007, "Report an issue")),
|
|
790
|
+
[ChatAgentVoteDownReason.Other]: ( localize(7008, "Other")),
|
|
791
791
|
};
|
|
792
792
|
let ChatVoteDownButton = class ChatVoteDownButton extends DropdownMenuActionViewItem {
|
|
793
793
|
constructor(action, options, commandService, issueService, logService, contextMenuService) {
|
|
@@ -122,7 +122,7 @@ let CodeBlockPart = class CodeBlockPart extends Disposable {
|
|
|
122
122
|
multipleDefinitions: 'goto',
|
|
123
123
|
multipleImplementations: 'goto',
|
|
124
124
|
},
|
|
125
|
-
ariaLabel: ( localize(
|
|
125
|
+
ariaLabel: ( localize(10625, 'Code block')),
|
|
126
126
|
overflowWidgetsDomNode,
|
|
127
127
|
...this.getEditorOptionsFromConfig(),
|
|
128
128
|
});
|
|
@@ -233,7 +233,7 @@ let CodeBlockPart = class CodeBlockPart extends Disposable {
|
|
|
233
233
|
const toolbarElt = this.toolbar.getElement();
|
|
234
234
|
if (this.accessibilityService.isScreenReaderOptimized()) {
|
|
235
235
|
toolbarElt.style.display = 'block';
|
|
236
|
-
toolbarElt.ariaLabel = this.configurationService.getValue(AccessibilityVerbositySettingId.Chat) ? ( localize(
|
|
236
|
+
toolbarElt.ariaLabel = this.configurationService.getValue(AccessibilityVerbositySettingId.Chat) ? ( localize(10626, 'Toolbar for code block which can be reached via tab')) : ( localize(10627, 'Code block toolbar'));
|
|
237
237
|
}
|
|
238
238
|
else {
|
|
239
239
|
toolbarElt.style.display = '';
|
|
@@ -284,7 +284,7 @@ let CodeBlockPart = class CodeBlockPart extends Disposable {
|
|
|
284
284
|
this.disposableStore.add(this.editor.onDidFocusEditorWidget(() => TabFocus.setTabFocusMode(true)));
|
|
285
285
|
this.disposableStore.add(this.editor.onDidBlurEditorWidget(() => TabFocus.setTabFocusMode(false)));
|
|
286
286
|
}
|
|
287
|
-
this.editor.updateOptions({ ariaLabel: ( localize(
|
|
287
|
+
this.editor.updateOptions({ ariaLabel: ( localize(10628, "Code block {0}", data.codeBlockIndex + 1)), readOnly: !editable });
|
|
288
288
|
if (data.hideToolbar) {
|
|
289
289
|
hide(this.toolbar.getElement());
|
|
290
290
|
}
|
|
@@ -331,8 +331,8 @@ let CodeBlockPart = class CodeBlockPart extends Disposable {
|
|
|
331
331
|
return '';
|
|
332
332
|
}
|
|
333
333
|
const referencesLabel = this.currentCodeBlockData.vulns.length > 1 ?
|
|
334
|
-
( localize(
|
|
335
|
-
( localize(
|
|
334
|
+
( localize(10629, "{0} vulnerabilities", this.currentCodeBlockData.vulns.length)) :
|
|
335
|
+
( localize(10630, "{0} vulnerability", 1));
|
|
336
336
|
const icon = (element) => element.vulnerabilitiesListExpanded ? Codicon.chevronDown : Codicon.chevronRight;
|
|
337
337
|
return `${referencesLabel} $(${icon(this.currentCodeBlockData.element).id})`;
|
|
338
338
|
}
|
|
@@ -405,7 +405,7 @@ let CodeCompareBlockPart = class CodeCompareBlockPart extends Disposable {
|
|
|
405
405
|
multipleDefinitions: 'goto',
|
|
406
406
|
multipleImplementations: 'goto',
|
|
407
407
|
},
|
|
408
|
-
ariaLabel: ( localize(
|
|
408
|
+
ariaLabel: ( localize(10625, 'Code block')),
|
|
409
409
|
overflowWidgetsDomNode,
|
|
410
410
|
...this.getEditorOptionsFromConfig(),
|
|
411
411
|
});
|
|
@@ -475,8 +475,8 @@ let CodeCompareBlockPart = class CodeCompareBlockPart extends Disposable {
|
|
|
475
475
|
diffCodeLens: false,
|
|
476
476
|
scrollBeyondLastLine: false,
|
|
477
477
|
stickyScroll: { enabled: false },
|
|
478
|
-
originalAriaLabel: ( localize(
|
|
479
|
-
modifiedAriaLabel: ( localize(
|
|
478
|
+
originalAriaLabel: ( localize(10631, 'Original')),
|
|
479
|
+
modifiedAriaLabel: ( localize(10632, 'Modified')),
|
|
480
480
|
diffAlgorithm: 'advanced',
|
|
481
481
|
readOnly: false,
|
|
482
482
|
isInEmbeddedEditor: true,
|
|
@@ -508,7 +508,7 @@ let CodeCompareBlockPart = class CodeCompareBlockPart extends Disposable {
|
|
|
508
508
|
const toolbarElt = this.toolbar.getElement();
|
|
509
509
|
if (this.accessibilityService.isScreenReaderOptimized()) {
|
|
510
510
|
toolbarElt.style.display = 'block';
|
|
511
|
-
toolbarElt.ariaLabel = this.configurationService.getValue(AccessibilityVerbositySettingId.Chat) ? ( localize(
|
|
511
|
+
toolbarElt.ariaLabel = this.configurationService.getValue(AccessibilityVerbositySettingId.Chat) ? ( localize(10626, 'Toolbar for code block which can be reached via tab')) : ( localize(10627, 'Code block toolbar'));
|
|
512
512
|
}
|
|
513
513
|
else {
|
|
514
514
|
toolbarElt.style.display = '';
|
|
@@ -550,7 +550,7 @@ let CodeCompareBlockPart = class CodeCompareBlockPart extends Disposable {
|
|
|
550
550
|
}
|
|
551
551
|
await this.updateEditor(data, token);
|
|
552
552
|
this.layout(width);
|
|
553
|
-
this.diffEditor.updateOptions({ ariaLabel: ( localize(
|
|
553
|
+
this.diffEditor.updateOptions({ ariaLabel: ( localize(10633, "Code Edits")) });
|
|
554
554
|
this.resourceLabel.element.setFile(data.edit.uri, {
|
|
555
555
|
fileKind: FileKind.FILE,
|
|
556
556
|
fileDecorations: { colors: true, badges: false }
|
|
@@ -577,14 +577,14 @@ let CodeCompareBlockPart = class CodeCompareBlockPart extends Disposable {
|
|
|
577
577
|
const uriLabel = this.labelService.getUriLabel(data.edit.uri, { relative: true, noPrefix: true });
|
|
578
578
|
let template;
|
|
579
579
|
if (data.edit.state.applied === 1) {
|
|
580
|
-
template = ( localize(
|
|
580
|
+
template = ( localize(10634, "Made 1 change in [[``{0}``]]", uriLabel));
|
|
581
581
|
}
|
|
582
582
|
else if (data.edit.state.applied < 0) {
|
|
583
|
-
template = ( localize(
|
|
583
|
+
template = ( localize(10635, "Edits in [[``{0}``]] have been rejected", uriLabel));
|
|
584
584
|
}
|
|
585
585
|
else {
|
|
586
586
|
template = ( localize(
|
|
587
|
-
|
|
587
|
+
10636,
|
|
588
588
|
"Made {0} changes in [[``{1}``]]",
|
|
589
589
|
data.edit.state.applied,
|
|
590
590
|
uriLabel
|
|
@@ -711,8 +711,8 @@ let DefaultChatTextEditor = class DefaultChatTextEditor {
|
|
|
711
711
|
async _checkSha1(model, item) {
|
|
712
712
|
if (item.state?.sha1 && this._sha1.computeSHA1(model) && this._sha1.computeSHA1(model) !== item.state.sha1) {
|
|
713
713
|
const result = await this.dialogService.confirm({
|
|
714
|
-
message: ( localize(
|
|
715
|
-
detail: ( localize(
|
|
714
|
+
message: ( localize(10637, "The original file has been modified.")),
|
|
715
|
+
detail: ( localize(10638, "Do you want to apply the changes anyway?")),
|
|
716
716
|
});
|
|
717
717
|
if (!result.confirmed) {
|
|
718
718
|
return false;
|
|
@@ -109,9 +109,9 @@ function isSelectAndInsertFileActionContext(context) {
|
|
|
109
109
|
class SelectAndInsertFileAction extends Action2 {
|
|
110
110
|
static { this.Name = 'files'; }
|
|
111
111
|
static { this.Item = {
|
|
112
|
-
label: ( localize(
|
|
112
|
+
label: ( localize(6978, 'All Files')),
|
|
113
113
|
description: ( localize(
|
|
114
|
-
|
|
114
|
+
6979,
|
|
115
115
|
'Search for relevant files in the workspace and provide context from them'
|
|
116
116
|
)),
|
|
117
117
|
}; }
|
|
@@ -11,10 +11,10 @@ import '../../../../platform/theme/common/colors/minimapColors.js';
|
|
|
11
11
|
import { badgeBackground, badgeForeground } from '../../../../platform/theme/common/colors/miscColors.js';
|
|
12
12
|
import '../../../../platform/theme/common/colors/quickpickColors.js';
|
|
13
13
|
import '../../../../platform/theme/common/colors/searchColors.js';
|
|
14
|
-
registerColor('chat.requestBorder', { dark: ( (new Color( (new RGBA(255, 255, 255, 0.10))))), light: ( (new Color( (new RGBA(0, 0, 0, 0.10))))), hcDark: contrastBorder, hcLight: contrastBorder, }, ( localize(
|
|
15
|
-
const chatRequestBackground = registerColor('chat.requestBackground', { dark: ( (transparent(editorBackground, 0.62))), light: ( (transparent(editorBackground, 0.62))), hcDark: editorWidgetBackground, hcLight: null }, ( localize(
|
|
16
|
-
const chatSlashCommandBackground = registerColor('chat.slashCommandBackground', { dark: '#34414b8f', light: '#d2ecff99', hcDark: Color.white, hcLight: badgeBackground }, ( localize(
|
|
17
|
-
const chatSlashCommandForeground = registerColor('chat.slashCommandForeground', { dark: '#40A6FF', light: '#306CA2', hcDark: Color.black, hcLight: badgeForeground }, ( localize(
|
|
18
|
-
registerColor('chat.avatarBackground', { dark: '#1f1f1f', light: '#f2f2f2', hcDark: Color.black, hcLight: Color.white, }, ( localize(
|
|
19
|
-
registerColor('chat.avatarForeground', foreground, ( localize(
|
|
14
|
+
registerColor('chat.requestBorder', { dark: ( (new Color( (new RGBA(255, 255, 255, 0.10))))), light: ( (new Color( (new RGBA(0, 0, 0, 0.10))))), hcDark: contrastBorder, hcLight: contrastBorder, }, ( localize(7176, 'The border color of a chat request.')));
|
|
15
|
+
const chatRequestBackground = registerColor('chat.requestBackground', { dark: ( (transparent(editorBackground, 0.62))), light: ( (transparent(editorBackground, 0.62))), hcDark: editorWidgetBackground, hcLight: null }, ( localize(7177, 'The background color of a chat request.')));
|
|
16
|
+
const chatSlashCommandBackground = registerColor('chat.slashCommandBackground', { dark: '#34414b8f', light: '#d2ecff99', hcDark: Color.white, hcLight: badgeBackground }, ( localize(7178, 'The background color of a chat slash command.')));
|
|
17
|
+
const chatSlashCommandForeground = registerColor('chat.slashCommandForeground', { dark: '#40A6FF', light: '#306CA2', hcDark: Color.black, hcLight: badgeForeground }, ( localize(7179, 'The foreground color of a chat slash command.')));
|
|
18
|
+
registerColor('chat.avatarBackground', { dark: '#1f1f1f', light: '#f2f2f2', hcDark: Color.black, hcLight: Color.white, }, ( localize(7180, 'The background color of a chat avatar.')));
|
|
19
|
+
registerColor('chat.avatarForeground', foreground, ( localize(7181, 'The foreground color of a chat avatar.')));
|
|
20
20
|
export { chatRequestBackground, chatSlashCommandBackground, chatSlashCommandForeground };
|
|
@@ -4,62 +4,62 @@ const CONTEXT_RESPONSE_VOTE = ( (new RawContextKey(
|
|
|
4
4
|
'chatSessionResponseVote',
|
|
5
5
|
'',
|
|
6
6
|
{ type: 'string', description: ( localize(
|
|
7
|
-
|
|
7
|
+
7009,
|
|
8
8
|
"When the response has been voted up, is set to 'up'. When voted down, is set to 'down'. Otherwise an empty string."
|
|
9
9
|
)) }
|
|
10
10
|
)));
|
|
11
|
-
const CONTEXT_VOTE_UP_ENABLED = ( (new RawContextKey('chatVoteUpEnabled', false, { type: 'boolean', description: ( localize(
|
|
11
|
+
const CONTEXT_VOTE_UP_ENABLED = ( (new RawContextKey('chatVoteUpEnabled', false, { type: 'boolean', description: ( localize(7010, "True when the chat vote up action is enabled.")) })));
|
|
12
12
|
const CONTEXT_RESPONSE_DETECTED_AGENT_COMMAND = ( (new RawContextKey(
|
|
13
13
|
'chatSessionResponseDetectedAgentOrCommand',
|
|
14
14
|
false,
|
|
15
|
-
{ type: 'boolean', description: ( localize(
|
|
15
|
+
{ type: 'boolean', description: ( localize(7011, "When the agent or command was automatically detected")) }
|
|
16
16
|
)));
|
|
17
17
|
const CONTEXT_CHAT_RESPONSE_SUPPORT_ISSUE_REPORTING = ( (new RawContextKey(
|
|
18
18
|
'chatResponseSupportsIssueReporting',
|
|
19
19
|
false,
|
|
20
|
-
{ type: 'boolean', description: ( localize(
|
|
20
|
+
{ type: 'boolean', description: ( localize(7012, "True when the current chat response supports issue reporting.")) }
|
|
21
21
|
)));
|
|
22
22
|
const CONTEXT_RESPONSE_FILTERED = ( (new RawContextKey(
|
|
23
23
|
'chatSessionResponseFiltered',
|
|
24
24
|
false,
|
|
25
|
-
{ type: 'boolean', description: ( localize(
|
|
25
|
+
{ type: 'boolean', description: ( localize(7013, "True when the chat response was filtered out by the server.")) }
|
|
26
26
|
)));
|
|
27
27
|
const CONTEXT_RESPONSE_ERROR = ( (new RawContextKey(
|
|
28
28
|
'chatSessionResponseError',
|
|
29
29
|
false,
|
|
30
|
-
{ type: 'boolean', description: ( localize(
|
|
30
|
+
{ type: 'boolean', description: ( localize(7014, "True when the chat response resulted in an error.")) }
|
|
31
31
|
)));
|
|
32
32
|
const CONTEXT_CHAT_REQUEST_IN_PROGRESS = ( (new RawContextKey(
|
|
33
33
|
'chatSessionRequestInProgress',
|
|
34
34
|
false,
|
|
35
|
-
{ type: 'boolean', description: ( localize(
|
|
35
|
+
{ type: 'boolean', description: ( localize(7015, "True when the current request is still in progress.")) }
|
|
36
36
|
)));
|
|
37
|
-
const CONTEXT_RESPONSE = ( (new RawContextKey('chatResponse', false, { type: 'boolean', description: ( localize(
|
|
38
|
-
const CONTEXT_REQUEST = ( (new RawContextKey('chatRequest', false, { type: 'boolean', description: ( localize(
|
|
39
|
-
const CONTEXT_CHAT_EDIT_APPLIED = ( (new RawContextKey('chatEditApplied', false, { type: 'boolean', description: ( localize(
|
|
40
|
-
const CONTEXT_CHAT_INPUT_HAS_TEXT = ( (new RawContextKey('chatInputHasText', false, { type: 'boolean', description: ( localize(
|
|
41
|
-
const CONTEXT_CHAT_INPUT_HAS_FOCUS = ( (new RawContextKey('chatInputHasFocus', false, { type: 'boolean', description: ( localize(
|
|
42
|
-
const CONTEXT_IN_CHAT_INPUT = ( (new RawContextKey('inChatInput', false, { type: 'boolean', description: ( localize(
|
|
43
|
-
const CONTEXT_IN_CHAT_SESSION = ( (new RawContextKey('inChat', false, { type: 'boolean', description: ( localize(
|
|
37
|
+
const CONTEXT_RESPONSE = ( (new RawContextKey('chatResponse', false, { type: 'boolean', description: ( localize(7016, "The chat item is a response.")) })));
|
|
38
|
+
const CONTEXT_REQUEST = ( (new RawContextKey('chatRequest', false, { type: 'boolean', description: ( localize(7017, "The chat item is a request")) })));
|
|
39
|
+
const CONTEXT_CHAT_EDIT_APPLIED = ( (new RawContextKey('chatEditApplied', false, { type: 'boolean', description: ( localize(7018, "True when the chat text edits have been applied.")) })));
|
|
40
|
+
const CONTEXT_CHAT_INPUT_HAS_TEXT = ( (new RawContextKey('chatInputHasText', false, { type: 'boolean', description: ( localize(7019, "True when the chat input has text.")) })));
|
|
41
|
+
const CONTEXT_CHAT_INPUT_HAS_FOCUS = ( (new RawContextKey('chatInputHasFocus', false, { type: 'boolean', description: ( localize(7020, "True when the chat input has focus.")) })));
|
|
42
|
+
const CONTEXT_IN_CHAT_INPUT = ( (new RawContextKey('inChatInput', false, { type: 'boolean', description: ( localize(7021, "True when focus is in the chat input, false otherwise.")) })));
|
|
43
|
+
const CONTEXT_IN_CHAT_SESSION = ( (new RawContextKey('inChat', false, { type: 'boolean', description: ( localize(7022, "True when focus is in the chat widget, false otherwise.")) })));
|
|
44
44
|
const CONTEXT_CHAT_ENABLED = ( (new RawContextKey('chatIsEnabled', false, { type: 'boolean', description: ( localize(
|
|
45
|
-
|
|
45
|
+
7023,
|
|
46
46
|
"True when chat is enabled because a default chat participant is activated with an implementation."
|
|
47
47
|
)) })));
|
|
48
48
|
const CONTEXT_CHAT_PANEL_PARTICIPANT_REGISTERED = ( (new RawContextKey(
|
|
49
49
|
'chatPanelParticipantRegistered',
|
|
50
50
|
false,
|
|
51
|
-
{ type: 'boolean', description: ( localize(
|
|
51
|
+
{ type: 'boolean', description: ( localize(7024, "True when a default chat participant is registered for the panel.")) }
|
|
52
52
|
)));
|
|
53
53
|
const CONTEXT_CHAT_EXTENSION_INVALID = ( (new RawContextKey(
|
|
54
54
|
'chatExtensionInvalid',
|
|
55
55
|
false,
|
|
56
56
|
{ type: 'boolean', description: ( localize(
|
|
57
|
-
|
|
57
|
+
7025,
|
|
58
58
|
"True when the installed chat extension is invalid and needs to be updated."
|
|
59
59
|
)) }
|
|
60
60
|
)));
|
|
61
61
|
const CONTEXT_CHAT_INPUT_CURSOR_AT_TOP = ( (new RawContextKey('chatCursorAtTop', false)));
|
|
62
62
|
const CONTEXT_CHAT_INPUT_HAS_AGENT = ( (new RawContextKey('chatInputHasAgent', false)));
|
|
63
63
|
const CONTEXT_CHAT_LOCATION = ( (new RawContextKey('chatLocation', undefined)));
|
|
64
|
-
const CONTEXT_IN_QUICK_CHAT = ( (new RawContextKey('quickChatHasFocus', false, { type: 'boolean', description: ( localize(
|
|
64
|
+
const CONTEXT_IN_QUICK_CHAT = ( (new RawContextKey('quickChatHasFocus', false, { type: 'boolean', description: ( localize(7026, "True when the quick chat UI has focus, false otherwise.")) })));
|
|
65
65
|
export { CONTEXT_CHAT_EDIT_APPLIED, CONTEXT_CHAT_ENABLED, CONTEXT_CHAT_EXTENSION_INVALID, CONTEXT_CHAT_INPUT_CURSOR_AT_TOP, CONTEXT_CHAT_INPUT_HAS_AGENT, CONTEXT_CHAT_INPUT_HAS_FOCUS, CONTEXT_CHAT_INPUT_HAS_TEXT, CONTEXT_CHAT_LOCATION, CONTEXT_CHAT_PANEL_PARTICIPANT_REGISTERED, CONTEXT_CHAT_REQUEST_IN_PROGRESS, CONTEXT_CHAT_RESPONSE_SUPPORT_ISSUE_REPORTING, CONTEXT_IN_CHAT_INPUT, CONTEXT_IN_CHAT_SESSION, CONTEXT_IN_QUICK_CHAT, CONTEXT_REQUEST, CONTEXT_RESPONSE, CONTEXT_RESPONSE_DETECTED_AGENT_COMMAND, CONTEXT_RESPONSE_ERROR, CONTEXT_RESPONSE_FILTERED, CONTEXT_RESPONSE_VOTE, CONTEXT_VOTE_UP_ENABLED };
|
|
@@ -156,7 +156,7 @@ class Response extends Disposable {
|
|
|
156
156
|
return part.command.title;
|
|
157
157
|
}
|
|
158
158
|
else if (part.kind === 'textEditGroup') {
|
|
159
|
-
return ( localize(
|
|
159
|
+
return ( localize(7027, "Made changes."));
|
|
160
160
|
}
|
|
161
161
|
else if (part.kind === 'progressMessage') {
|
|
162
162
|
return '';
|
|
@@ -866,8 +866,8 @@ function getCodeCitationsMessage(citations) {
|
|
|
866
866
|
}
|
|
867
867
|
const licenseTypes = citations.reduce((set, c) => set.add(c.license), ( (new Set())));
|
|
868
868
|
const label = licenseTypes.size === 1 ?
|
|
869
|
-
( localize(
|
|
870
|
-
( localize(
|
|
869
|
+
( localize(7028, "Similar code found with 1 license type", licenseTypes.size)) :
|
|
870
|
+
( localize(7029, "Similar code found with {0} license types", licenseTypes.size));
|
|
871
871
|
return label;
|
|
872
872
|
}
|
|
873
873
|
export { ChatModel, ChatModelInitState, ChatRequestModel, ChatRequestRemovalReason, ChatResponseModel, ChatWelcomeMessageModel, Response, appendMarkdownString, canMergeMarkdownStrings, getCodeCitationsMessage, isExportableSessionData, isSerializableSessionData, normalizeSerializableChatData, updateRanges };
|
|
@@ -20,14 +20,14 @@ const languageModelType = {
|
|
|
20
20
|
properties: {
|
|
21
21
|
vendor: {
|
|
22
22
|
type: 'string',
|
|
23
|
-
description: ( localize(
|
|
23
|
+
description: ( localize(3052, "A globally unique vendor of language models."))
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
const languageModelExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
28
28
|
extensionPoint: 'languageModels',
|
|
29
29
|
jsonSchema: {
|
|
30
|
-
description: ( localize(
|
|
30
|
+
description: ( localize(3053, "Contribute language models of a specific vendor.")),
|
|
31
31
|
oneOf: [
|
|
32
32
|
languageModelType,
|
|
33
33
|
{
|
|
@@ -55,24 +55,24 @@ let LanguageModelsService = class LanguageModelsService {
|
|
|
55
55
|
this._vendors.clear();
|
|
56
56
|
for (const extension of extensions) {
|
|
57
57
|
if (!isProposedApiEnabled(extension.description, 'chatProvider')) {
|
|
58
|
-
extension.collector.error(( localize(
|
|
58
|
+
extension.collector.error(( localize(3054, "This contribution point requires the 'chatProvider' proposal.")));
|
|
59
59
|
continue;
|
|
60
60
|
}
|
|
61
61
|
for (const item of Iterable.wrap(extension.value)) {
|
|
62
62
|
if (( (this._vendors.has(item.vendor)))) {
|
|
63
63
|
extension.collector.error(( localize(
|
|
64
|
-
|
|
64
|
+
3055,
|
|
65
65
|
"The vendor '{0}' is already registered and cannot be registered twice",
|
|
66
66
|
item.vendor
|
|
67
67
|
)));
|
|
68
68
|
continue;
|
|
69
69
|
}
|
|
70
70
|
if (isFalsyOrWhitespace(item.vendor)) {
|
|
71
|
-
extension.collector.error(( localize(
|
|
71
|
+
extension.collector.error(( localize(3056, "The vendor field cannot be empty.")));
|
|
72
72
|
continue;
|
|
73
73
|
}
|
|
74
74
|
if (item.vendor.trim() !== item.vendor) {
|
|
75
|
-
extension.collector.error(( localize(
|
|
75
|
+
extension.collector.error(( localize(3057, "The vendor field cannot start or end with whitespace.")));
|
|
76
76
|
continue;
|
|
77
77
|
}
|
|
78
78
|
this._vendors.add(item.vendor);
|
|
@@ -16,17 +16,17 @@ const createCodeActionsAutoSave = (description) => {
|
|
|
16
16
|
enum: ['always', 'explicit', 'never', true, false],
|
|
17
17
|
enumDescriptions: [
|
|
18
18
|
( localize(
|
|
19
|
-
|
|
19
|
+
4517,
|
|
20
20
|
'Triggers Code Actions on explicit saves and auto saves triggered by window or focus changes.'
|
|
21
21
|
)),
|
|
22
|
-
( localize(
|
|
23
|
-
( localize(
|
|
22
|
+
( localize(4518, 'Triggers Code Actions only when explicitly saved')),
|
|
23
|
+
( localize(4519, 'Never triggers Code Actions on save')),
|
|
24
24
|
( localize(
|
|
25
|
-
|
|
25
|
+
4520,
|
|
26
26
|
'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "explicit".'
|
|
27
27
|
)),
|
|
28
28
|
( localize(
|
|
29
|
-
|
|
29
|
+
4521,
|
|
30
30
|
'Never triggers Code Actions on save. This value will be deprecated in favor of "never".'
|
|
31
31
|
))
|
|
32
32
|
],
|
|
@@ -39,14 +39,14 @@ const createNotebookCodeActionsAutoSave = (description) => {
|
|
|
39
39
|
type: ['string', 'boolean'],
|
|
40
40
|
enum: ['explicit', 'never', true, false],
|
|
41
41
|
enumDescriptions: [
|
|
42
|
-
( localize(
|
|
43
|
-
( localize(
|
|
42
|
+
( localize(4522, 'Triggers Code Actions only when explicitly saved.')),
|
|
43
|
+
( localize(4523, 'Never triggers Code Actions on save.')),
|
|
44
44
|
( localize(
|
|
45
|
-
|
|
45
|
+
4524,
|
|
46
46
|
'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "explicit".'
|
|
47
47
|
)),
|
|
48
48
|
( localize(
|
|
49
|
-
|
|
49
|
+
4525,
|
|
50
50
|
'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "never".'
|
|
51
51
|
))
|
|
52
52
|
],
|
|
@@ -68,7 +68,7 @@ const codeActionsOnSaveSchema = {
|
|
|
68
68
|
}
|
|
69
69
|
],
|
|
70
70
|
markdownDescription: ( localize(
|
|
71
|
-
|
|
71
|
+
4526,
|
|
72
72
|
'Run Code Actions for the editor on save. Code Actions must be specified and the editor must not be shutting down. Example: `"source.organizeImports": "explicit" `'
|
|
73
73
|
)),
|
|
74
74
|
type: ['object', 'array'],
|
|
@@ -99,7 +99,7 @@ const notebookCodeActionsOnSaveSchema = {
|
|
|
99
99
|
}
|
|
100
100
|
],
|
|
101
101
|
markdownDescription: ( localize(
|
|
102
|
-
|
|
102
|
+
4527,
|
|
103
103
|
'Run a series of Code Actions for a notebook on save. Code Actions must be specified, the file must not be saved after delay, and the editor must not be shutting down. Example: `"notebook.source.organizeImports": "explicit"`'
|
|
104
104
|
)),
|
|
105
105
|
type: 'object',
|
|
@@ -154,12 +154,12 @@ let CodeActionsContribution = class CodeActionsContribution extends Disposable {
|
|
|
154
154
|
for (const [sourceAction, props] of this.getSourceActions(codeActionContributions)) {
|
|
155
155
|
this.settings.add(sourceAction);
|
|
156
156
|
newProperties[sourceAction] = createCodeActionsAutoSave(( localize(
|
|
157
|
-
|
|
157
|
+
4528,
|
|
158
158
|
"Controls whether '{0}' actions should be run on file save.",
|
|
159
159
|
props.title
|
|
160
160
|
)));
|
|
161
161
|
newNotebookProperties[sourceAction] = createNotebookCodeActionsAutoSave(( localize(
|
|
162
|
-
|
|
162
|
+
4528,
|
|
163
163
|
"Controls whether '{0}' actions should be run on file save.",
|
|
164
164
|
props.title
|
|
165
165
|
)));
|
|
@@ -175,12 +175,12 @@ let CodeActionsContribution = class CodeActionsContribution extends Disposable {
|
|
|
175
175
|
for (const codeActionKind of this.settings) {
|
|
176
176
|
if (!properties[codeActionKind]) {
|
|
177
177
|
properties[codeActionKind] = createCodeActionsAutoSave(( localize(
|
|
178
|
-
|
|
178
|
+
4528,
|
|
179
179
|
"Controls whether '{0}' actions should be run on file save.",
|
|
180
180
|
codeActionKind
|
|
181
181
|
)));
|
|
182
182
|
notebookProperties[codeActionKind] = createNotebookCodeActionsAutoSave(( localize(
|
|
183
|
-
|
|
183
|
+
4528,
|
|
184
184
|
"Controls whether '{0}' actions should be run on file save.",
|
|
185
185
|
codeActionKind
|
|
186
186
|
)));
|
|
@@ -15,14 +15,14 @@ var CodeActionExtensionPointFields;
|
|
|
15
15
|
})(CodeActionExtensionPointFields || (CodeActionExtensionPointFields = {}))));
|
|
16
16
|
const codeActionsExtensionPointSchema = ( (Object.freeze({
|
|
17
17
|
type: 'array',
|
|
18
|
-
markdownDescription: ( localize(
|
|
18
|
+
markdownDescription: ( localize(4501, "Configure which editor to use for a resource.")),
|
|
19
19
|
items: {
|
|
20
20
|
type: 'object',
|
|
21
21
|
required: [CodeActionExtensionPointFields.languages, CodeActionExtensionPointFields.actions],
|
|
22
22
|
properties: {
|
|
23
23
|
[CodeActionExtensionPointFields.languages]: {
|
|
24
24
|
type: 'array',
|
|
25
|
-
description: ( localize(
|
|
25
|
+
description: ( localize(4502, "Language modes that the code actions are enabled for.")),
|
|
26
26
|
items: { type: 'string' }
|
|
27
27
|
},
|
|
28
28
|
[CodeActionExtensionPointFields.actions]: {
|
|
@@ -31,15 +31,15 @@ const codeActionsExtensionPointSchema = ( (Object.freeze({
|
|
|
31
31
|
properties: {
|
|
32
32
|
[CodeActionExtensionPointFields.kind]: {
|
|
33
33
|
type: 'string',
|
|
34
|
-
markdownDescription: ( localize(
|
|
34
|
+
markdownDescription: ( localize(4503, "`CodeActionKind` of the contributed code action.")),
|
|
35
35
|
},
|
|
36
36
|
[CodeActionExtensionPointFields.title]: {
|
|
37
37
|
type: 'string',
|
|
38
|
-
description: ( localize(
|
|
38
|
+
description: ( localize(4504, "Label for the code action used in the UI.")),
|
|
39
39
|
},
|
|
40
40
|
[CodeActionExtensionPointFields.description]: {
|
|
41
41
|
type: 'string',
|
|
42
|
-
description: ( localize(
|
|
42
|
+
description: ( localize(4505, "Description of what the code action does.")),
|
|
43
43
|
},
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -68,10 +68,10 @@ class CodeActionsTableRenderer extends Disposable {
|
|
|
68
68
|
contribution => ( (contribution.actions.map(action => ({ ...action, languages: contribution.languages }))))
|
|
69
69
|
))).flat();
|
|
70
70
|
const headers = [
|
|
71
|
-
( localize(
|
|
72
|
-
( localize(
|
|
73
|
-
( localize(
|
|
74
|
-
( localize(
|
|
71
|
+
( localize(4506, "Title")),
|
|
72
|
+
( localize(4507, "Kind")),
|
|
73
|
+
( localize(4508, "Description")),
|
|
74
|
+
( localize(4509, "Languages"))
|
|
75
75
|
];
|
|
76
76
|
const rows = ( (flatActions.sort((a, b) => a.title.localeCompare(b.title))
|
|
77
77
|
.map(action => {
|
|
@@ -93,7 +93,7 @@ class CodeActionsTableRenderer extends Disposable {
|
|
|
93
93
|
}
|
|
94
94
|
( (Registry.as(Extensions.ExtensionFeaturesRegistry))).registerExtensionFeature({
|
|
95
95
|
id: 'codeActions',
|
|
96
|
-
label: ( localize(
|
|
96
|
+
label: ( localize(4510, "Code Actions")),
|
|
97
97
|
access: {
|
|
98
98
|
canToggle: false,
|
|
99
99
|
},
|
|
@@ -10,14 +10,14 @@ var DocumentationExtensionPointFields;
|
|
|
10
10
|
)));
|
|
11
11
|
const documentationExtensionPointSchema = ( (Object.freeze({
|
|
12
12
|
type: 'object',
|
|
13
|
-
description: ( localize(
|
|
13
|
+
description: ( localize(4511, "Contributed documentation.")),
|
|
14
14
|
properties: {
|
|
15
15
|
'refactoring': {
|
|
16
16
|
type: 'array',
|
|
17
|
-
description: ( localize(
|
|
17
|
+
description: ( localize(4512, "Contributed documentation for refactorings.")),
|
|
18
18
|
items: {
|
|
19
19
|
type: 'object',
|
|
20
|
-
description: ( localize(
|
|
20
|
+
description: ( localize(4513, "Contributed documentation for refactoring.")),
|
|
21
21
|
required: [
|
|
22
22
|
DocumentationExtensionPointFields.title,
|
|
23
23
|
DocumentationExtensionPointFields.when,
|
|
@@ -26,15 +26,15 @@ const documentationExtensionPointSchema = ( (Object.freeze({
|
|
|
26
26
|
properties: {
|
|
27
27
|
[DocumentationExtensionPointFields.title]: {
|
|
28
28
|
type: 'string',
|
|
29
|
-
description: ( localize(
|
|
29
|
+
description: ( localize(4514, "Label for the documentation used in the UI.")),
|
|
30
30
|
},
|
|
31
31
|
[DocumentationExtensionPointFields.when]: {
|
|
32
32
|
type: 'string',
|
|
33
|
-
description: ( localize(
|
|
33
|
+
description: ( localize(4515, "When clause.")),
|
|
34
34
|
},
|
|
35
35
|
[DocumentationExtensionPointFields.command]: {
|
|
36
36
|
type: 'string',
|
|
37
|
-
description: ( localize(
|
|
37
|
+
description: ( localize(4516, "Command executed.")),
|
|
38
38
|
},
|
|
39
39
|
},
|
|
40
40
|
}
|
|
@@ -27,12 +27,12 @@ import { ThemeIcon } from '../../../../../base/common/themables.js';
|
|
|
27
27
|
import { isWindows } from '../../../../../base/common/platform.js';
|
|
28
28
|
var EditorDictation_1;
|
|
29
29
|
const EDITOR_DICTATION_IN_PROGRESS = ( (new RawContextKey('editorDictation.inProgress', false)));
|
|
30
|
-
const VOICE_CATEGORY = ( localize2(
|
|
30
|
+
const VOICE_CATEGORY = ( localize2(10466, "Voice"));
|
|
31
31
|
class EditorDictationStartAction extends EditorAction2 {
|
|
32
32
|
constructor() {
|
|
33
33
|
super({
|
|
34
34
|
id: 'workbench.action.editorDictation.start',
|
|
35
|
-
title: ( localize2(
|
|
35
|
+
title: ( localize2(10467, "Start Dictation in Editor")),
|
|
36
36
|
category: VOICE_CATEGORY,
|
|
37
37
|
precondition: ( (ContextKeyExpr.and(
|
|
38
38
|
HasSpeechProvider,
|
|
@@ -72,7 +72,7 @@ class EditorDictationStopAction extends EditorAction2 {
|
|
|
72
72
|
constructor() {
|
|
73
73
|
super({
|
|
74
74
|
id: EditorDictationStopAction.ID,
|
|
75
|
-
title: ( localize2(
|
|
75
|
+
title: ( localize2(10468, "Stop Dictation in Editor")),
|
|
76
76
|
category: VOICE_CATEGORY,
|
|
77
77
|
precondition: EDITOR_DICTATION_IN_PROGRESS,
|
|
78
78
|
f1: true,
|
|
@@ -97,7 +97,7 @@ class DictationWidget extends Disposable {
|
|
|
97
97
|
const stopActionKeybinding = keybindingService.lookupKeybinding(EditorDictationStopAction.ID)?.getLabel();
|
|
98
98
|
actionBar.push(toAction({
|
|
99
99
|
id: EditorDictationStopAction.ID,
|
|
100
|
-
label: stopActionKeybinding ? ( localize(
|
|
100
|
+
label: stopActionKeybinding ? ( localize(10469, "Stop Dictation ({0})", stopActionKeybinding)) : ( localize(10470, "Stop Dictation")),
|
|
101
101
|
class: ThemeIcon.asClassName(Codicon.micFilled),
|
|
102
102
|
run: () => EditorDictation.get(editor)?.stop()
|
|
103
103
|
}), { icon: true, label: false, keybinding: stopActionKeybinding });
|