@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
|
@@ -15,7 +15,7 @@ class ToggleMultiCursorModifierAction extends Action2 {
|
|
|
15
15
|
constructor() {
|
|
16
16
|
super({
|
|
17
17
|
id: ToggleMultiCursorModifierAction.ID,
|
|
18
|
-
title: ( localize2(
|
|
18
|
+
title: ( localize2(730, 'Toggle Multi-Cursor Modifier')),
|
|
19
19
|
f1: true
|
|
20
20
|
});
|
|
21
21
|
}
|
|
@@ -55,7 +55,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSelectionMenu, {
|
|
|
55
55
|
group: '4_config',
|
|
56
56
|
command: {
|
|
57
57
|
id: ToggleMultiCursorModifierAction.ID,
|
|
58
|
-
title: ( localize(
|
|
58
|
+
title: ( localize(731, "Switch to Alt+Click for Multi-Cursor"))
|
|
59
59
|
},
|
|
60
60
|
when: ( (multiCursorModifier.isEqualTo('ctrlCmd'))),
|
|
61
61
|
order: 1
|
|
@@ -65,8 +65,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSelectionMenu, {
|
|
|
65
65
|
command: {
|
|
66
66
|
id: ToggleMultiCursorModifierAction.ID,
|
|
67
67
|
title: (isMacintosh
|
|
68
|
-
? ( localize(
|
|
69
|
-
: ( localize(
|
|
68
|
+
? ( localize(732, "Switch to Cmd+Click for Multi-Cursor"))
|
|
69
|
+
: ( localize(733, "Switch to Ctrl+Click for Multi-Cursor")))
|
|
70
70
|
},
|
|
71
71
|
when: ( (multiCursorModifier.isEqualTo('altKey'))),
|
|
72
72
|
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(734, "Toggle Control Characters")),
|
|
13
|
+
mnemonicTitle: ( localize(735, "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(741, "Toggle Render Whitespace")),
|
|
13
|
+
mnemonicTitle: ( localize(742, "&&Render Whitespace")),
|
|
14
14
|
},
|
|
15
15
|
category: Categories.View,
|
|
16
16
|
f1: true,
|
|
@@ -20,7 +20,7 @@ const transientWordWrapState = 'transientWordWrapState';
|
|
|
20
20
|
const isWordWrapMinifiedKey = 'isWordWrapMinified';
|
|
21
21
|
const isDominatedByLongLinesKey = 'isDominatedByLongLines';
|
|
22
22
|
const CAN_TOGGLE_WORD_WRAP = ( (new RawContextKey('canToggleWordWrap', false, true)));
|
|
23
|
-
const EDITOR_WORD_WRAP = ( (new RawContextKey('editorWordWrap', false, ( localize(
|
|
23
|
+
const EDITOR_WORD_WRAP = ( (new RawContextKey('editorWordWrap', false, ( localize(736, 'Whether the editor is currently using word wrapping.')))));
|
|
24
24
|
function writeTransientState(model, state, codeEditorService) {
|
|
25
25
|
codeEditorService.setTransientModelProperty(model, transientWordWrapState, state);
|
|
26
26
|
}
|
|
@@ -32,7 +32,7 @@ class ToggleWordWrapAction extends EditorAction {
|
|
|
32
32
|
constructor() {
|
|
33
33
|
super({
|
|
34
34
|
id: TOGGLE_WORD_WRAP_ID,
|
|
35
|
-
label: ( localize(
|
|
35
|
+
label: ( localize(737, "View: Toggle Word Wrap")),
|
|
36
36
|
alias: 'View: Toggle Word Wrap',
|
|
37
37
|
precondition: undefined,
|
|
38
38
|
kbOpts: {
|
|
@@ -251,7 +251,7 @@ registerEditorAction(ToggleWordWrapAction);
|
|
|
251
251
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
252
252
|
command: {
|
|
253
253
|
id: TOGGLE_WORD_WRAP_ID,
|
|
254
|
-
title: ( localize(
|
|
254
|
+
title: ( localize(738, "Disable wrapping for this file")),
|
|
255
255
|
icon: Codicon.wordWrap
|
|
256
256
|
},
|
|
257
257
|
group: 'navigation',
|
|
@@ -264,7 +264,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
264
264
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
265
265
|
command: {
|
|
266
266
|
id: TOGGLE_WORD_WRAP_ID,
|
|
267
|
-
title: ( localize(
|
|
267
|
+
title: ( localize(739, "Enable wrapping for this file")),
|
|
268
268
|
icon: Codicon.wordWrap
|
|
269
269
|
},
|
|
270
270
|
group: 'navigation',
|
|
@@ -278,7 +278,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
278
278
|
MenuRegistry.appendMenuItem(MenuId.MenubarViewMenu, {
|
|
279
279
|
command: {
|
|
280
280
|
id: TOGGLE_WORD_WRAP_ID,
|
|
281
|
-
title: ( localize(
|
|
281
|
+
title: ( localize(740, "&&Word Wrap")),
|
|
282
282
|
toggled: EDITOR_WORD_WRAP,
|
|
283
283
|
precondition: CAN_TOGGLE_WORD_WRAP
|
|
284
284
|
},
|
|
@@ -158,8 +158,8 @@ let CommentReply = class CommentReply extends Disposable {
|
|
|
158
158
|
setCommentEditorDecorations() {
|
|
159
159
|
const hasExistingComments = this._commentThread.comments && this._commentThread.comments.length > 0;
|
|
160
160
|
const placeholder = hasExistingComments
|
|
161
|
-
? (this._commentOptions?.placeHolder || ( localize(
|
|
162
|
-
: (this._commentOptions?.placeHolder || ( localize(
|
|
161
|
+
? (this._commentOptions?.placeHolder || ( localize(8268, "Reply...")))
|
|
162
|
+
: (this._commentOptions?.placeHolder || ( localize(8269, "Type a new comment")));
|
|
163
163
|
this.commentEditor.updateOptions({ placeholder });
|
|
164
164
|
}
|
|
165
165
|
createTextModelListener(commentEditor, commentForm) {
|
|
@@ -276,8 +276,8 @@ let CommentReply = class CommentReply extends Disposable {
|
|
|
276
276
|
}
|
|
277
277
|
createReplyButton(commentEditor, commentForm) {
|
|
278
278
|
this._reviewThreadReplyButton = append(commentForm, $(`button.review-thread-reply-button.${MOUSE_CURSOR_TEXT_CSS_CLASS_NAME}`));
|
|
279
|
-
this._register(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), this._reviewThreadReplyButton, this._commentOptions?.prompt || ( localize(
|
|
280
|
-
this._reviewThreadReplyButton.textContent = this._commentOptions?.prompt || ( localize(
|
|
279
|
+
this._register(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), this._reviewThreadReplyButton, this._commentOptions?.prompt || ( localize(8268, "Reply..."))));
|
|
280
|
+
this._reviewThreadReplyButton.textContent = this._commentOptions?.prompt || ( localize(8268, "Reply..."));
|
|
281
281
|
this._register(addDisposableListener(this._reviewThreadReplyButton, 'click', _ => this.clearAndExpandReplyArea()));
|
|
282
282
|
this._register(addDisposableListener(this._reviewThreadReplyButton, 'focus', _ => this.clearAndExpandReplyArea()));
|
|
283
283
|
commentEditor.onDidBlurEditorWidget(() => {
|
|
@@ -11,42 +11,42 @@ import { Disposable } from '../../../../base/common/lifecycle.js';
|
|
|
11
11
|
var CommentAccessibilityHelpNLS;
|
|
12
12
|
( ((function(CommentAccessibilityHelpNLS) {
|
|
13
13
|
CommentAccessibilityHelpNLS.intro = ( localize(
|
|
14
|
-
|
|
14
|
+
5352,
|
|
15
15
|
"The editor contains commentable range(s). Some useful commands include:"
|
|
16
16
|
));
|
|
17
17
|
CommentAccessibilityHelpNLS.tabFocus = ( localize(
|
|
18
|
-
|
|
18
|
+
5353,
|
|
19
19
|
"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}.",
|
|
20
20
|
`<keybinding:${ToggleTabFocusModeAction.ID}>`
|
|
21
21
|
));
|
|
22
|
-
CommentAccessibilityHelpNLS.commentCommands = ( localize(
|
|
23
|
-
CommentAccessibilityHelpNLS.escape = ( localize(
|
|
22
|
+
CommentAccessibilityHelpNLS.commentCommands = ( localize(5354, "Some useful comment commands include:"));
|
|
23
|
+
CommentAccessibilityHelpNLS.escape = ( localize(5355, "- Dismiss Comment (Escape)"));
|
|
24
24
|
CommentAccessibilityHelpNLS.nextRange = ( localize(
|
|
25
|
-
|
|
25
|
+
5356,
|
|
26
26
|
"- Go to Next Commenting Range{0}.",
|
|
27
27
|
`<keybinding:${CommentCommandId.NextRange}>`
|
|
28
28
|
));
|
|
29
29
|
CommentAccessibilityHelpNLS.previousRange = ( localize(
|
|
30
|
-
|
|
30
|
+
5357,
|
|
31
31
|
"- Go to Previous Commenting Range{0}.",
|
|
32
32
|
`<keybinding:${CommentCommandId.PreviousRange}>`
|
|
33
33
|
));
|
|
34
34
|
CommentAccessibilityHelpNLS.nextCommentThread = ( localize(
|
|
35
|
-
|
|
35
|
+
5358,
|
|
36
36
|
"- Go to Next Comment Thread{0}.",
|
|
37
37
|
`<keybinding:${CommentCommandId.NextThread}>`
|
|
38
38
|
));
|
|
39
39
|
CommentAccessibilityHelpNLS.previousCommentThread = ( localize(
|
|
40
|
-
|
|
40
|
+
5359,
|
|
41
41
|
"- Go to Previous Comment Thread{0}.",
|
|
42
42
|
`<keybinding:${CommentCommandId.PreviousThread}>`
|
|
43
43
|
));
|
|
44
44
|
CommentAccessibilityHelpNLS.addComment = ( localize(
|
|
45
|
-
|
|
45
|
+
5360,
|
|
46
46
|
"- Add Comment on Current Selection{0}.",
|
|
47
47
|
`<keybinding:${CommentCommandId.Add}>`
|
|
48
48
|
));
|
|
49
|
-
CommentAccessibilityHelpNLS.submitComment = ( localize(
|
|
49
|
+
CommentAccessibilityHelpNLS.submitComment = ( localize(5361, "- Submit Comment{0}.", `<keybinding:${CommentCommandId.Submit}>`));
|
|
50
50
|
})(CommentAccessibilityHelpNLS || (CommentAccessibilityHelpNLS = {}))));
|
|
51
51
|
class CommentsAccessibilityHelpProvider extends Disposable {
|
|
52
52
|
constructor() {
|
|
@@ -771,7 +771,7 @@ let CommentController = class CommentController {
|
|
|
771
771
|
const commentRangeEnd = range?.getEndPosition().lineNumber;
|
|
772
772
|
if (commentRangeStart && commentRangeEnd) {
|
|
773
773
|
const oneLine = commentRangeStart === commentRangeEnd;
|
|
774
|
-
oneLine ? status(( localize(
|
|
774
|
+
oneLine ? status(( localize(5346, "Line {0}", commentRangeStart))) : status(( localize(5347, "Lines {0} to {1}", commentRangeStart, commentRangeEnd)));
|
|
775
775
|
}
|
|
776
776
|
}
|
|
777
777
|
}
|
|
@@ -943,20 +943,20 @@ let CommentController = class CommentController {
|
|
|
943
943
|
const keybinding = this.keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibilityHelp)?.getAriaLabel();
|
|
944
944
|
if (keybinding) {
|
|
945
945
|
status(( localize(
|
|
946
|
-
|
|
946
|
+
5348,
|
|
947
947
|
"Editor has commenting ranges, run the command Open Accessibility Help ({0}), for more information.",
|
|
948
948
|
keybinding
|
|
949
949
|
)));
|
|
950
950
|
}
|
|
951
951
|
else {
|
|
952
952
|
status(( localize(
|
|
953
|
-
|
|
953
|
+
5349,
|
|
954
954
|
"Editor has commenting ranges, run the command Open Accessibility Help, which is currently not triggerable via keybinding, for more information."
|
|
955
955
|
)));
|
|
956
956
|
}
|
|
957
957
|
}
|
|
958
958
|
else {
|
|
959
|
-
status(( localize(
|
|
959
|
+
status(( localize(5350, "Editor has commenting ranges.")));
|
|
960
960
|
}
|
|
961
961
|
}
|
|
962
962
|
}
|
|
@@ -1106,7 +1106,7 @@ let CommentController = class CommentController {
|
|
|
1106
1106
|
}
|
|
1107
1107
|
else {
|
|
1108
1108
|
const picks = this.getCommentProvidersQuickPicks(newCommentInfos);
|
|
1109
|
-
return this.quickInputService.pick(picks, { placeHolder: ( localize(
|
|
1109
|
+
return this.quickInputService.pick(picks, { placeHolder: ( localize(5351, "Select Comment Provider")), matchOnDescription: true }).then(pick => {
|
|
1110
1110
|
if (!pick) {
|
|
1111
1111
|
return;
|
|
1112
1112
|
}
|
|
@@ -85,7 +85,7 @@ class CommentsModel extends Disposable {
|
|
|
85
85
|
}
|
|
86
86
|
getMessage() {
|
|
87
87
|
if (!this._resourceCommentThreads.length) {
|
|
88
|
-
return ( localize(
|
|
88
|
+
return ( localize(5310, "There are no comments in this workspace yet."));
|
|
89
89
|
}
|
|
90
90
|
else {
|
|
91
91
|
return '';
|
|
@@ -33,7 +33,7 @@ import { IKeybindingService } from '../../../../platform/keybinding/common/keybi
|
|
|
33
33
|
import { IHoverService } from '../../../../platform/hover/browser/hover.service.js';
|
|
34
34
|
const COMMENTS_VIEW_ID = 'workbench.panel.comments';
|
|
35
35
|
const COMMENTS_VIEW_STORAGE_ID = 'Comments';
|
|
36
|
-
const COMMENTS_VIEW_TITLE = ( localize2(
|
|
36
|
+
const COMMENTS_VIEW_TITLE = ( localize2(5319, "Comments"));
|
|
37
37
|
class CommentsModelVirualDelegate {
|
|
38
38
|
static { this.RESOURCE_ID = 'resource-with-comments'; }
|
|
39
39
|
static { this.COMMENT_ID = 'comment-node'; }
|
|
@@ -172,13 +172,13 @@ let CommentNodeRenderer = class CommentNodeRenderer {
|
|
|
172
172
|
}
|
|
173
173
|
getCountString(commentCount) {
|
|
174
174
|
if (commentCount > 2) {
|
|
175
|
-
return ( localize(
|
|
175
|
+
return ( localize(5320, "{0} replies", commentCount - 1));
|
|
176
176
|
}
|
|
177
177
|
else if (commentCount === 2) {
|
|
178
|
-
return ( localize(
|
|
178
|
+
return ( localize(5321, "1 reply"));
|
|
179
179
|
}
|
|
180
180
|
else {
|
|
181
|
-
return ( localize(
|
|
181
|
+
return ( localize(5322, "1 comment"));
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
getRenderedComment(commentBody, disposables) {
|
|
@@ -193,7 +193,7 @@ let CommentNodeRenderer = class CommentNodeRenderer {
|
|
|
193
193
|
for (let i = 0; i < images.length; i++) {
|
|
194
194
|
const image = images[i];
|
|
195
195
|
const textDescription = $('');
|
|
196
|
-
textDescription.textContent = image.alt ? ( localize(
|
|
196
|
+
textDescription.textContent = image.alt ? ( localize(5323, "Image: {0}", image.alt)) : ( localize(5324, "Image"));
|
|
197
197
|
image.parentNode.replaceChild(textDescription, image);
|
|
198
198
|
}
|
|
199
199
|
return renderedComment;
|
|
@@ -211,7 +211,7 @@ let CommentNodeRenderer = class CommentNodeRenderer {
|
|
|
211
211
|
const commentCount = node.element.replies.length + 1;
|
|
212
212
|
if (node.element.threadRelevance === CommentThreadApplicability.Outdated) {
|
|
213
213
|
templateData.threadMetadata.relevance.style.display = '';
|
|
214
|
-
templateData.threadMetadata.relevance.innerText = ( localize(
|
|
214
|
+
templateData.threadMetadata.relevance.innerText = ( localize(5325, "Outdated"));
|
|
215
215
|
templateData.threadMetadata.separator.style.display = 'none';
|
|
216
216
|
}
|
|
217
217
|
else {
|
|
@@ -245,11 +245,11 @@ let CommentNodeRenderer = class CommentNodeRenderer {
|
|
|
245
245
|
}
|
|
246
246
|
if (node.element.range) {
|
|
247
247
|
if (node.element.range.startLineNumber === node.element.range.endLineNumber) {
|
|
248
|
-
templateData.threadMetadata.range.textContent = ( localize(
|
|
248
|
+
templateData.threadMetadata.range.textContent = ( localize(5326, "[Ln {0}]", node.element.range.startLineNumber));
|
|
249
249
|
}
|
|
250
250
|
else {
|
|
251
251
|
templateData.threadMetadata.range.textContent = ( localize(
|
|
252
|
-
|
|
252
|
+
5327,
|
|
253
253
|
"[Ln {0}-{1}]",
|
|
254
254
|
node.element.range.startLineNumber,
|
|
255
255
|
node.element.range.endLineNumber
|
|
@@ -270,7 +270,7 @@ let CommentNodeRenderer = class CommentNodeRenderer {
|
|
|
270
270
|
templateData.repliesMetadata.container.style.display = '';
|
|
271
271
|
templateData.repliesMetadata.count.textContent = this.getCountString(commentCount);
|
|
272
272
|
const lastComment = node.element.replies[node.element.replies.length - 1].comment;
|
|
273
|
-
templateData.repliesMetadata.lastReplyDetail.textContent = ( localize(
|
|
273
|
+
templateData.repliesMetadata.lastReplyDetail.textContent = ( localize(5328, "Last reply from {0}", lastComment.userName));
|
|
274
274
|
templateData.repliesMetadata.timestamp.setTimestamp(lastComment.timestamp ? ( (new Date(lastComment.timestamp))) : undefined);
|
|
275
275
|
}
|
|
276
276
|
getCommentThreadWidgetStateColor(state, theme) {
|
|
@@ -101,8 +101,8 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
101
101
|
super({
|
|
102
102
|
...options,
|
|
103
103
|
filterOptions: {
|
|
104
|
-
placeholder: ( localize(
|
|
105
|
-
ariaLabel: ( localize(
|
|
104
|
+
placeholder: ( localize(5329, "Filter (e.g. text, author)")),
|
|
105
|
+
ariaLabel: ( localize(5330, "Filter comments")),
|
|
106
106
|
history: viewState['filterHistory'] || [],
|
|
107
107
|
text: viewState['filter'] || '',
|
|
108
108
|
focusContextKey: CommentsViewFilterFocusContextKey.key
|
|
@@ -186,7 +186,7 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
186
186
|
this.tree?.filterComments();
|
|
187
187
|
this.cachedFilterStats = undefined;
|
|
188
188
|
const { total, filtered } = this.getFilterStats();
|
|
189
|
-
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(
|
|
189
|
+
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(5331, "Showing {0} of {1}", filtered, total)));
|
|
190
190
|
this.filterWidget.checkMoreFilters(!this.filters.showResolved || !this.filters.showUnresolved);
|
|
191
191
|
}
|
|
192
192
|
renderBody(container) {
|
|
@@ -267,8 +267,8 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
267
267
|
let accessibleViewHint = '';
|
|
268
268
|
if (forAriaLabel && this.configurationService.getValue(AccessibilityVerbositySettingId.Comments)) {
|
|
269
269
|
const kbLabel = this.keybindingService.lookupKeybinding(AccessibleViewAction.id)?.getAriaLabel();
|
|
270
|
-
accessibleViewHint = kbLabel ? ( localize(
|
|
271
|
-
|
|
270
|
+
accessibleViewHint = kbLabel ? ( localize(5332, "Inspect this in the accessible view ({0}).\n", kbLabel)) : ( localize(
|
|
271
|
+
5333,
|
|
272
272
|
"Inspect this in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding.\n"
|
|
273
273
|
));
|
|
274
274
|
}
|
|
@@ -277,7 +277,7 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
277
277
|
if (element.range) {
|
|
278
278
|
if (element.threadRelevance === CommentThreadApplicability.Outdated) {
|
|
279
279
|
return accessibleViewHint + ( localize(
|
|
280
|
-
|
|
280
|
+
5334,
|
|
281
281
|
"Outdated from {0} at line {1} column {2} in {3},{4} comment: {5}",
|
|
282
282
|
element.comment.userName,
|
|
283
283
|
element.range.startLineNumber,
|
|
@@ -289,7 +289,7 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
289
289
|
}
|
|
290
290
|
else {
|
|
291
291
|
return accessibleViewHint + ( localize(
|
|
292
|
-
|
|
292
|
+
5335,
|
|
293
293
|
"{0} at line {1} column {2} in {3},{4} comment: {5}",
|
|
294
294
|
element.comment.userName,
|
|
295
295
|
element.range.startLineNumber,
|
|
@@ -303,7 +303,7 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
303
303
|
else {
|
|
304
304
|
if (element.threadRelevance === CommentThreadApplicability.Outdated) {
|
|
305
305
|
return accessibleViewHint + ( localize(
|
|
306
|
-
|
|
306
|
+
5336,
|
|
307
307
|
"Outdated from {0} in {1},{2} comment: {3}",
|
|
308
308
|
element.comment.userName,
|
|
309
309
|
basename(element.resource),
|
|
@@ -313,7 +313,7 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
313
313
|
}
|
|
314
314
|
else {
|
|
315
315
|
return accessibleViewHint + ( localize(
|
|
316
|
-
|
|
316
|
+
5337,
|
|
317
317
|
"{0} in {1},{2} comment: {3}",
|
|
318
318
|
element.comment.userName,
|
|
319
319
|
basename(element.resource),
|
|
@@ -328,14 +328,14 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
328
328
|
return '';
|
|
329
329
|
}
|
|
330
330
|
return '\n' + ( (node.replies.map(reply => ( localize(
|
|
331
|
-
|
|
331
|
+
5338,
|
|
332
332
|
"{0} {1}",
|
|
333
333
|
reply.comment.userName,
|
|
334
334
|
(typeof reply.comment.body === 'string') ? reply.comment.body : reply.comment.body.value
|
|
335
335
|
))))).join('\n');
|
|
336
336
|
}
|
|
337
337
|
getReplyCountAsString(node, forAriaLabel) {
|
|
338
|
-
return node.replies.length && !forAriaLabel ? ( localize(
|
|
338
|
+
return node.replies.length && !forAriaLabel ? ( localize(5339, " {0} replies,", node.replies.length)) : '';
|
|
339
339
|
}
|
|
340
340
|
createTree() {
|
|
341
341
|
this.treeLabels = this._register(this.instantiationService.createInstance(ResourceLabels, this));
|
|
@@ -351,11 +351,11 @@ let CommentsPanel = class CommentsPanel extends FilterViewPane {
|
|
|
351
351
|
accessibilityProvider: {
|
|
352
352
|
getAriaLabel: (element) => {
|
|
353
353
|
if (element instanceof CommentsModel) {
|
|
354
|
-
return ( localize(
|
|
354
|
+
return ( localize(5340, "Comments for current workspace"));
|
|
355
355
|
}
|
|
356
356
|
if (element instanceof ResourceWithCommentThreads) {
|
|
357
357
|
return ( localize(
|
|
358
|
-
|
|
358
|
+
5341,
|
|
359
359
|
"Comments in {0}, full path {1}",
|
|
360
360
|
basename(element.resource),
|
|
361
361
|
element.resource.fsPath
|
|
@@ -3,16 +3,16 @@ import { RawContextKey } from '../../../../platform/contextkey/common/contextkey
|
|
|
3
3
|
var CommentContextKeys;
|
|
4
4
|
( ((function(CommentContextKeys) {
|
|
5
5
|
CommentContextKeys.activeCursorHasCommentingRange = ( (new RawContextKey('activeCursorHasCommentingRange', false, {
|
|
6
|
-
description: ( localize(
|
|
6
|
+
description: ( localize(5301, "Whether the position at the active cursor has a commenting range")),
|
|
7
7
|
type: 'boolean'
|
|
8
8
|
})));
|
|
9
9
|
CommentContextKeys.activeEditorHasCommentingRange = ( (new RawContextKey('activeEditorHasCommentingRange', false, {
|
|
10
|
-
description: ( localize(
|
|
10
|
+
description: ( localize(5302, "Whether the active editor has a commenting range")),
|
|
11
11
|
type: 'boolean'
|
|
12
12
|
})));
|
|
13
13
|
CommentContextKeys.WorkspaceHasCommenting = ( (new RawContextKey('workspaceHasCommenting', false, {
|
|
14
14
|
description: ( localize(
|
|
15
|
-
|
|
15
|
+
5303,
|
|
16
16
|
"Whether the open workspace has either comments or commenting ranges."
|
|
17
17
|
)),
|
|
18
18
|
type: 'boolean'
|
|
@@ -20,16 +20,16 @@ var CommentContextKeys;
|
|
|
20
20
|
CommentContextKeys.commentThreadIsEmpty = ( (new RawContextKey(
|
|
21
21
|
'commentThreadIsEmpty',
|
|
22
22
|
false,
|
|
23
|
-
{ type: 'boolean', description: ( localize(
|
|
23
|
+
{ type: 'boolean', description: ( localize(5304, "Set when the comment thread has no comments")) }
|
|
24
24
|
)));
|
|
25
|
-
CommentContextKeys.commentIsEmpty = ( (new RawContextKey('commentIsEmpty', false, { type: 'boolean', description: ( localize(
|
|
26
|
-
CommentContextKeys.commentContext = ( (new RawContextKey('comment', undefined, { type: 'string', description: ( localize(
|
|
27
|
-
CommentContextKeys.commentThreadContext = ( (new RawContextKey('commentThread', undefined, { type: 'string', description: ( localize(
|
|
25
|
+
CommentContextKeys.commentIsEmpty = ( (new RawContextKey('commentIsEmpty', false, { type: 'boolean', description: ( localize(5305, "Set when the comment has no input")) })));
|
|
26
|
+
CommentContextKeys.commentContext = ( (new RawContextKey('comment', undefined, { type: 'string', description: ( localize(5306, "The context value of the comment")) })));
|
|
27
|
+
CommentContextKeys.commentThreadContext = ( (new RawContextKey('commentThread', undefined, { type: 'string', description: ( localize(5307, "The context value of the comment thread")) })));
|
|
28
28
|
CommentContextKeys.commentControllerContext = ( (new RawContextKey(
|
|
29
29
|
'commentController',
|
|
30
30
|
undefined,
|
|
31
|
-
{ type: 'string', description: ( localize(
|
|
31
|
+
{ type: 'string', description: ( localize(5308, "The comment controller id associated with a comment thread")) }
|
|
32
32
|
)));
|
|
33
|
-
CommentContextKeys.commentFocused = ( (new RawContextKey('commentFocused', false, { type: 'boolean', description: ( localize(
|
|
33
|
+
CommentContextKeys.commentFocused = ( (new RawContextKey('commentFocused', false, { type: 'boolean', description: ( localize(5309, "Set when the comment is focused")) })));
|
|
34
34
|
})(CommentContextKeys || (CommentContextKeys = {}))));
|
|
35
35
|
export { CommentContextKeys };
|
|
@@ -50,7 +50,7 @@ const breakpointHelperDecoration = {
|
|
|
50
50
|
description: 'breakpoint-helper-decoration',
|
|
51
51
|
glyphMarginClassName: ThemeIcon.asClassName(debugBreakpointHint),
|
|
52
52
|
glyphMargin: { position: GlyphMarginLane.Right },
|
|
53
|
-
glyphMarginHoverMessage: ( (new MarkdownString())).appendText(( localize(
|
|
53
|
+
glyphMarginHoverMessage: ( (new MarkdownString())).appendText(( localize(5819, "Click to add a breakpoint"))),
|
|
54
54
|
stickiness: TrackedRangeStickiness.NeverGrowsWhenTypingAtEdges
|
|
55
55
|
};
|
|
56
56
|
function createBreakpointDecorations(accessor, model, breakpoints, state, breakpointsActivated, showBreakpointsInOverviewRuler) {
|
|
@@ -251,29 +251,29 @@ let BreakpointEditorContribution = class BreakpointEditorContribution {
|
|
|
251
251
|
bp => !!bp.condition || !!bp.logMessage || !!bp.hitCondition || !!bp.triggeredBy
|
|
252
252
|
)))) {
|
|
253
253
|
const logPoint = breakpoints.every(bp => !!bp.logMessage);
|
|
254
|
-
const breakpointType = logPoint ? ( localize(
|
|
254
|
+
const breakpointType = logPoint ? ( localize(5820, "Logpoint")) : ( localize(5821, "Breakpoint"));
|
|
255
255
|
const disabledBreakpointDialogMessage = ( localize(
|
|
256
|
-
|
|
256
|
+
5822,
|
|
257
257
|
"This {0} has a {1} that will get lost on remove. Consider enabling the {0} instead.",
|
|
258
258
|
breakpointType.toLowerCase(),
|
|
259
|
-
logPoint ? ( localize(
|
|
259
|
+
logPoint ? ( localize(5823, "message")) : ( localize(5824, "condition"))
|
|
260
260
|
));
|
|
261
261
|
const enabledBreakpointDialogMessage = ( localize(
|
|
262
|
-
|
|
262
|
+
5825,
|
|
263
263
|
"This {0} has a {1} that will get lost on remove. Consider disabling the {0} instead.",
|
|
264
264
|
breakpointType.toLowerCase(),
|
|
265
|
-
logPoint ? ( localize(
|
|
265
|
+
logPoint ? ( localize(5823, "message")) : ( localize(5824, "condition"))
|
|
266
266
|
));
|
|
267
267
|
await this.dialogService.prompt({
|
|
268
268
|
type: Severity$1.Info,
|
|
269
269
|
message: enabled ? enabledBreakpointDialogMessage : disabledBreakpointDialogMessage,
|
|
270
270
|
buttons: [
|
|
271
271
|
{
|
|
272
|
-
label: ( localize(
|
|
272
|
+
label: ( localize(5826, "&&Remove {0}", breakpointType)),
|
|
273
273
|
run: () => breakpoints.forEach(bp => this.debugService.removeBreakpoints(bp.getId()))
|
|
274
274
|
},
|
|
275
275
|
{
|
|
276
|
-
label: ( localize(
|
|
276
|
+
label: ( localize(5827, "{0} {1}", enabled ? ( localize(5828, "&&Disable")) : ( localize(5829, "&&Enable")), breakpointType)),
|
|
277
277
|
run: () => breakpoints.forEach(bp => this.debugService.enableOrDisableBreakpoints(!enabled, bp))
|
|
278
278
|
}
|
|
279
279
|
],
|
|
@@ -357,14 +357,14 @@ let BreakpointEditorContribution = class BreakpointEditorContribution {
|
|
|
357
357
|
getContextMenuActions(breakpoints, uri, lineNumber, column) {
|
|
358
358
|
const actions = [];
|
|
359
359
|
if (breakpoints.length === 1) {
|
|
360
|
-
const breakpointType = breakpoints[0].logMessage ? ( localize(
|
|
361
|
-
actions.push(( (new Action('debug.removeBreakpoint', ( localize(
|
|
360
|
+
const breakpointType = breakpoints[0].logMessage ? ( localize(5820, "Logpoint")) : ( localize(5821, "Breakpoint"));
|
|
361
|
+
actions.push(( (new Action('debug.removeBreakpoint', ( localize(5830, "Remove {0}", breakpointType)), undefined, true, async () => {
|
|
362
362
|
await this.debugService.removeBreakpoints(breakpoints[0].getId());
|
|
363
363
|
}))));
|
|
364
|
-
actions.push(( (new Action('workbench.debug.action.editBreakpointAction', ( localize(
|
|
364
|
+
actions.push(( (new Action('workbench.debug.action.editBreakpointAction', ( localize(5831, "Edit {0}...", breakpointType)), undefined, true, () => Promise.resolve(this.showBreakpointWidget(breakpoints[0].lineNumber, breakpoints[0].column))))));
|
|
365
365
|
actions.push(( (new Action(
|
|
366
366
|
`workbench.debug.viewlet.action.toggleBreakpoint`,
|
|
367
|
-
breakpoints[0].enabled ? ( localize(
|
|
367
|
+
breakpoints[0].enabled ? ( localize(5832, "Disable {0}", breakpointType)) : ( localize(5833, "Enable {0}", breakpointType)),
|
|
368
368
|
undefined,
|
|
369
369
|
true,
|
|
370
370
|
() => this.debugService.enableOrDisableBreakpoints(!breakpoints[0].enabled, breakpoints[0])
|
|
@@ -372,30 +372,30 @@ let BreakpointEditorContribution = class BreakpointEditorContribution {
|
|
|
372
372
|
}
|
|
373
373
|
else if (breakpoints.length > 1) {
|
|
374
374
|
const sorted = breakpoints.slice().sort((first, second) => (first.column && second.column) ? first.column - second.column : 1);
|
|
375
|
-
actions.push(( (new SubmenuAction('debug.removeBreakpoints', ( localize(
|
|
376
|
-
bp => ( (new Action('removeInlineBreakpoint', bp.column ? ( localize(
|
|
375
|
+
actions.push(( (new SubmenuAction('debug.removeBreakpoints', ( localize(5834, "Remove Breakpoints")), (sorted.map(
|
|
376
|
+
bp => ( (new Action('removeInlineBreakpoint', bp.column ? ( localize(5835, "Remove Inline Breakpoint on Column {0}", bp.column)) : ( localize(5836, "Remove Line Breakpoint")), undefined, true, () => this.debugService.removeBreakpoints(bp.getId()))))
|
|
377
377
|
))))));
|
|
378
|
-
actions.push(( (new SubmenuAction('debug.editBreakpoints', ( localize(
|
|
379
|
-
bp => ( (new Action('editBreakpoint', bp.column ? ( localize(
|
|
378
|
+
actions.push(( (new SubmenuAction('debug.editBreakpoints', ( localize(5837, "Edit Breakpoints")), (sorted.map(
|
|
379
|
+
bp => ( (new Action('editBreakpoint', bp.column ? ( localize(5838, "Edit Inline Breakpoint on Column {0}", bp.column)) : ( localize(5839, "Edit Line Breakpoint")), undefined, true, () => Promise.resolve(this.showBreakpointWidget(bp.lineNumber, bp.column)))))
|
|
380
380
|
))))));
|
|
381
|
-
actions.push(( (new SubmenuAction('debug.enableDisableBreakpoints', ( localize(
|
|
381
|
+
actions.push(( (new SubmenuAction('debug.enableDisableBreakpoints', ( localize(5840, "Enable/Disable Breakpoints")), (sorted.map(bp => ( (new Action(
|
|
382
382
|
bp.enabled ? 'disableColumnBreakpoint' : 'enableColumnBreakpoint',
|
|
383
|
-
bp.enabled ? (bp.column ? ( localize(
|
|
384
|
-
: (bp.column ? ( localize(
|
|
383
|
+
bp.enabled ? (bp.column ? ( localize(5841, "Disable Inline Breakpoint on Column {0}", bp.column)) : ( localize(5842, "Disable Line Breakpoint")))
|
|
384
|
+
: (bp.column ? ( localize(5843, "Enable Inline Breakpoint on Column {0}", bp.column)) : ( localize(5844, "Enable Line Breakpoint"))),
|
|
385
385
|
undefined,
|
|
386
386
|
true,
|
|
387
387
|
() => this.debugService.enableOrDisableBreakpoints(!bp.enabled, bp)
|
|
388
388
|
)))))))));
|
|
389
389
|
}
|
|
390
390
|
else {
|
|
391
|
-
actions.push(( (new Action('addBreakpoint', ( localize(
|
|
392
|
-
actions.push(( (new Action('addConditionalBreakpoint', ( localize(
|
|
393
|
-
actions.push(( (new Action('addLogPoint', ( localize(
|
|
394
|
-
actions.push(( (new Action('addTriggeredBreakpoint', ( localize(
|
|
391
|
+
actions.push(( (new Action('addBreakpoint', ( localize(5845, "Add Breakpoint")), undefined, true, () => this.debugService.addBreakpoints(uri, [{ lineNumber, column }])))));
|
|
392
|
+
actions.push(( (new Action('addConditionalBreakpoint', ( localize(5846, "Add Conditional Breakpoint...")), undefined, true, () => Promise.resolve(this.showBreakpointWidget(lineNumber, column, BreakpointWidgetContext.CONDITION))))));
|
|
393
|
+
actions.push(( (new Action('addLogPoint', ( localize(5847, "Add Logpoint...")), undefined, true, () => Promise.resolve(this.showBreakpointWidget(lineNumber, column, BreakpointWidgetContext.LOG_MESSAGE))))));
|
|
394
|
+
actions.push(( (new Action('addTriggeredBreakpoint', ( localize(5848, "Add Triggered Breakpoint...")), undefined, true, () => Promise.resolve(this.showBreakpointWidget(lineNumber, column, BreakpointWidgetContext.TRIGGER_POINT))))));
|
|
395
395
|
}
|
|
396
396
|
if (this.debugService.state === State.Stopped) {
|
|
397
397
|
actions.push(( (new Separator())));
|
|
398
|
-
actions.push(( (new Action('runToLine', ( localize(
|
|
398
|
+
actions.push(( (new Action('runToLine', ( localize(5849, "Run to Line")), undefined, true, () => this.debugService.runTo(uri, lineNumber).catch(onUnexpectedError)))));
|
|
399
399
|
}
|
|
400
400
|
return actions;
|
|
401
401
|
}
|
|
@@ -740,9 +740,9 @@ registerThemingParticipant((theme, collector) => {
|
|
|
740
740
|
`);
|
|
741
741
|
}
|
|
742
742
|
});
|
|
743
|
-
const debugIconBreakpointForeground = registerColor('debugIcon.breakpointForeground', '#E51400', ( localize(
|
|
744
|
-
const debugIconBreakpointDisabledForeground = registerColor('debugIcon.breakpointDisabledForeground', '#848484', ( localize(
|
|
745
|
-
const debugIconBreakpointUnverifiedForeground = registerColor('debugIcon.breakpointUnverifiedForeground', '#848484', ( localize(
|
|
746
|
-
const debugIconBreakpointCurrentStackframeForeground = registerColor('debugIcon.breakpointCurrentStackframeForeground', { dark: '#FFCC00', light: '#BE8700', hcDark: '#FFCC00', hcLight: '#BE8700' }, ( localize(
|
|
747
|
-
const debugIconBreakpointStackframeForeground = registerColor('debugIcon.breakpointStackframeForeground', '#89D185', ( localize(
|
|
743
|
+
const debugIconBreakpointForeground = registerColor('debugIcon.breakpointForeground', '#E51400', ( localize(5850, 'Icon color for breakpoints.')));
|
|
744
|
+
const debugIconBreakpointDisabledForeground = registerColor('debugIcon.breakpointDisabledForeground', '#848484', ( localize(5851, 'Icon color for disabled breakpoints.')));
|
|
745
|
+
const debugIconBreakpointUnverifiedForeground = registerColor('debugIcon.breakpointUnverifiedForeground', '#848484', ( localize(5852, 'Icon color for unverified breakpoints.')));
|
|
746
|
+
const debugIconBreakpointCurrentStackframeForeground = registerColor('debugIcon.breakpointCurrentStackframeForeground', { dark: '#FFCC00', light: '#BE8700', hcDark: '#FFCC00', hcLight: '#BE8700' }, ( localize(5853, 'Icon color for the current breakpoint stack frame.')));
|
|
747
|
+
const debugIconBreakpointStackframeForeground = registerColor('debugIcon.breakpointStackframeForeground', '#89D185', ( localize(5854, 'Icon color for all breakpoint stack frames.')));
|
|
748
748
|
export { BreakpointEditorContribution, createBreakpointDecorations, debugIconBreakpointForeground };
|