@codingame/monaco-vscode-api 8.0.3 → 8.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -8
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +3 -3
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -2
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +6 -6
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +6 -6
- package/vscode/src/vs/base/common/actions.js +1 -1
- package/vscode/src/vs/base/common/date.js +59 -59
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +5 -5
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/vscode/src/vs/editor/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 +49 -49
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +27 -27
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +28 -28
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +7 -7
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +27 -27
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/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/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +23 -23
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/commands.js +11 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys.js +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/commands.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/consts.js +2 -2
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +17 -17
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +16 -16
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/platform/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/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/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 +19 -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/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/request/common/request.js +14 -14
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- 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/extHostLanguageFeatures.js +2 -2
- 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/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- 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/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +15 -15
- 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/notificationsToasts.js +2 -2
- 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/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/workbench.contribution.js +219 -216
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- 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/editor.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +127 -127
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +9 -9
- 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/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/find/simpleFindWidget.js +10 -10
- 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/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/common/commentContextKeys.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- 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/debugIcons.js +57 -57
- 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/extensions/browser/extensionsActions.js +166 -166
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
- 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/fileImportExport.js +33 -33
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +57 -57
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- 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/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +29 -29
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/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/foldingController.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/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 +1 -1
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +12 -12
- 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/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/symbolsQuickAccess.js +2 -2
- 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/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/terminalContextKey.js +16 -16
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +28 -28
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +1 -1
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/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/search/common/queryBuilder.js +1 -1
- 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/userDataSync/common/userDataSync.js +11 -11
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +17 -17
|
@@ -25,13 +25,13 @@ import { IViewsService } from '../../../../services/views/common/viewsService.se
|
|
|
25
25
|
function isChatViewTitleActionContext(obj) {
|
|
26
26
|
return obj instanceof Object && 'chatView' in obj;
|
|
27
27
|
}
|
|
28
|
-
const CHAT_CATEGORY = ( localize2(
|
|
28
|
+
const CHAT_CATEGORY = ( localize2(4617, 'Chat'));
|
|
29
29
|
const CHAT_OPEN_ACTION_ID = 'workbench.action.chat.open';
|
|
30
30
|
class OpenChatGlobalAction extends Action2 {
|
|
31
31
|
constructor() {
|
|
32
32
|
super({
|
|
33
33
|
id: CHAT_OPEN_ACTION_ID,
|
|
34
|
-
title: ( localize2(
|
|
34
|
+
title: ( localize2(4618, "Open Chat")),
|
|
35
35
|
icon: Codicon.commentDiscussion,
|
|
36
36
|
f1: false,
|
|
37
37
|
category: CHAT_CATEGORY,
|
|
@@ -71,7 +71,7 @@ class ChatHistoryAction extends Action2 {
|
|
|
71
71
|
constructor() {
|
|
72
72
|
super({
|
|
73
73
|
id: `workbench.action.chat.history`,
|
|
74
|
-
title: ( localize2(
|
|
74
|
+
title: ( localize2(4619, "Show Chats...")),
|
|
75
75
|
menu: {
|
|
76
76
|
id: MenuId.ViewTitle,
|
|
77
77
|
when: ( (ContextKeyExpr.equals('view', CHAT_VIEW_ID))),
|
|
@@ -91,11 +91,11 @@ class ChatHistoryAction extends Action2 {
|
|
|
91
91
|
const editorService = accessor.get(IEditorService);
|
|
92
92
|
const openInEditorButton = {
|
|
93
93
|
iconClass: ThemeIcon.asClassName(Codicon.file),
|
|
94
|
-
tooltip: ( localize(
|
|
94
|
+
tooltip: ( localize(4620, "Open in Editor")),
|
|
95
95
|
};
|
|
96
96
|
const deleteButton = {
|
|
97
97
|
iconClass: ThemeIcon.asClassName(Codicon.x),
|
|
98
|
-
tooltip: ( localize(
|
|
98
|
+
tooltip: ( localize(4621, "Delete")),
|
|
99
99
|
};
|
|
100
100
|
const getPicks = () => {
|
|
101
101
|
const items = chatService.getHistory();
|
|
@@ -112,7 +112,7 @@ class ChatHistoryAction extends Action2 {
|
|
|
112
112
|
};
|
|
113
113
|
const store = ( (new DisposableStore()));
|
|
114
114
|
const picker = store.add(quickInputService.createQuickPick());
|
|
115
|
-
picker.placeholder = ( localize(
|
|
115
|
+
picker.placeholder = ( localize(4622, "Switch to chat"));
|
|
116
116
|
picker.items = getPicks();
|
|
117
117
|
store.add(picker.onDidTriggerItemButton(context => {
|
|
118
118
|
if (context.button === openInEditorButton) {
|
|
@@ -143,7 +143,7 @@ class OpenChatEditorAction extends Action2 {
|
|
|
143
143
|
constructor() {
|
|
144
144
|
super({
|
|
145
145
|
id: `workbench.action.openChat`,
|
|
146
|
-
title: ( localize2(
|
|
146
|
+
title: ( localize2(4623, "Open Editor")),
|
|
147
147
|
f1: true,
|
|
148
148
|
category: CHAT_CATEGORY,
|
|
149
149
|
precondition: CONTEXT_CHAT_ENABLED
|
|
@@ -162,7 +162,7 @@ function registerChatActions() {
|
|
|
162
162
|
constructor() {
|
|
163
163
|
super({
|
|
164
164
|
id: 'workbench.action.chat.clearInputHistory',
|
|
165
|
-
title: ( localize2(
|
|
165
|
+
title: ( localize2(4624, "Clear Input History")),
|
|
166
166
|
precondition: CONTEXT_CHAT_ENABLED,
|
|
167
167
|
category: CHAT_CATEGORY,
|
|
168
168
|
f1: true,
|
|
@@ -177,7 +177,7 @@ function registerChatActions() {
|
|
|
177
177
|
constructor() {
|
|
178
178
|
super({
|
|
179
179
|
id: 'workbench.action.chat.clearHistory',
|
|
180
|
-
title: ( localize2(
|
|
180
|
+
title: ( localize2(4625, "Clear All Workspace Chats")),
|
|
181
181
|
precondition: CONTEXT_CHAT_ENABLED,
|
|
182
182
|
category: CHAT_CATEGORY,
|
|
183
183
|
f1: true,
|
|
@@ -205,7 +205,7 @@ function registerChatActions() {
|
|
|
205
205
|
constructor() {
|
|
206
206
|
super({
|
|
207
207
|
id: 'chat.action.focus',
|
|
208
|
-
title: ( localize2(
|
|
208
|
+
title: ( localize2(4626, 'Focus Chat List')),
|
|
209
209
|
precondition: ( (ContextKeyExpr.and(
|
|
210
210
|
CONTEXT_IN_CHAT_INPUT,
|
|
211
211
|
(CONTEXT_CHAT_LOCATION.isEqualTo(ChatAgentLocation.Panel))
|
|
@@ -237,7 +237,7 @@ function registerChatActions() {
|
|
|
237
237
|
constructor() {
|
|
238
238
|
super({
|
|
239
239
|
id: 'workbench.action.chat.focusInput',
|
|
240
|
-
title: ( localize2(
|
|
240
|
+
title: ( localize2(4627, "Focus Chat Input")),
|
|
241
241
|
f1: false,
|
|
242
242
|
keybinding: {
|
|
243
243
|
primary: KeyMod$1.CtrlCmd | KeyCode.DownArrow,
|
|
@@ -17,7 +17,7 @@ function registerQuickChatActions() {
|
|
|
17
17
|
constructor() {
|
|
18
18
|
super({
|
|
19
19
|
id: 'workbench.action.quickchat.openInChatView',
|
|
20
|
-
title: ( localize2(
|
|
20
|
+
title: ( localize2(4628, "Open in Chat View")),
|
|
21
21
|
f1: false,
|
|
22
22
|
category: CHAT_CATEGORY,
|
|
23
23
|
icon: Codicon.commentDiscussion,
|
|
@@ -37,7 +37,7 @@ function registerQuickChatActions() {
|
|
|
37
37
|
constructor() {
|
|
38
38
|
super({
|
|
39
39
|
id: 'workbench.action.quickchat.close',
|
|
40
|
-
title: ( localize2(
|
|
40
|
+
title: ( localize2(4629, "Close Quick Chat")),
|
|
41
41
|
f1: false,
|
|
42
42
|
category: CHAT_CATEGORY,
|
|
43
43
|
icon: Codicon.close,
|
|
@@ -57,7 +57,7 @@ function registerQuickChatActions() {
|
|
|
57
57
|
constructor() {
|
|
58
58
|
super({
|
|
59
59
|
id: 'workbench.action.quickchat.launchInlineChat',
|
|
60
|
-
title: ( localize2(
|
|
60
|
+
title: ( localize2(4630, "Launch Inline Chat")),
|
|
61
61
|
f1: false,
|
|
62
62
|
category: CHAT_CATEGORY
|
|
63
63
|
});
|
|
@@ -85,7 +85,7 @@ class QuickChatGlobalAction extends Action2 {
|
|
|
85
85
|
constructor() {
|
|
86
86
|
super({
|
|
87
87
|
id: ASK_QUICK_QUESTION_ACTION_ID,
|
|
88
|
-
title: ( localize2(
|
|
88
|
+
title: ( localize2(4631, 'Quick Chat')),
|
|
89
89
|
precondition: CONTEXT_CHAT_ENABLED,
|
|
90
90
|
icon: Codicon.commentDiscussion,
|
|
91
91
|
f1: false,
|
|
@@ -98,7 +98,7 @@ class QuickChatGlobalAction extends Action2 {
|
|
|
98
98
|
}
|
|
99
99
|
},
|
|
100
100
|
metadata: {
|
|
101
|
-
description: ( localize(
|
|
101
|
+
description: ( localize(4632, 'Toggle the quick chat')),
|
|
102
102
|
args: [{
|
|
103
103
|
name: 'args',
|
|
104
104
|
schema: {
|
|
@@ -108,18 +108,18 @@ class QuickChatGlobalAction extends Action2 {
|
|
|
108
108
|
required: ['query'],
|
|
109
109
|
properties: {
|
|
110
110
|
query: {
|
|
111
|
-
description: ( localize(
|
|
111
|
+
description: ( localize(4633, "The query to open the quick chat with")),
|
|
112
112
|
type: 'string'
|
|
113
113
|
},
|
|
114
114
|
isPartialQuery: {
|
|
115
|
-
description: ( localize(
|
|
115
|
+
description: ( localize(4634, "Whether the query is partial; it will wait for more user input")),
|
|
116
116
|
type: 'boolean'
|
|
117
117
|
}
|
|
118
118
|
},
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
121
|
type: 'string',
|
|
122
|
-
description: ( localize(
|
|
122
|
+
description: ( localize(4633, "The query to open the quick chat with"))
|
|
123
123
|
}
|
|
124
124
|
]
|
|
125
125
|
}
|
|
@@ -149,7 +149,7 @@ class AskQuickChatAction extends Action2 {
|
|
|
149
149
|
super({
|
|
150
150
|
id: `workbench.action.openQuickChat`,
|
|
151
151
|
category: CHAT_CATEGORY,
|
|
152
|
-
title: ( localize2(
|
|
152
|
+
title: ( localize2(4635, "Open Quick Chat")),
|
|
153
153
|
f1: true
|
|
154
154
|
});
|
|
155
155
|
}
|
package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCodeCitationContentPart.js
CHANGED
|
@@ -27,7 +27,7 @@ let ChatCodeCitationContentPart = class ChatCodeCitationContentPart extends Disp
|
|
|
27
27
|
buttonSecondaryHoverBackground: undefined,
|
|
28
28
|
buttonSeparator: undefined
|
|
29
29
|
}))));
|
|
30
|
-
button.label = ( localize(
|
|
30
|
+
button.label = ( localize(10566, "View matches"));
|
|
31
31
|
this._register(button.onDidClick(() => {
|
|
32
32
|
const citationText = `# Code Citations\n\n` + ( (citations.citations.map(
|
|
33
33
|
c => `## License: ${c.license}\n${( (c.value.toString()))}\n\n\`\`\`\n${c.snippet}\n\`\`\`\n\n`
|
package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js
CHANGED
|
@@ -15,7 +15,7 @@ let ChatCommandButtonContentPart = class ChatCommandButtonContentPart extends Di
|
|
|
15
15
|
const enabled = !isResponseVM(context.element) || !context.element.isStale;
|
|
16
16
|
const tooltip = enabled ?
|
|
17
17
|
commandButton.command.tooltip :
|
|
18
|
-
( localize(
|
|
18
|
+
( localize(10565, "Button not available in restored chat"));
|
|
19
19
|
const button = this._register(( (new Button(
|
|
20
20
|
this.domNode,
|
|
21
21
|
{ ...defaultButtonStyles, supportIcons: true, title: tooltip }
|
|
@@ -16,17 +16,17 @@ const createCodeActionsAutoSave = (description) => {
|
|
|
16
16
|
enum: ['always', 'explicit', 'never', true, false],
|
|
17
17
|
enumDescriptions: [
|
|
18
18
|
( localize(
|
|
19
|
-
|
|
19
|
+
4568,
|
|
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(4569, 'Triggers Code Actions only when explicitly saved')),
|
|
23
|
+
( localize(4570, 'Never triggers Code Actions on save')),
|
|
24
24
|
( localize(
|
|
25
|
-
|
|
25
|
+
4571,
|
|
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
|
+
4572,
|
|
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(4573, 'Triggers Code Actions only when explicitly saved.')),
|
|
43
|
+
( localize(4574, 'Never triggers Code Actions on save.')),
|
|
44
44
|
( localize(
|
|
45
|
-
|
|
45
|
+
4575,
|
|
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
|
+
4576,
|
|
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
|
+
4577,
|
|
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
|
+
4578,
|
|
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
|
+
4579,
|
|
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
|
+
4579,
|
|
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
|
+
4579,
|
|
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
|
+
4579,
|
|
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(4552, "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(4553, "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(4554, "`CodeActionKind` of the contributed code action.")),
|
|
35
35
|
},
|
|
36
36
|
[CodeActionExtensionPointFields.title]: {
|
|
37
37
|
type: 'string',
|
|
38
|
-
description: ( localize(
|
|
38
|
+
description: ( localize(4555, "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(4556, "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(4557, "Title")),
|
|
72
|
+
( localize(4558, "Kind")),
|
|
73
|
+
( localize(4559, "Description")),
|
|
74
|
+
( localize(4560, "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(4561, "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(4562, "Contributed documentation.")),
|
|
14
14
|
properties: {
|
|
15
15
|
'refactoring': {
|
|
16
16
|
type: 'array',
|
|
17
|
-
description: ( localize(
|
|
17
|
+
description: ( localize(4563, "Contributed documentation for refactorings.")),
|
|
18
18
|
items: {
|
|
19
19
|
type: 'object',
|
|
20
|
-
description: ( localize(
|
|
20
|
+
description: ( localize(4564, "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(4565, "Label for the documentation used in the UI.")),
|
|
30
30
|
},
|
|
31
31
|
[DocumentationExtensionPointFields.when]: {
|
|
32
32
|
type: 'string',
|
|
33
|
-
description: ( localize(
|
|
33
|
+
description: ( localize(4566, "When clause.")),
|
|
34
34
|
},
|
|
35
35
|
[DocumentationExtensionPointFields.command]: {
|
|
36
36
|
type: 'string',
|
|
37
|
-
description: ( localize(
|
|
37
|
+
description: ( localize(4567, "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(10420, "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(10421, "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(10422, "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(10423, "Stop Dictation ({0})", stopActionKeybinding)) : ( localize(10424, "Stop Dictation")),
|
|
101
101
|
class: ThemeIcon.asClassName(Codicon.micFilled),
|
|
102
102
|
run: () => EditorDictation.get(editor)?.stop()
|
|
103
103
|
}), { icon: true, label: false, keybinding: stopActionKeybinding });
|
|
@@ -29,19 +29,19 @@ class DiffEditorAccessibilityHelp {
|
|
|
29
29
|
return;
|
|
30
30
|
}
|
|
31
31
|
const switchSides = ( localize(
|
|
32
|
-
|
|
32
|
+
4516,
|
|
33
33
|
"Run the command Diff Editor: Switch Side{0} to toggle between the original and modified editors.",
|
|
34
34
|
'<keybinding:diffEditor.switchSide>'
|
|
35
35
|
));
|
|
36
36
|
const diffEditorActiveAnnouncement = ( localize(
|
|
37
|
-
|
|
37
|
+
4517,
|
|
38
38
|
"The setting, accessibility.verbosity.diffEditorActive, controls if a diff editor announcement is made when it becomes the active editor."
|
|
39
39
|
));
|
|
40
40
|
const keys = ['accessibility.signals.diffLineDeleted', 'accessibility.signals.diffLineInserted', 'accessibility.signals.diffLineModified'];
|
|
41
41
|
const content = [
|
|
42
|
-
( localize(
|
|
42
|
+
( localize(4518, "You are in a diff editor.")),
|
|
43
43
|
( localize(
|
|
44
|
-
|
|
44
|
+
4519,
|
|
45
45
|
"View the next{0} or previous{1} diff in diff review mode, which is optimized for screen readers.",
|
|
46
46
|
'<keybinding:' + AccessibleDiffViewerNext.id + '>',
|
|
47
47
|
'<keybinding:' + AccessibleDiffViewerPrev.id + '>'
|
|
@@ -49,7 +49,7 @@ class DiffEditorAccessibilityHelp {
|
|
|
49
49
|
switchSides,
|
|
50
50
|
diffEditorActiveAnnouncement,
|
|
51
51
|
( localize(
|
|
52
|
-
|
|
52
|
+
4520,
|
|
53
53
|
"To control which accessibility signals should be played, the following settings can be configured: {0}.",
|
|
54
54
|
keys.join(', ')
|
|
55
55
|
)),
|
|
@@ -32,7 +32,7 @@ let DiffEditorHelperContribution = class DiffEditorHelperContribution extends Di
|
|
|
32
32
|
const onlyWhiteSpaceChange = ( (computationResult.map(r => r && !r.identical && r.changes2.length === 0)));
|
|
33
33
|
this._register(autorunWithStore((reader, store) => {
|
|
34
34
|
if (onlyWhiteSpaceChange.read(reader)) {
|
|
35
|
-
const helperWidget = store.add(this._instantiationService.createInstance(FloatingEditorClickWidget, this._diffEditor.getModifiedEditor(), ( localize(
|
|
35
|
+
const helperWidget = store.add(this._instantiationService.createInstance(FloatingEditorClickWidget, this._diffEditor.getModifiedEditor(), ( localize(718, "Show Whitespace Differences")), null));
|
|
36
36
|
store.add(helperWidget.onClick(() => {
|
|
37
37
|
this._textResourceConfigurationService.updateValue(this._diffEditor.getModel().modified.uri, 'diffEditor.ignoreTrimWhitespace', false);
|
|
38
38
|
}));
|
|
@@ -43,11 +43,11 @@ let DiffEditorHelperContribution = class DiffEditorHelperContribution extends Di
|
|
|
43
43
|
const diffComputationResult = this._diffEditor.getDiffComputationResult();
|
|
44
44
|
if (diffComputationResult && diffComputationResult.quitEarly) {
|
|
45
45
|
this._notificationService.prompt(Severity$1.Warning, ( localize(
|
|
46
|
-
|
|
46
|
+
719,
|
|
47
47
|
"The diff algorithm was stopped early (after {0} ms.)",
|
|
48
48
|
this._diffEditor.maxComputationTime
|
|
49
49
|
)), [{
|
|
50
|
-
label: ( localize(
|
|
50
|
+
label: ( localize(720, "Remove Limit")),
|
|
51
51
|
run: () => {
|
|
52
52
|
this._textResourceConfigurationService.updateValue(this._diffEditor.getModel().modified.uri, 'diffEditor.maxComputationTime', 0);
|
|
53
53
|
}
|
|
@@ -25,11 +25,11 @@ import '../../../../../platform/theme/common/colors/minimapColors.js';
|
|
|
25
25
|
import '../../../../../platform/theme/common/colors/miscColors.js';
|
|
26
26
|
import '../../../../../platform/theme/common/colors/quickpickColors.js';
|
|
27
27
|
import '../../../../../platform/theme/common/colors/searchColors.js';
|
|
28
|
-
const NLS_FIND_INPUT_LABEL = ( localize(
|
|
29
|
-
const NLS_FIND_INPUT_PLACEHOLDER = ( localize(
|
|
30
|
-
const NLS_PREVIOUS_MATCH_BTN_LABEL = ( localize(
|
|
31
|
-
const NLS_NEXT_MATCH_BTN_LABEL = ( localize(
|
|
32
|
-
const NLS_CLOSE_BTN_LABEL = ( localize(
|
|
28
|
+
const NLS_FIND_INPUT_LABEL = ( localize(11449, "Find"));
|
|
29
|
+
const NLS_FIND_INPUT_PLACEHOLDER = ( localize(11450, "Find"));
|
|
30
|
+
const NLS_PREVIOUS_MATCH_BTN_LABEL = ( localize(11451, "Previous Match"));
|
|
31
|
+
const NLS_NEXT_MATCH_BTN_LABEL = ( localize(11452, "Next Match"));
|
|
32
|
+
const NLS_CLOSE_BTN_LABEL = ( localize(11453, "Close"));
|
|
33
33
|
const SIMPLE_FIND_WIDGET_INITIAL_WIDTH = 310;
|
|
34
34
|
const MATCHES_COUNT_WIDTH = 73;
|
|
35
35
|
class SimpleFindWidget extends Widget {
|
|
@@ -331,17 +331,17 @@ class SimpleFindWidget extends Widget {
|
|
|
331
331
|
}
|
|
332
332
|
_announceSearchResults(label, searchString) {
|
|
333
333
|
if (!searchString) {
|
|
334
|
-
return ( localize(
|
|
334
|
+
return ( localize(11454, "Enter search input"));
|
|
335
335
|
}
|
|
336
336
|
if (label === NLS_NO_RESULTS) {
|
|
337
337
|
return searchString === ''
|
|
338
|
-
? ( localize(
|
|
339
|
-
: ( localize(
|
|
338
|
+
? ( localize(11455, "{0} found", label))
|
|
339
|
+
: ( localize(11456, "{0} found for '{1}'", label, searchString));
|
|
340
340
|
}
|
|
341
|
-
return ( localize(
|
|
341
|
+
return ( localize(11457, "{0} found for '{1}'", label, searchString));
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
const simpleFindWidgetSashBorder = registerColor('simpleFindWidget.sashBorder', { dark: '#454545', light: '#C8C8C8', hcDark: '#6FC3DF', hcLight: '#0F4A85' }, ( localize(
|
|
344
|
+
const simpleFindWidgetSashBorder = registerColor('simpleFindWidget.sashBorder', { dark: '#454545', light: '#C8C8C8', hcDark: '#6FC3DF', hcLight: '#0F4A85' }, ( localize(11458, 'Border color of the sash border.')));
|
|
345
345
|
registerThemingParticipant((theme, collector) => {
|
|
346
346
|
const resizeBorderBackground = theme.getColor(simpleFindWidgetSashBorder);
|
|
347
347
|
collector.addRule(`.monaco-workbench .simple-find-part .monaco-sash { background-color: ${resizeBorderBackground}; border-color: ${resizeBorderBackground} }`);
|
|
@@ -24,16 +24,16 @@ let LargeFileOptimizationsWarner = class LargeFileOptimizationsWarner extends Di
|
|
|
24
24
|
}
|
|
25
25
|
if (model.isTooLargeForTokenization()) {
|
|
26
26
|
const message = ( localize(
|
|
27
|
-
|
|
27
|
+
721,
|
|
28
28
|
"{0}: tokenization, wrapping, folding, codelens, word highlighting and sticky scroll have been turned off for this large file in order to reduce memory usage and avoid freezing or crashing.",
|
|
29
29
|
basename(model.uri.path)
|
|
30
30
|
));
|
|
31
31
|
this._notificationService.prompt(Severity$1.Info, message, [
|
|
32
32
|
{
|
|
33
|
-
label: ( localize(
|
|
33
|
+
label: ( localize(722, "Forcefully Enable Features")),
|
|
34
34
|
run: () => {
|
|
35
35
|
this._configurationService.updateValue(`editor.largeFileOptimizations`, false).then(() => {
|
|
36
|
-
this._notificationService.info(( localize(
|
|
36
|
+
this._notificationService.info(( localize(723, "Please reopen file in order for this setting to take effect.")));
|
|
37
37
|
}, (err) => {
|
|
38
38
|
this._notificationService.error(err);
|
|
39
39
|
});
|
package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js
CHANGED
|
@@ -147,7 +147,7 @@ let GotoSymbolQuickAccessProvider = class GotoSymbolQuickAccessProvider extends
|
|
|
147
147
|
return true;
|
|
148
148
|
});
|
|
149
149
|
if (filteredItems.length === 0) {
|
|
150
|
-
const label = ( localize(
|
|
150
|
+
const label = ( localize(883, 'No matching entries'));
|
|
151
151
|
picker.items = [{ label, index: -1, kind: SymbolKind.String }];
|
|
152
152
|
picker.ariaLabel = label;
|
|
153
153
|
}
|
|
@@ -191,8 +191,8 @@ class GotoSymbolAction extends Action2 {
|
|
|
191
191
|
super({
|
|
192
192
|
id: GotoSymbolAction.ID,
|
|
193
193
|
title: {
|
|
194
|
-
...( localize2(
|
|
195
|
-
mnemonicTitle: ( localize(
|
|
194
|
+
...( localize2(884, "Go to Symbol in Editor...")),
|
|
195
|
+
mnemonicTitle: ( localize(885, "Go to &&Symbol in Editor...")),
|
|
196
196
|
},
|
|
197
197
|
f1: true,
|
|
198
198
|
keybinding: {
|
|
@@ -219,16 +219,16 @@ registerAction2(GotoSymbolAction);
|
|
|
219
219
|
ctor: GotoSymbolQuickAccessProvider,
|
|
220
220
|
prefix: AbstractGotoSymbolQuickAccessProvider.PREFIX,
|
|
221
221
|
contextKey: 'inFileSymbolsPicker',
|
|
222
|
-
placeholder: ( localize(
|
|
222
|
+
placeholder: ( localize(886, "Type the name of a symbol to go to.")),
|
|
223
223
|
helpEntries: [
|
|
224
224
|
{
|
|
225
|
-
description: ( localize(
|
|
225
|
+
description: ( localize(887, "Go to Symbol in Editor")),
|
|
226
226
|
prefix: AbstractGotoSymbolQuickAccessProvider.PREFIX,
|
|
227
227
|
commandId: GotoSymbolAction.ID,
|
|
228
228
|
commandCenterOrder: 40
|
|
229
229
|
},
|
|
230
230
|
{
|
|
231
|
-
description: ( localize(
|
|
231
|
+
description: ( localize(888, "Go to Symbol in Editor by Category")),
|
|
232
232
|
prefix: AbstractGotoSymbolQuickAccessProvider.PREFIX_BY_CATEGORY
|
|
233
233
|
}
|
|
234
234
|
]
|
|
@@ -190,7 +190,7 @@ let FormatOnSaveParticipant = class FormatOnSaveParticipant {
|
|
|
190
190
|
const nestedProgress = ( (new Progress(provider => {
|
|
191
191
|
progress.report({
|
|
192
192
|
message: ( localize(
|
|
193
|
-
|
|
193
|
+
724,
|
|
194
194
|
"Running '{0}' Formatter ([configure]({1})).",
|
|
195
195
|
provider.displayName || provider.extensionId && provider.extensionId.value || '???',
|
|
196
196
|
'command:workbench.action.openSettings?%5B%22editor.formatOnSave%22%5D'
|
|
@@ -299,7 +299,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant extends Disp
|
|
|
299
299
|
: ( (( (Object.keys(setting)))
|
|
300
300
|
.filter(x => setting[x] === 'never' || false)
|
|
301
301
|
.map(x => ( (new HierarchicalKind(x))))));
|
|
302
|
-
progress.report({ message: ( localize(
|
|
302
|
+
progress.report({ message: ( localize(725, "Quick Fixes")) });
|
|
303
303
|
const filteredSaveList = Array.isArray(setting) ? codeActionsOnSave : codeActionsOnSave.filter(x => setting[x.value] === 'always' || ((setting[x.value] === 'explicit' || setting[x.value] === true) && context.reason === SaveReason.EXPLICIT));
|
|
304
304
|
await this.applyOnSaveActions(textEditorModel, filteredSaveList, excludedActions, progress, token);
|
|
305
305
|
}
|
|
@@ -317,7 +317,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant extends Disp
|
|
|
317
317
|
_report() {
|
|
318
318
|
progress.report({
|
|
319
319
|
message: ( localize(
|
|
320
|
-
|
|
320
|
+
726,
|
|
321
321
|
"Getting code actions from '{0}' ([configure]({1})).",
|
|
322
322
|
( ([...this._names].map(name => `'${name}'`))).join(', '),
|
|
323
323
|
'command:workbench.action.openSettings?%5B%22editor.codeActionsOnSave%22%5D'
|
|
@@ -339,7 +339,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant extends Disp
|
|
|
339
339
|
}
|
|
340
340
|
try {
|
|
341
341
|
for (const action of actionsToRun.validActions) {
|
|
342
|
-
progress.report({ message: ( localize(
|
|
342
|
+
progress.report({ message: ( localize(727, "Applying code action '{0}'.", action.action.title)) });
|
|
343
343
|
await this.instantiationService.invokeFunction(applyCodeAction, action, ApplyCodeActionReason.OnSave, {}, token);
|
|
344
344
|
if (token.isCancellationRequested) {
|
|
345
345
|
return;
|
|
@@ -9,8 +9,8 @@ class ToggleMinimapAction extends Action2 {
|
|
|
9
9
|
super({
|
|
10
10
|
id: ToggleMinimapAction.ID,
|
|
11
11
|
title: {
|
|
12
|
-
...( localize2(
|
|
13
|
-
mnemonicTitle: ( localize(
|
|
12
|
+
...( localize2(728, "Toggle Minimap")),
|
|
13
|
+
mnemonicTitle: ( localize(729, "&&Minimap")),
|
|
14
14
|
},
|
|
15
15
|
category: Categories.View,
|
|
16
16
|
f1: true,
|