@codingame/monaco-vscode-api 10.1.2 → 10.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +9 -9
- 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/tree/treeDefaults.js +1 -1
- package/vscode/src/vs/base/common/actions.js +1 -1
- package/vscode/src/vs/base/common/date.js +61 -61
- 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/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +51 -51
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +32 -32
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/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/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- 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/dropIntoEditorContribution.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- 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/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/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/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/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/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/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.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/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/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/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/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 +20 -20
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- 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/theme/common/tokenClassificationRegistry.js +42 -42
- 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/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/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
- 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/editorPlaceholder.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +17 -17
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +4 -4
- 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/checkbox.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
- 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 +220 -217
- 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.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +131 -131
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +16 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCodeCitationContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatToolInvocationPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDragAndDrop.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditingService.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImagePaste.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInlineAnchorWidget.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputCompletions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +21 -21
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +15 -15
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/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 +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +13 -13
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +10 -10
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +34 -34
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +173 -173
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/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/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +19 -19
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +41 -41
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- 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/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/controller/cellOperations.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +15 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +12 -12
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +10 -10
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- 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/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/services/activity/common/activity.js +4 -4
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +3 -3
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- 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/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- 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/colorThemeData.js +8 -8
- 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/views/browser/viewsService.js +7 -7
- package/workers/editor.worker.js +1 -1
|
@@ -10,14 +10,14 @@ var DocumentationExtensionPointFields;
|
|
|
10
10
|
)));
|
|
11
11
|
const documentationExtensionPointSchema = ( (Object.freeze({
|
|
12
12
|
type: 'object',
|
|
13
|
-
description: ( localize(
|
|
13
|
+
description: ( localize(4538, "Contributed documentation.")),
|
|
14
14
|
properties: {
|
|
15
15
|
'refactoring': {
|
|
16
16
|
type: 'array',
|
|
17
|
-
description: ( localize(
|
|
17
|
+
description: ( localize(4539, "Contributed documentation for refactorings.")),
|
|
18
18
|
items: {
|
|
19
19
|
type: 'object',
|
|
20
|
-
description: ( localize(
|
|
20
|
+
description: ( localize(4540, "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(4541, "Label for the documentation used in the UI.")),
|
|
30
30
|
},
|
|
31
31
|
[DocumentationExtensionPointFields.when]: {
|
|
32
32
|
type: 'string',
|
|
33
|
-
description: ( localize(
|
|
33
|
+
description: ( localize(4542, "When clause.")),
|
|
34
34
|
},
|
|
35
35
|
[DocumentationExtensionPointFields.command]: {
|
|
36
36
|
type: 'string',
|
|
37
|
-
description: ( localize(
|
|
37
|
+
description: ( localize(4543, "Command executed.")),
|
|
38
38
|
},
|
|
39
39
|
},
|
|
40
40
|
}
|
|
@@ -28,19 +28,19 @@ class DiffEditorAccessibilityHelp {
|
|
|
28
28
|
return;
|
|
29
29
|
}
|
|
30
30
|
const switchSides = ( localize(
|
|
31
|
-
|
|
31
|
+
4492,
|
|
32
32
|
"Run the command Diff Editor: Switch Side{0} to toggle between the original and modified editors.",
|
|
33
33
|
'<keybinding:diffEditor.switchSide>'
|
|
34
34
|
));
|
|
35
35
|
const diffEditorActiveAnnouncement = ( localize(
|
|
36
|
-
|
|
36
|
+
4493,
|
|
37
37
|
"The setting, accessibility.verbosity.diffEditorActive, controls if a diff editor announcement is made when it becomes the active editor."
|
|
38
38
|
));
|
|
39
39
|
const keys = ['accessibility.signals.diffLineDeleted', 'accessibility.signals.diffLineInserted', 'accessibility.signals.diffLineModified'];
|
|
40
40
|
const content = [
|
|
41
|
-
( localize(
|
|
41
|
+
( localize(4494, "You are in a diff editor.")),
|
|
42
42
|
( localize(
|
|
43
|
-
|
|
43
|
+
4495,
|
|
44
44
|
"View the next{0} or previous{1} diff in diff review mode, which is optimized for screen readers.",
|
|
45
45
|
'<keybinding:' + AccessibleDiffViewerNext.id + '>',
|
|
46
46
|
'<keybinding:' + AccessibleDiffViewerPrev.id + '>'
|
|
@@ -48,7 +48,7 @@ class DiffEditorAccessibilityHelp {
|
|
|
48
48
|
switchSides,
|
|
49
49
|
diffEditorActiveAnnouncement,
|
|
50
50
|
( localize(
|
|
51
|
-
|
|
51
|
+
4496,
|
|
52
52
|
"To control which accessibility signals should be played, the following settings can be configured: {0}.",
|
|
53
53
|
keys.join(', ')
|
|
54
54
|
)),
|
|
@@ -33,7 +33,7 @@ let DiffEditorHelperContribution = class DiffEditorHelperContribution extends Di
|
|
|
33
33
|
const onlyWhiteSpaceChange = ( (computationResult.map(r => r && !r.identical && r.changes2.length === 0)));
|
|
34
34
|
this._register(autorunWithStore((reader, store) => {
|
|
35
35
|
if (onlyWhiteSpaceChange.read(reader)) {
|
|
36
|
-
const helperWidget = store.add(this._instantiationService.createInstance(FloatingEditorClickWidget, this._diffEditor.getModifiedEditor(), ( localize(
|
|
36
|
+
const helperWidget = store.add(this._instantiationService.createInstance(FloatingEditorClickWidget, this._diffEditor.getModifiedEditor(), ( localize(640, "Show Whitespace Differences")), null));
|
|
37
37
|
store.add(helperWidget.onClick(() => {
|
|
38
38
|
this._textResourceConfigurationService.updateValue(this._diffEditor.getModel().modified.uri, 'diffEditor.ignoreTrimWhitespace', false);
|
|
39
39
|
}));
|
|
@@ -44,11 +44,11 @@ let DiffEditorHelperContribution = class DiffEditorHelperContribution extends Di
|
|
|
44
44
|
const diffComputationResult = this._diffEditor.getDiffComputationResult();
|
|
45
45
|
if (diffComputationResult && diffComputationResult.quitEarly) {
|
|
46
46
|
this._notificationService.prompt(Severity$1.Warning, ( localize(
|
|
47
|
-
|
|
47
|
+
641,
|
|
48
48
|
"The diff algorithm was stopped early (after {0} ms.)",
|
|
49
49
|
this._diffEditor.maxComputationTime
|
|
50
50
|
)), [{
|
|
51
|
-
label: ( localize(
|
|
51
|
+
label: ( localize(642, "Remove Limit")),
|
|
52
52
|
run: () => {
|
|
53
53
|
this._textResourceConfigurationService.updateValue(this._diffEditor.getModel().modified.uri, 'diffEditor.maxComputationTime', 0);
|
|
54
54
|
}
|
|
@@ -96,7 +96,7 @@ class InspectEditorTokens extends EditorAction {
|
|
|
96
96
|
constructor() {
|
|
97
97
|
super({
|
|
98
98
|
id: 'editor.action.inspectTMScopes',
|
|
99
|
-
label: ( localize(
|
|
99
|
+
label: ( localize(3151, "Developer: Inspect Editor Tokens and Scopes")),
|
|
100
100
|
alias: 'Developer: Inspect Editor Tokens and Scopes',
|
|
101
101
|
precondition: undefined
|
|
102
102
|
});
|
|
@@ -164,7 +164,7 @@ class InspectEditorTokensWidget extends Disposable {
|
|
|
164
164
|
const semanticTokens = this._computeSemanticTokens(position);
|
|
165
165
|
const tree = this._treeSitterService.getParseResult(this._model);
|
|
166
166
|
clearNode(this._domNode);
|
|
167
|
-
this._domNode.appendChild(document.createTextNode(( localize(
|
|
167
|
+
this._domNode.appendChild(document.createTextNode(( localize(3152, "Loading..."))));
|
|
168
168
|
Promise.all([grammar, semanticTokens]).then(([grammar, semanticTokens]) => {
|
|
169
169
|
if (this._isDisposed) {
|
|
170
170
|
return;
|
|
@@ -24,16 +24,16 @@ let LargeFileOptimizationsWarner = class LargeFileOptimizationsWarner extends Di
|
|
|
24
24
|
}
|
|
25
25
|
if (model.isTooLargeForTokenization()) {
|
|
26
26
|
const message = ( localize(
|
|
27
|
-
|
|
27
|
+
643,
|
|
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(644, "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(645, "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
|
@@ -143,7 +143,7 @@ let GotoSymbolQuickAccessProvider = class GotoSymbolQuickAccessProvider extends
|
|
|
143
143
|
return true;
|
|
144
144
|
});
|
|
145
145
|
if (filteredItems.length === 0) {
|
|
146
|
-
const label = ( localize(
|
|
146
|
+
const label = ( localize(903, 'No matching entries'));
|
|
147
147
|
picker.items = [{ label, index: -1, kind: 14 }];
|
|
148
148
|
picker.ariaLabel = label;
|
|
149
149
|
}
|
|
@@ -187,8 +187,8 @@ class GotoSymbolAction extends Action2 {
|
|
|
187
187
|
super({
|
|
188
188
|
id: GotoSymbolAction.ID,
|
|
189
189
|
title: {
|
|
190
|
-
...( localize2(
|
|
191
|
-
mnemonicTitle: ( localize(
|
|
190
|
+
...( localize2(904, "Go to Symbol in Editor...")),
|
|
191
|
+
mnemonicTitle: ( localize(905, "Go to &&Symbol in Editor...")),
|
|
192
192
|
},
|
|
193
193
|
f1: true,
|
|
194
194
|
keybinding: {
|
|
@@ -215,16 +215,16 @@ registerAction2(GotoSymbolAction);
|
|
|
215
215
|
ctor: GotoSymbolQuickAccessProvider,
|
|
216
216
|
prefix: AbstractGotoSymbolQuickAccessProvider.PREFIX,
|
|
217
217
|
contextKey: 'inFileSymbolsPicker',
|
|
218
|
-
placeholder: ( localize(
|
|
218
|
+
placeholder: ( localize(906, "Type the name of a symbol to go to.")),
|
|
219
219
|
helpEntries: [
|
|
220
220
|
{
|
|
221
|
-
description: ( localize(
|
|
221
|
+
description: ( localize(907, "Go to Symbol in Editor")),
|
|
222
222
|
prefix: AbstractGotoSymbolQuickAccessProvider.PREFIX,
|
|
223
223
|
commandId: GotoSymbolAction.ID,
|
|
224
224
|
commandCenterOrder: 40
|
|
225
225
|
},
|
|
226
226
|
{
|
|
227
|
-
description: ( localize(
|
|
227
|
+
description: ( localize(908, "Go to Symbol in Editor by Category")),
|
|
228
228
|
prefix: AbstractGotoSymbolQuickAccessProvider.PREFIX_BY_CATEGORY
|
|
229
229
|
}
|
|
230
230
|
]
|
|
@@ -189,7 +189,7 @@ let FormatOnSaveParticipant = class FormatOnSaveParticipant {
|
|
|
189
189
|
const nestedProgress = ( (new Progress(provider => {
|
|
190
190
|
progress.report({
|
|
191
191
|
message: ( localize(
|
|
192
|
-
|
|
192
|
+
646,
|
|
193
193
|
"Running '{0}' Formatter ([configure]({1})).",
|
|
194
194
|
provider.displayName || provider.extensionId && provider.extensionId.value || '???',
|
|
195
195
|
'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(647, "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 === 1) ));
|
|
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
|
+
648,
|
|
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'
|
|
@@ -344,7 +344,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant extends Disp
|
|
|
344
344
|
}
|
|
345
345
|
try {
|
|
346
346
|
for (const action of actionsToRun.validActions) {
|
|
347
|
-
progress.report({ message: ( localize(
|
|
347
|
+
progress.report({ message: ( localize(649, "Applying code action '{0}'.", action.action.title)) });
|
|
348
348
|
await this.instantiationService.invokeFunction(applyCodeAction, action, ApplyCodeActionReason.OnSave, {}, token);
|
|
349
349
|
if (token.isCancellationRequested) {
|
|
350
350
|
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(650, "Toggle Minimap")),
|
|
13
|
+
mnemonicTitle: ( localize(651, "&&Minimap")),
|
|
14
14
|
},
|
|
15
15
|
category: Categories.View,
|
|
16
16
|
f1: true,
|
|
@@ -14,7 +14,7 @@ class ToggleMultiCursorModifierAction extends Action2 {
|
|
|
14
14
|
constructor() {
|
|
15
15
|
super({
|
|
16
16
|
id: ToggleMultiCursorModifierAction.ID,
|
|
17
|
-
title: ( localize2(
|
|
17
|
+
title: ( localize2(652, 'Toggle Multi-Cursor Modifier')),
|
|
18
18
|
f1: true
|
|
19
19
|
});
|
|
20
20
|
}
|
|
@@ -54,7 +54,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSelectionMenu, {
|
|
|
54
54
|
group: '4_config',
|
|
55
55
|
command: {
|
|
56
56
|
id: ToggleMultiCursorModifierAction.ID,
|
|
57
|
-
title: ( localize(
|
|
57
|
+
title: ( localize(653, "Switch to Alt+Click for Multi-Cursor"))
|
|
58
58
|
},
|
|
59
59
|
when: ( (multiCursorModifier.isEqualTo('ctrlCmd'))),
|
|
60
60
|
order: 1
|
|
@@ -64,8 +64,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSelectionMenu, {
|
|
|
64
64
|
command: {
|
|
65
65
|
id: ToggleMultiCursorModifierAction.ID,
|
|
66
66
|
title: (isMacintosh
|
|
67
|
-
? ( localize(
|
|
68
|
-
: ( localize(
|
|
67
|
+
? ( localize(654, "Switch to Cmd+Click for Multi-Cursor"))
|
|
68
|
+
: ( localize(655, "Switch to Ctrl+Click for Multi-Cursor")))
|
|
69
69
|
},
|
|
70
70
|
when: ( (multiCursorModifier.isEqualTo('altKey'))),
|
|
71
71
|
order: 1
|
|
@@ -9,8 +9,8 @@ class ToggleRenderControlCharacterAction extends Action2 {
|
|
|
9
9
|
super({
|
|
10
10
|
id: ToggleRenderControlCharacterAction.ID,
|
|
11
11
|
title: {
|
|
12
|
-
...( localize2(
|
|
13
|
-
mnemonicTitle: ( localize(
|
|
12
|
+
...( localize2(656, "Toggle Control Characters")),
|
|
13
|
+
mnemonicTitle: ( localize(657, "Render &&Control Characters")),
|
|
14
14
|
},
|
|
15
15
|
category: Categories.View,
|
|
16
16
|
f1: true,
|
|
@@ -9,8 +9,8 @@ class ToggleRenderWhitespaceAction extends Action2 {
|
|
|
9
9
|
super({
|
|
10
10
|
id: ToggleRenderWhitespaceAction.ID,
|
|
11
11
|
title: {
|
|
12
|
-
...( localize2(
|
|
13
|
-
mnemonicTitle: ( localize(
|
|
12
|
+
...( localize2(663, "Toggle Render Whitespace")),
|
|
13
|
+
mnemonicTitle: ( localize(664, "&&Render Whitespace")),
|
|
14
14
|
},
|
|
15
15
|
category: Categories.View,
|
|
16
16
|
f1: true,
|
|
@@ -17,7 +17,7 @@ const transientWordWrapState = 'transientWordWrapState';
|
|
|
17
17
|
const isWordWrapMinifiedKey = 'isWordWrapMinified';
|
|
18
18
|
const isDominatedByLongLinesKey = 'isDominatedByLongLines';
|
|
19
19
|
const CAN_TOGGLE_WORD_WRAP = ( (new RawContextKey('canToggleWordWrap', false, true)));
|
|
20
|
-
const EDITOR_WORD_WRAP = ( (new RawContextKey('editorWordWrap', false, ( localize(
|
|
20
|
+
const EDITOR_WORD_WRAP = ( (new RawContextKey('editorWordWrap', false, ( localize(658, 'Whether the editor is currently using word wrapping.')))));
|
|
21
21
|
function writeTransientState(model, state, codeEditorService) {
|
|
22
22
|
codeEditorService.setTransientModelProperty(model, transientWordWrapState, state);
|
|
23
23
|
}
|
|
@@ -29,7 +29,7 @@ class ToggleWordWrapAction extends EditorAction {
|
|
|
29
29
|
constructor() {
|
|
30
30
|
super({
|
|
31
31
|
id: TOGGLE_WORD_WRAP_ID,
|
|
32
|
-
label: ( localize(
|
|
32
|
+
label: ( localize(659, "View: Toggle Word Wrap")),
|
|
33
33
|
alias: 'View: Toggle Word Wrap',
|
|
34
34
|
precondition: undefined,
|
|
35
35
|
kbOpts: {
|
|
@@ -248,7 +248,7 @@ registerEditorAction(ToggleWordWrapAction);
|
|
|
248
248
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
249
249
|
command: {
|
|
250
250
|
id: TOGGLE_WORD_WRAP_ID,
|
|
251
|
-
title: ( localize(
|
|
251
|
+
title: ( localize(660, "Disable wrapping for this file")),
|
|
252
252
|
icon: Codicon.wordWrap
|
|
253
253
|
},
|
|
254
254
|
group: 'navigation',
|
|
@@ -261,7 +261,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
261
261
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
262
262
|
command: {
|
|
263
263
|
id: TOGGLE_WORD_WRAP_ID,
|
|
264
|
-
title: ( localize(
|
|
264
|
+
title: ( localize(661, "Enable wrapping for this file")),
|
|
265
265
|
icon: Codicon.wordWrap
|
|
266
266
|
},
|
|
267
267
|
group: 'navigation',
|
|
@@ -275,7 +275,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
275
275
|
MenuRegistry.appendMenuItem(MenuId.MenubarViewMenu, {
|
|
276
276
|
command: {
|
|
277
277
|
id: TOGGLE_WORD_WRAP_ID,
|
|
278
|
-
title: ( localize(
|
|
278
|
+
title: ( localize(662, "&&Word Wrap")),
|
|
279
279
|
toggled: EDITOR_WORD_WRAP,
|
|
280
280
|
precondition: CAN_TOGGLE_WORD_WRAP
|
|
281
281
|
},
|
|
@@ -159,8 +159,8 @@ let CommentReply = class CommentReply extends Disposable {
|
|
|
159
159
|
setCommentEditorDecorations() {
|
|
160
160
|
const hasExistingComments = this._commentThread.comments && this._commentThread.comments.length > 0;
|
|
161
161
|
const placeholder = hasExistingComments
|
|
162
|
-
? (this._commentOptions?.placeHolder || ( localize(
|
|
163
|
-
: (this._commentOptions?.placeHolder || ( localize(
|
|
162
|
+
? (this._commentOptions?.placeHolder || ( localize(8387, "Reply...")))
|
|
163
|
+
: (this._commentOptions?.placeHolder || ( localize(8388, "Type a new comment")));
|
|
164
164
|
this.commentEditor.updateOptions({ placeholder });
|
|
165
165
|
}
|
|
166
166
|
createTextModelListener(commentEditor, commentForm) {
|
|
@@ -279,8 +279,8 @@ let CommentReply = class CommentReply extends Disposable {
|
|
|
279
279
|
}
|
|
280
280
|
createReplyButton(commentEditor, commentForm) {
|
|
281
281
|
this._reviewThreadReplyButton = append(commentForm, $(`button.review-thread-reply-button.${MOUSE_CURSOR_TEXT_CSS_CLASS_NAME}`));
|
|
282
|
-
this._register(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), this._reviewThreadReplyButton, this._commentOptions?.prompt || ( localize(
|
|
283
|
-
this._reviewThreadReplyButton.textContent = this._commentOptions?.prompt || ( localize(
|
|
282
|
+
this._register(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), this._reviewThreadReplyButton, this._commentOptions?.prompt || ( localize(8387, "Reply..."))));
|
|
283
|
+
this._reviewThreadReplyButton.textContent = this._commentOptions?.prompt || ( localize(8387, "Reply..."));
|
|
284
284
|
this._register(addDisposableListener(this._reviewThreadReplyButton, 'click', _ => this.clearAndExpandReplyArea()));
|
|
285
285
|
this._register(addDisposableListener(this._reviewThreadReplyButton, 'focus', _ => this.clearAndExpandReplyArea()));
|
|
286
286
|
commentEditor.onDidBlurEditorWidget(() => {
|
|
@@ -8,53 +8,53 @@ import { Disposable } from '../../../../base/common/lifecycle.js';
|
|
|
8
8
|
var CommentAccessibilityHelpNLS;
|
|
9
9
|
( ((function(CommentAccessibilityHelpNLS) {
|
|
10
10
|
CommentAccessibilityHelpNLS.intro = ( localize(
|
|
11
|
-
|
|
11
|
+
5355,
|
|
12
12
|
"The editor contains commentable range(s). Some useful commands include:"
|
|
13
13
|
));
|
|
14
14
|
CommentAccessibilityHelpNLS.tabFocus = ( localize(
|
|
15
|
-
|
|
15
|
+
5356,
|
|
16
16
|
"This widget contains a text area, for composition of new comments, and actions, that can be tabbed to once tab moves focus mode has been enabled with the command Toggle Tab Key Moves Focus{0}.",
|
|
17
17
|
`<keybinding:${ToggleTabFocusModeAction.ID}>`
|
|
18
18
|
));
|
|
19
|
-
CommentAccessibilityHelpNLS.commentCommands = ( localize(
|
|
20
|
-
CommentAccessibilityHelpNLS.escape = ( localize(
|
|
19
|
+
CommentAccessibilityHelpNLS.commentCommands = ( localize(5357, "Some useful comment commands include:"));
|
|
20
|
+
CommentAccessibilityHelpNLS.escape = ( localize(5358, "- Dismiss Comment (Escape)"));
|
|
21
21
|
CommentAccessibilityHelpNLS.nextRange = ( localize(
|
|
22
|
-
|
|
22
|
+
5359,
|
|
23
23
|
"- Go to Next Commenting Range{0}.",
|
|
24
24
|
`<keybinding:${"editor.action.nextCommentingRange" }>`
|
|
25
25
|
));
|
|
26
26
|
CommentAccessibilityHelpNLS.previousRange = ( localize(
|
|
27
|
-
|
|
27
|
+
5360,
|
|
28
28
|
"- Go to Previous Commenting Range{0}.",
|
|
29
29
|
`<keybinding:${"editor.action.previousCommentingRange" }>`
|
|
30
30
|
));
|
|
31
31
|
CommentAccessibilityHelpNLS.nextCommentThread = ( localize(
|
|
32
|
-
|
|
32
|
+
5361,
|
|
33
33
|
"- Go to Next Comment Thread{0}.",
|
|
34
34
|
`<keybinding:${"editor.action.nextCommentThreadAction" }>`
|
|
35
35
|
));
|
|
36
36
|
CommentAccessibilityHelpNLS.previousCommentThread = ( localize(
|
|
37
|
-
|
|
37
|
+
5362,
|
|
38
38
|
"- Go to Previous Comment Thread{0}.",
|
|
39
39
|
`<keybinding:${"editor.action.previousCommentThreadAction" }>`
|
|
40
40
|
));
|
|
41
41
|
CommentAccessibilityHelpNLS.nextCommentedRange = ( localize(
|
|
42
|
-
|
|
42
|
+
5363,
|
|
43
43
|
"- Go to Next Commented Range{0}.",
|
|
44
44
|
`<keybinding:${"editor.action.nextCommentedRangeAction" }>`
|
|
45
45
|
));
|
|
46
46
|
CommentAccessibilityHelpNLS.previousCommentedRange = ( localize(
|
|
47
|
-
|
|
47
|
+
5364,
|
|
48
48
|
"- Go to Previous Commented Range{0}.",
|
|
49
49
|
`<keybinding:${"editor.action.previousCommentedRangeAction" }>`
|
|
50
50
|
));
|
|
51
51
|
CommentAccessibilityHelpNLS.addComment = ( localize(
|
|
52
|
-
|
|
52
|
+
5365,
|
|
53
53
|
"- Add Comment on Current Selection{0}.",
|
|
54
54
|
`<keybinding:${"workbench.action.addComment" }>`
|
|
55
55
|
));
|
|
56
56
|
CommentAccessibilityHelpNLS.submitComment = ( localize(
|
|
57
|
-
|
|
57
|
+
5366,
|
|
58
58
|
"- Submit Comment{0}.",
|
|
59
59
|
`<keybinding:${"editor.action.submitComment" }>`
|
|
60
60
|
));
|
|
@@ -794,7 +794,7 @@ let CommentController = class CommentController {
|
|
|
794
794
|
const commentRangeEnd = range?.getEndPosition().lineNumber;
|
|
795
795
|
if (commentRangeStart && commentRangeEnd) {
|
|
796
796
|
const oneLine = commentRangeStart === commentRangeEnd;
|
|
797
|
-
oneLine ? status(( localize(
|
|
797
|
+
oneLine ? status(( localize(5349, "Line {0}", commentRangeStart))) : status(( localize(5350, "Lines {0} to {1}", commentRangeStart, commentRangeEnd)));
|
|
798
798
|
}
|
|
799
799
|
}
|
|
800
800
|
}
|
|
@@ -966,20 +966,20 @@ let CommentController = class CommentController {
|
|
|
966
966
|
const keybinding = this.keybindingService.lookupKeybinding("editor.action.accessibilityHelp" )?.getAriaLabel();
|
|
967
967
|
if (keybinding) {
|
|
968
968
|
status(( localize(
|
|
969
|
-
|
|
969
|
+
5351,
|
|
970
970
|
"Editor has commenting ranges, run the command Open Accessibility Help ({0}), for more information.",
|
|
971
971
|
keybinding
|
|
972
972
|
)));
|
|
973
973
|
}
|
|
974
974
|
else {
|
|
975
975
|
status(( localize(
|
|
976
|
-
|
|
976
|
+
5352,
|
|
977
977
|
"Editor has commenting ranges, run the command Open Accessibility Help, which is currently not triggerable via keybinding, for more information."
|
|
978
978
|
)));
|
|
979
979
|
}
|
|
980
980
|
}
|
|
981
981
|
else {
|
|
982
|
-
status(( localize(
|
|
982
|
+
status(( localize(5353, "Editor has commenting ranges.")));
|
|
983
983
|
}
|
|
984
984
|
}
|
|
985
985
|
}
|
|
@@ -1132,7 +1132,7 @@ let CommentController = class CommentController {
|
|
|
1132
1132
|
}
|
|
1133
1133
|
else {
|
|
1134
1134
|
const picks = this.getCommentProvidersQuickPicks(newCommentInfos);
|
|
1135
|
-
return this.quickInputService.pick(picks, { placeHolder: ( localize(
|
|
1135
|
+
return this.quickInputService.pick(picks, { placeHolder: ( localize(5354, "Select Comment Provider")), matchOnDescription: true }).then(pick => {
|
|
1136
1136
|
if (!pick) {
|
|
1137
1137
|
return;
|
|
1138
1138
|
}
|
|
@@ -92,7 +92,7 @@ class CommentsModel extends Disposable {
|
|
|
92
92
|
}
|
|
93
93
|
getMessage() {
|
|
94
94
|
if (!this._resourceCommentThreads.length) {
|
|
95
|
-
return ( localize(
|
|
95
|
+
return ( localize(5304, "There are no comments in this workspace yet."));
|
|
96
96
|
}
|
|
97
97
|
else {
|
|
98
98
|
return '';
|
|
@@ -31,7 +31,7 @@ import { IKeybindingService } from '../../../../platform/keybinding/common/keybi
|
|
|
31
31
|
import { IHoverService } from '../../../../platform/hover/browser/hover.service.js';
|
|
32
32
|
const COMMENTS_VIEW_ID = 'workbench.panel.comments';
|
|
33
33
|
const COMMENTS_VIEW_STORAGE_ID = 'Comments';
|
|
34
|
-
const COMMENTS_VIEW_TITLE = ( localize2(
|
|
34
|
+
const COMMENTS_VIEW_TITLE = ( localize2(5322, "Comments"));
|
|
35
35
|
class CommentsModelVirtualDelegate {
|
|
36
36
|
static { this.RESOURCE_ID = 'resource-with-comments'; }
|
|
37
37
|
static { this.COMMENT_ID = 'comment-node'; }
|
|
@@ -170,13 +170,13 @@ let CommentNodeRenderer = class CommentNodeRenderer {
|
|
|
170
170
|
}
|
|
171
171
|
getCountString(commentCount) {
|
|
172
172
|
if (commentCount > 2) {
|
|
173
|
-
return ( localize(
|
|
173
|
+
return ( localize(5323, "{0} replies", commentCount - 1));
|
|
174
174
|
}
|
|
175
175
|
else if (commentCount === 2) {
|
|
176
|
-
return ( localize(
|
|
176
|
+
return ( localize(5324, "1 reply"));
|
|
177
177
|
}
|
|
178
178
|
else {
|
|
179
|
-
return ( localize(
|
|
179
|
+
return ( localize(5325, "1 comment"));
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
getRenderedComment(commentBody, disposables) {
|
|
@@ -191,7 +191,7 @@ let CommentNodeRenderer = class CommentNodeRenderer {
|
|
|
191
191
|
for (let i = 0; i < images.length; i++) {
|
|
192
192
|
const image = images[i];
|
|
193
193
|
const textDescription = $('');
|
|
194
|
-
textDescription.textContent = image.alt ? ( localize(
|
|
194
|
+
textDescription.textContent = image.alt ? ( localize(5326, "Image: {0}", image.alt)) : ( localize(5327, "Image"));
|
|
195
195
|
image.parentNode.replaceChild(textDescription, image);
|
|
196
196
|
}
|
|
197
197
|
while ((renderedComment.element.children.length > 1) && (renderedComment.element.firstElementChild?.tagName === 'HR')) {
|
|
@@ -212,7 +212,7 @@ let CommentNodeRenderer = class CommentNodeRenderer {
|
|
|
212
212
|
const commentCount = node.element.replies.length + 1;
|
|
213
213
|
if (node.element.threadRelevance === CommentThreadApplicability.Outdated) {
|
|
214
214
|
templateData.threadMetadata.relevance.style.display = '';
|
|
215
|
-
templateData.threadMetadata.relevance.innerText = ( localize(
|
|
215
|
+
templateData.threadMetadata.relevance.innerText = ( localize(5328, "Outdated"));
|
|
216
216
|
templateData.threadMetadata.separator.style.display = 'none';
|
|
217
217
|
}
|
|
218
218
|
else {
|
|
@@ -246,11 +246,11 @@ let CommentNodeRenderer = class CommentNodeRenderer {
|
|
|
246
246
|
}
|
|
247
247
|
if (node.element.range) {
|
|
248
248
|
if (node.element.range.startLineNumber === node.element.range.endLineNumber) {
|
|
249
|
-
templateData.threadMetadata.range.textContent = ( localize(
|
|
249
|
+
templateData.threadMetadata.range.textContent = ( localize(5329, "[Ln {0}]", node.element.range.startLineNumber));
|
|
250
250
|
}
|
|
251
251
|
else {
|
|
252
252
|
templateData.threadMetadata.range.textContent = ( localize(
|
|
253
|
-
|
|
253
|
+
5330,
|
|
254
254
|
"[Ln {0}-{1}]",
|
|
255
255
|
node.element.range.startLineNumber,
|
|
256
256
|
node.element.range.endLineNumber
|
|
@@ -271,7 +271,7 @@ let CommentNodeRenderer = class CommentNodeRenderer {
|
|
|
271
271
|
templateData.repliesMetadata.container.style.display = '';
|
|
272
272
|
templateData.repliesMetadata.count.textContent = this.getCountString(commentCount);
|
|
273
273
|
const lastComment = node.element.replies[node.element.replies.length - 1].comment;
|
|
274
|
-
templateData.repliesMetadata.lastReplyDetail.textContent = ( localize(
|
|
274
|
+
templateData.repliesMetadata.lastReplyDetail.textContent = ( localize(5331, "Last reply from {0}", lastComment.userName));
|
|
275
275
|
templateData.repliesMetadata.timestamp.setTimestamp(lastComment.timestamp ? ( (new Date(lastComment.timestamp))) : undefined);
|
|
276
276
|
}
|
|
277
277
|
getCommentThreadWidgetStateColor(state, theme) {
|
|
@@ -106,8 +106,8 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
106
106
|
super({
|
|
107
107
|
...options,
|
|
108
108
|
filterOptions: {
|
|
109
|
-
placeholder: ( localize(
|
|
110
|
-
ariaLabel: ( localize(
|
|
109
|
+
placeholder: ( localize(5332, "Filter (e.g. text, author)")),
|
|
110
|
+
ariaLabel: ( localize(5333, "Filter comments")),
|
|
111
111
|
history: viewState['filterHistory'] || [],
|
|
112
112
|
text: viewState['filter'] || '',
|
|
113
113
|
focusContextKey: CommentsViewFilterFocusContextKey.key
|
|
@@ -197,7 +197,7 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
197
197
|
this.tree?.filterComments();
|
|
198
198
|
this.cachedFilterStats = undefined;
|
|
199
199
|
const { total, filtered } = this.getFilterStats();
|
|
200
|
-
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(
|
|
200
|
+
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(5334, "Showing {0} of {1}", filtered, total)));
|
|
201
201
|
this.filterWidget.checkMoreFilters(!this.filters.showResolved || !this.filters.showUnresolved);
|
|
202
202
|
}
|
|
203
203
|
renderBody(container) {
|
|
@@ -278,8 +278,8 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
278
278
|
let accessibleViewHint = '';
|
|
279
279
|
if (forAriaLabel && this.configurationService.getValue("accessibility.verbosity.comments" )) {
|
|
280
280
|
const kbLabel = this.keybindingService.lookupKeybinding(AccessibleViewAction.id)?.getAriaLabel();
|
|
281
|
-
accessibleViewHint = kbLabel ? ( localize(
|
|
282
|
-
|
|
281
|
+
accessibleViewHint = kbLabel ? ( localize(5335, "Inspect this in the accessible view ({0}).\n", kbLabel)) : ( localize(
|
|
282
|
+
5336,
|
|
283
283
|
"Inspect this in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding.\n"
|
|
284
284
|
));
|
|
285
285
|
}
|
|
@@ -297,7 +297,7 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
297
297
|
if (element.range) {
|
|
298
298
|
if (element.threadRelevance === CommentThreadApplicability.Outdated) {
|
|
299
299
|
return accessibleViewHint + ( localize(
|
|
300
|
-
|
|
300
|
+
5337,
|
|
301
301
|
"Outdated from {0} at line {1} column {2} in {3}{4}\nComment: {5}{6}",
|
|
302
302
|
element.comment.userName,
|
|
303
303
|
element.range.startLineNumber,
|
|
@@ -310,7 +310,7 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
310
310
|
}
|
|
311
311
|
else {
|
|
312
312
|
return accessibleViewHint + ( localize(
|
|
313
|
-
|
|
313
|
+
5338,
|
|
314
314
|
"{0} at line {1} column {2} in {3} {4}\nComment: {5}{6}",
|
|
315
315
|
element.comment.userName,
|
|
316
316
|
element.range.startLineNumber,
|
|
@@ -325,7 +325,7 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
325
325
|
else {
|
|
326
326
|
if (element.threadRelevance === CommentThreadApplicability.Outdated) {
|
|
327
327
|
return accessibleViewHint + ( localize(
|
|
328
|
-
|
|
328
|
+
5339,
|
|
329
329
|
"Outdated from {0} in {1} {2}\nComment: {3}{4}{5}",
|
|
330
330
|
element.comment.userName,
|
|
331
331
|
basename(element.resource),
|
|
@@ -335,7 +335,7 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
335
335
|
}
|
|
336
336
|
else {
|
|
337
337
|
return accessibleViewHint + ( localize(
|
|
338
|
-
|
|
338
|
+
5340,
|
|
339
339
|
"{0} in {1} {2}\nComment: {3}{4}",
|
|
340
340
|
element.comment.userName,
|
|
341
341
|
basename(element.resource),
|
|
@@ -351,14 +351,14 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
351
351
|
return '';
|
|
352
352
|
}
|
|
353
353
|
return '\n' + ( (node.replies.map(reply => ( localize(
|
|
354
|
-
|
|
354
|
+
5341,
|
|
355
355
|
"{0} {1}",
|
|
356
356
|
reply.comment.userName,
|
|
357
357
|
(typeof reply.comment.body === 'string') ? reply.comment.body : reply.comment.body.value
|
|
358
358
|
))))).join('\n');
|
|
359
359
|
}
|
|
360
360
|
getReplyCountAsString(node, forAriaLabel) {
|
|
361
|
-
return node.replies.length && !forAriaLabel ? ( localize(
|
|
361
|
+
return node.replies.length && !forAriaLabel ? ( localize(5342, " {0} replies,", node.replies.length)) : '';
|
|
362
362
|
}
|
|
363
363
|
createTree() {
|
|
364
364
|
this.treeLabels = this._register(this.instantiationService.createInstance(ResourceLabels, this));
|
|
@@ -397,11 +397,11 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
397
397
|
accessibilityProvider: {
|
|
398
398
|
getAriaLabel: (element) => {
|
|
399
399
|
if (element instanceof CommentsModel) {
|
|
400
|
-
return ( localize(
|
|
400
|
+
return ( localize(5343, "Comments for current workspace"));
|
|
401
401
|
}
|
|
402
402
|
if (element instanceof ResourceWithCommentThreads) {
|
|
403
403
|
return ( localize(
|
|
404
|
-
|
|
404
|
+
5344,
|
|
405
405
|
"Comments in {0}, full path {1}",
|
|
406
406
|
basename(element.resource),
|
|
407
407
|
element.resource.fsPath
|