@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
|
@@ -35,7 +35,7 @@ import { Iterable } from '../../../../base/common/iterator.js';
|
|
|
35
35
|
import { IsWebContext } from '../../../../platform/contextkey/common/contextkeys.js';
|
|
36
36
|
MenuRegistry.appendMenuItem(MenuId.EditorContext, {
|
|
37
37
|
submenu: MenuId.EditorContextPeek,
|
|
38
|
-
title: ( localize(
|
|
38
|
+
title: ( localize(1409, "Peek")),
|
|
39
39
|
group: 'navigation',
|
|
40
40
|
order: 100
|
|
41
41
|
});
|
|
@@ -199,14 +199,14 @@ class DefinitionAction extends SymbolNavigationAction {
|
|
|
199
199
|
return (
|
|
200
200
|
(new ReferencesModel(
|
|
201
201
|
await getDefinitionsAtPosition(languageFeaturesService.definitionProvider, model, position, false, token),
|
|
202
|
-
( localize(
|
|
202
|
+
( localize(1410, 'Definitions'))
|
|
203
203
|
))
|
|
204
204
|
);
|
|
205
205
|
}
|
|
206
206
|
_getNoResultFoundMessage(info) {
|
|
207
207
|
return info && info.word
|
|
208
|
-
? ( localize(
|
|
209
|
-
: ( localize(
|
|
208
|
+
? ( localize(1411, "No definition found for '{0}'", info.word))
|
|
209
|
+
: ( localize(1412, "No definition found"));
|
|
210
210
|
}
|
|
211
211
|
_getAlternativeCommand(editor) {
|
|
212
212
|
return editor.getOption(EditorOption.gotoLocation).alternativeDefinitionCommand;
|
|
@@ -225,8 +225,8 @@ registerAction2(class GoToDefinitionAction extends DefinitionAction {
|
|
|
225
225
|
}, {
|
|
226
226
|
id: GoToDefinitionAction.id,
|
|
227
227
|
title: {
|
|
228
|
-
...( localize2(
|
|
229
|
-
mnemonicTitle: ( localize(
|
|
228
|
+
...( localize2(1413, "Go to Definition")),
|
|
229
|
+
mnemonicTitle: ( localize(1414, "Go to &&Definition")),
|
|
230
230
|
},
|
|
231
231
|
precondition: EditorContextKeys.hasDefinitionProvider,
|
|
232
232
|
keybinding: [{
|
|
@@ -261,7 +261,7 @@ registerAction2(class OpenDefinitionToSideAction extends DefinitionAction {
|
|
|
261
261
|
muteMessage: false
|
|
262
262
|
}, {
|
|
263
263
|
id: OpenDefinitionToSideAction.id,
|
|
264
|
-
title: ( localize2(
|
|
264
|
+
title: ( localize2(1415, "Open Definition to the Side")),
|
|
265
265
|
precondition: ( (ContextKeyExpr.and(
|
|
266
266
|
EditorContextKeys.hasDefinitionProvider,
|
|
267
267
|
(EditorContextKeys.isInEmbeddedEditor.toNegated())
|
|
@@ -288,7 +288,7 @@ registerAction2(class PeekDefinitionAction extends DefinitionAction {
|
|
|
288
288
|
muteMessage: false
|
|
289
289
|
}, {
|
|
290
290
|
id: PeekDefinitionAction.id,
|
|
291
|
-
title: ( localize2(
|
|
291
|
+
title: ( localize2(1416, "Peek Definition")),
|
|
292
292
|
precondition: ( (ContextKeyExpr.and(
|
|
293
293
|
EditorContextKeys.hasDefinitionProvider,
|
|
294
294
|
PeekContext.notInPeekEditor,
|
|
@@ -314,14 +314,14 @@ class DeclarationAction extends SymbolNavigationAction {
|
|
|
314
314
|
return (
|
|
315
315
|
(new ReferencesModel(
|
|
316
316
|
await getDeclarationsAtPosition(languageFeaturesService.declarationProvider, model, position, false, token),
|
|
317
|
-
( localize(
|
|
317
|
+
( localize(1417, 'Declarations'))
|
|
318
318
|
))
|
|
319
319
|
);
|
|
320
320
|
}
|
|
321
321
|
_getNoResultFoundMessage(info) {
|
|
322
322
|
return info && info.word
|
|
323
|
-
? ( localize(
|
|
324
|
-
: ( localize(
|
|
323
|
+
? ( localize(1418, "No declaration found for '{0}'", info.word))
|
|
324
|
+
: ( localize(1419, "No declaration found"));
|
|
325
325
|
}
|
|
326
326
|
_getAlternativeCommand(editor) {
|
|
327
327
|
return editor.getOption(EditorOption.gotoLocation).alternativeDeclarationCommand;
|
|
@@ -340,8 +340,8 @@ registerAction2(class GoToDeclarationAction extends DeclarationAction {
|
|
|
340
340
|
}, {
|
|
341
341
|
id: GoToDeclarationAction.id,
|
|
342
342
|
title: {
|
|
343
|
-
...( localize2(
|
|
344
|
-
mnemonicTitle: ( localize(
|
|
343
|
+
...( localize2(1420, "Go to Declaration")),
|
|
344
|
+
mnemonicTitle: ( localize(1421, "Go to &&Declaration")),
|
|
345
345
|
},
|
|
346
346
|
precondition: ( (ContextKeyExpr.and(
|
|
347
347
|
EditorContextKeys.hasDeclarationProvider,
|
|
@@ -361,8 +361,8 @@ registerAction2(class GoToDeclarationAction extends DeclarationAction {
|
|
|
361
361
|
}
|
|
362
362
|
_getNoResultFoundMessage(info) {
|
|
363
363
|
return info && info.word
|
|
364
|
-
? ( localize(
|
|
365
|
-
: ( localize(
|
|
364
|
+
? ( localize(1418, "No declaration found for '{0}'", info.word))
|
|
365
|
+
: ( localize(1419, "No declaration found"));
|
|
366
366
|
}
|
|
367
367
|
});
|
|
368
368
|
registerAction2(class PeekDeclarationAction extends DeclarationAction {
|
|
@@ -373,7 +373,7 @@ registerAction2(class PeekDeclarationAction extends DeclarationAction {
|
|
|
373
373
|
muteMessage: false
|
|
374
374
|
}, {
|
|
375
375
|
id: 'editor.action.peekDeclaration',
|
|
376
|
-
title: ( localize2(
|
|
376
|
+
title: ( localize2(1422, "Peek Declaration")),
|
|
377
377
|
precondition: ( (ContextKeyExpr.and(
|
|
378
378
|
EditorContextKeys.hasDeclarationProvider,
|
|
379
379
|
PeekContext.notInPeekEditor,
|
|
@@ -392,14 +392,14 @@ class TypeDefinitionAction extends SymbolNavigationAction {
|
|
|
392
392
|
return (
|
|
393
393
|
(new ReferencesModel(
|
|
394
394
|
await getTypeDefinitionsAtPosition(languageFeaturesService.typeDefinitionProvider, model, position, false, token),
|
|
395
|
-
( localize(
|
|
395
|
+
( localize(1423, 'Type Definitions'))
|
|
396
396
|
))
|
|
397
397
|
);
|
|
398
398
|
}
|
|
399
399
|
_getNoResultFoundMessage(info) {
|
|
400
400
|
return info && info.word
|
|
401
|
-
? ( localize(
|
|
402
|
-
: ( localize(
|
|
401
|
+
? ( localize(1424, "No type definition found for '{0}'", info.word))
|
|
402
|
+
: ( localize(1425, "No type definition found"));
|
|
403
403
|
}
|
|
404
404
|
_getAlternativeCommand(editor) {
|
|
405
405
|
return editor.getOption(EditorOption.gotoLocation).alternativeTypeDefinitionCommand;
|
|
@@ -418,8 +418,8 @@ registerAction2(class GoToTypeDefinitionAction extends TypeDefinitionAction {
|
|
|
418
418
|
}, {
|
|
419
419
|
id: GoToTypeDefinitionAction.ID,
|
|
420
420
|
title: {
|
|
421
|
-
...( localize2(
|
|
422
|
-
mnemonicTitle: ( localize(
|
|
421
|
+
...( localize2(1426, "Go to Type Definition")),
|
|
422
|
+
mnemonicTitle: ( localize(1427, "Go to &&Type Definition")),
|
|
423
423
|
},
|
|
424
424
|
precondition: EditorContextKeys.hasTypeDefinitionProvider,
|
|
425
425
|
keybinding: {
|
|
@@ -449,7 +449,7 @@ registerAction2(class PeekTypeDefinitionAction extends TypeDefinitionAction {
|
|
|
449
449
|
muteMessage: false
|
|
450
450
|
}, {
|
|
451
451
|
id: PeekTypeDefinitionAction.ID,
|
|
452
|
-
title: ( localize2(
|
|
452
|
+
title: ( localize2(1428, "Peek Type Definition")),
|
|
453
453
|
precondition: ( (ContextKeyExpr.and(
|
|
454
454
|
EditorContextKeys.hasTypeDefinitionProvider,
|
|
455
455
|
PeekContext.notInPeekEditor,
|
|
@@ -468,14 +468,14 @@ class ImplementationAction extends SymbolNavigationAction {
|
|
|
468
468
|
return (
|
|
469
469
|
(new ReferencesModel(
|
|
470
470
|
await getImplementationsAtPosition(languageFeaturesService.implementationProvider, model, position, false, token),
|
|
471
|
-
( localize(
|
|
471
|
+
( localize(1429, 'Implementations'))
|
|
472
472
|
))
|
|
473
473
|
);
|
|
474
474
|
}
|
|
475
475
|
_getNoResultFoundMessage(info) {
|
|
476
476
|
return info && info.word
|
|
477
|
-
? ( localize(
|
|
478
|
-
: ( localize(
|
|
477
|
+
? ( localize(1430, "No implementation found for '{0}'", info.word))
|
|
478
|
+
: ( localize(1431, "No implementation found"));
|
|
479
479
|
}
|
|
480
480
|
_getAlternativeCommand(editor) {
|
|
481
481
|
return editor.getOption(EditorOption.gotoLocation).alternativeImplementationCommand;
|
|
@@ -494,8 +494,8 @@ registerAction2(class GoToImplementationAction extends ImplementationAction {
|
|
|
494
494
|
}, {
|
|
495
495
|
id: GoToImplementationAction.ID,
|
|
496
496
|
title: {
|
|
497
|
-
...( localize2(
|
|
498
|
-
mnemonicTitle: ( localize(
|
|
497
|
+
...( localize2(1432, "Go to Implementations")),
|
|
498
|
+
mnemonicTitle: ( localize(1433, "Go to &&Implementations")),
|
|
499
499
|
},
|
|
500
500
|
precondition: EditorContextKeys.hasImplementationProvider,
|
|
501
501
|
keybinding: {
|
|
@@ -525,7 +525,7 @@ registerAction2(class PeekImplementationAction extends ImplementationAction {
|
|
|
525
525
|
muteMessage: false
|
|
526
526
|
}, {
|
|
527
527
|
id: PeekImplementationAction.ID,
|
|
528
|
-
title: ( localize2(
|
|
528
|
+
title: ( localize2(1434, "Peek Implementations")),
|
|
529
529
|
precondition: ( (ContextKeyExpr.and(
|
|
530
530
|
EditorContextKeys.hasImplementationProvider,
|
|
531
531
|
PeekContext.notInPeekEditor,
|
|
@@ -547,8 +547,8 @@ registerAction2(class PeekImplementationAction extends ImplementationAction {
|
|
|
547
547
|
class ReferencesAction extends SymbolNavigationAction {
|
|
548
548
|
_getNoResultFoundMessage(info) {
|
|
549
549
|
return info
|
|
550
|
-
? ( localize(
|
|
551
|
-
: ( localize(
|
|
550
|
+
? ( localize(1435, "No references found for '{0}'", info.word))
|
|
551
|
+
: ( localize(1436, "No references found"));
|
|
552
552
|
}
|
|
553
553
|
_getAlternativeCommand(editor) {
|
|
554
554
|
return editor.getOption(EditorOption.gotoLocation).alternativeReferenceCommand;
|
|
@@ -566,8 +566,8 @@ registerAction2(class GoToReferencesAction extends ReferencesAction {
|
|
|
566
566
|
}, {
|
|
567
567
|
id: 'editor.action.goToReferences',
|
|
568
568
|
title: {
|
|
569
|
-
...( localize2(
|
|
570
|
-
mnemonicTitle: ( localize(
|
|
569
|
+
...( localize2(1437, "Go to References")),
|
|
570
|
+
mnemonicTitle: ( localize(1438, "Go to &&References")),
|
|
571
571
|
},
|
|
572
572
|
precondition: ( (ContextKeyExpr.and(
|
|
573
573
|
EditorContextKeys.hasReferenceProvider,
|
|
@@ -595,7 +595,7 @@ registerAction2(class GoToReferencesAction extends ReferencesAction {
|
|
|
595
595
|
return (
|
|
596
596
|
(new ReferencesModel(
|
|
597
597
|
await getReferencesAtPosition(languageFeaturesService.referenceProvider, model, position, true, false, token),
|
|
598
|
-
( localize(
|
|
598
|
+
( localize(1439, 'References'))
|
|
599
599
|
))
|
|
600
600
|
);
|
|
601
601
|
}
|
|
@@ -608,7 +608,7 @@ registerAction2(class PeekReferencesAction extends ReferencesAction {
|
|
|
608
608
|
muteMessage: false
|
|
609
609
|
}, {
|
|
610
610
|
id: 'editor.action.referenceSearch.trigger',
|
|
611
|
-
title: ( localize2(
|
|
611
|
+
title: ( localize2(1440, "Peek References")),
|
|
612
612
|
precondition: ( (ContextKeyExpr.and(
|
|
613
613
|
EditorContextKeys.hasReferenceProvider,
|
|
614
614
|
PeekContext.notInPeekEditor,
|
|
@@ -625,7 +625,7 @@ registerAction2(class PeekReferencesAction extends ReferencesAction {
|
|
|
625
625
|
return (
|
|
626
626
|
(new ReferencesModel(
|
|
627
627
|
await getReferencesAtPosition(languageFeaturesService.referenceProvider, model, position, false, false, token),
|
|
628
|
-
( localize(
|
|
628
|
+
( localize(1439, 'References'))
|
|
629
629
|
))
|
|
630
630
|
);
|
|
631
631
|
}
|
|
@@ -634,7 +634,7 @@ class GenericGoToLocationAction extends SymbolNavigationAction {
|
|
|
634
634
|
constructor(config, _references, _gotoMultipleBehaviour) {
|
|
635
635
|
super(config, {
|
|
636
636
|
id: 'editor.action.goToLocation',
|
|
637
|
-
title: ( localize2(
|
|
637
|
+
title: ( localize2(1441, "Go to Any Symbol")),
|
|
638
638
|
precondition: ( (ContextKeyExpr.and(
|
|
639
639
|
PeekContext.notInPeekEditor,
|
|
640
640
|
(EditorContextKeys.isInEmbeddedEditor.toNegated())
|
|
@@ -645,11 +645,11 @@ class GenericGoToLocationAction extends SymbolNavigationAction {
|
|
|
645
645
|
}
|
|
646
646
|
async _getLocationModel(languageFeaturesService, _model, _position, _token) {
|
|
647
647
|
return (
|
|
648
|
-
(new ReferencesModel(this._references, ( localize(
|
|
648
|
+
(new ReferencesModel(this._references, ( localize(1442, 'Locations'))))
|
|
649
649
|
);
|
|
650
650
|
}
|
|
651
651
|
_getNoResultFoundMessage(info) {
|
|
652
|
-
return info && ( localize(
|
|
652
|
+
return info && ( localize(1443, "No results for '{0}'", info.word)) || '';
|
|
653
653
|
}
|
|
654
654
|
_getGoToPreference(editor) {
|
|
655
655
|
return this._gotoMultipleBehaviour ?? editor.getOption(EditorOption.gotoLocation).multipleReferences;
|
|
@@ -724,7 +724,7 @@ CommandsRegistry.registerCommand({
|
|
|
724
724
|
if (!controller) {
|
|
725
725
|
return undefined;
|
|
726
726
|
}
|
|
727
|
-
const references = createCancelablePromise(token => getReferencesAtPosition(languageFeaturesService.referenceProvider, control.getModel(), Position.lift(position), false, false, token).then(references => ( (new ReferencesModel(references, ( localize(
|
|
727
|
+
const references = createCancelablePromise(token => getReferencesAtPosition(languageFeaturesService.referenceProvider, control.getModel(), Position.lift(position), false, false, token).then(references => ( (new ReferencesModel(references, ( localize(1439, 'References')))))));
|
|
728
728
|
const range = ( (new Range(position.lineNumber, position.column, position.lineNumber, position.column)));
|
|
729
729
|
return Promise.resolve(controller.toggleWidget(range, references, false));
|
|
730
730
|
});
|
|
@@ -128,7 +128,7 @@ let GotoDefinitionAtPositionEditorContribution = class GotoDefinitionAtPositionE
|
|
|
128
128
|
combinedRange = Range.plusRange(combinedRange, originSelectionRange);
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
|
-
this.addDecoration(combinedRange, ( (new MarkdownString())).appendText(( localize(
|
|
131
|
+
this.addDecoration(combinedRange, ( (new MarkdownString())).appendText(( localize(1444, "Click to show {0} definitions.", results.length))));
|
|
132
132
|
}
|
|
133
133
|
else {
|
|
134
134
|
const result = results[0];
|
|
@@ -27,7 +27,7 @@ import { EditorContextKeys } from '../../../../common/editorContextKeys.js';
|
|
|
27
27
|
import { InputFocusedContext } from '../../../../../platform/contextkey/common/contextkeys.js';
|
|
28
28
|
var ReferencesController_1;
|
|
29
29
|
const ctxReferenceSearchVisible = ( (new RawContextKey('referenceSearchVisible', false, ( localize(
|
|
30
|
-
|
|
30
|
+
4503,
|
|
31
31
|
"Whether reference peek is visible, like 'Peek References' or 'Peek Definition'"
|
|
32
32
|
)))));
|
|
33
33
|
let ReferencesController = class ReferencesController {
|
|
@@ -77,7 +77,7 @@ let ReferencesController = class ReferencesController {
|
|
|
77
77
|
const storageKey = 'peekViewLayout';
|
|
78
78
|
const data = LayoutData.fromJSON(this._storageService.get(storageKey, StorageScope.PROFILE, '{}'));
|
|
79
79
|
this._widget = this._instantiationService.createInstance(ReferenceWidget, this._editor, this._defaultTreeKeyboardSupport, data);
|
|
80
|
-
this._widget.setTitle(( localize(
|
|
80
|
+
this._widget.setTitle(( localize(4504, "Loading...")));
|
|
81
81
|
this._widget.show(range);
|
|
82
82
|
this._disposables.add(this._widget.onDidClose(() => {
|
|
83
83
|
modelPromise.cancel();
|
|
@@ -122,7 +122,7 @@ let ReferencesController = class ReferencesController {
|
|
|
122
122
|
return this._widget.setModel(this._model).then(() => {
|
|
123
123
|
if (this._widget && this._model && this._editor.hasModel()) {
|
|
124
124
|
if (!this._model.isEmpty) {
|
|
125
|
-
this._widget.setMetaTitle(( localize(
|
|
125
|
+
this._widget.setMetaTitle(( localize(4505, "{0} ({1})", this._model.title, this._model.references.length)));
|
|
126
126
|
}
|
|
127
127
|
else {
|
|
128
128
|
this._widget.setMetaTitle('');
|
|
@@ -245,7 +245,7 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
|
|
|
245
245
|
};
|
|
246
246
|
this._preview = this._instantiationService.createInstance(EmbeddedCodeEditorWidget, this._previewContainer, options, {}, this.editor);
|
|
247
247
|
hide(this._previewContainer);
|
|
248
|
-
this._previewNotAvailableMessage = ( (new TextModel(( localize(
|
|
248
|
+
this._previewNotAvailableMessage = ( (new TextModel(( localize(9796, "no preview available")), PLAINTEXT_LANGUAGE_ID, TextModel.DEFAULT_CREATION_OPTIONS, null, this._undoRedoService, this._languageService, this._languageConfigurationService)));
|
|
249
249
|
this._treeContainer = append(containerElement, $('div.ref-tree.inline'));
|
|
250
250
|
const treeOptions = {
|
|
251
251
|
keyboardSupport: this._defaultTreeKeyboardSupport,
|
|
@@ -351,7 +351,7 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
|
|
|
351
351
|
}
|
|
352
352
|
if (this._model.isEmpty) {
|
|
353
353
|
this.setTitle('');
|
|
354
|
-
this._messageContainer.innerText = ( localize(
|
|
354
|
+
this._messageContainer.innerText = ( localize(9797, "No results"));
|
|
355
355
|
show(this._messageContainer);
|
|
356
356
|
return Promise.resolve(undefined);
|
|
357
357
|
}
|
|
@@ -406,7 +406,7 @@ let ReferenceWidget = class ReferenceWidget extends PeekViewWidget {
|
|
|
406
406
|
this.setTitle(basenameOrAuthority(reference.uri), this._uriLabel.getUriLabel(dirname(reference.uri)));
|
|
407
407
|
}
|
|
408
408
|
else {
|
|
409
|
-
this.setTitle(( localize(
|
|
409
|
+
this.setTitle(( localize(9798, "References")));
|
|
410
410
|
}
|
|
411
411
|
const promise = this._textModelResolverService.createModelReference(reference.uri);
|
|
412
412
|
if (this._tree.getInput() === reference.parent) {
|
|
@@ -30,7 +30,7 @@ class OneReference {
|
|
|
30
30
|
const preview = this.parent.getPreview(this)?.preview(this.range);
|
|
31
31
|
if (!preview) {
|
|
32
32
|
return ( localize(
|
|
33
|
-
|
|
33
|
+
5094,
|
|
34
34
|
"in {0} on line {1} at column {2}",
|
|
35
35
|
basename(this.uri),
|
|
36
36
|
this.range.startLineNumber,
|
|
@@ -39,7 +39,7 @@ class OneReference {
|
|
|
39
39
|
}
|
|
40
40
|
else {
|
|
41
41
|
return ( localize(
|
|
42
|
-
|
|
42
|
+
5095,
|
|
43
43
|
"{0} in {1} on line {2} at column {3}",
|
|
44
44
|
preview.value,
|
|
45
45
|
basename(this.uri),
|
|
@@ -92,7 +92,7 @@ class FileReferences {
|
|
|
92
92
|
const len = this.children.length;
|
|
93
93
|
if (len === 1) {
|
|
94
94
|
return ( localize(
|
|
95
|
-
|
|
95
|
+
5096,
|
|
96
96
|
"1 symbol in {0}, full path {1}",
|
|
97
97
|
basename(this.uri),
|
|
98
98
|
this.uri.fsPath
|
|
@@ -100,7 +100,7 @@ class FileReferences {
|
|
|
100
100
|
}
|
|
101
101
|
else {
|
|
102
102
|
return ( localize(
|
|
103
|
-
|
|
103
|
+
5097,
|
|
104
104
|
"{0} symbols in {1}, full path {2}",
|
|
105
105
|
len,
|
|
106
106
|
basename(this.uri),
|
|
@@ -173,14 +173,14 @@ class ReferencesModel {
|
|
|
173
173
|
}
|
|
174
174
|
get ariaMessage() {
|
|
175
175
|
if (this.isEmpty) {
|
|
176
|
-
return ( localize(
|
|
176
|
+
return ( localize(5098, "No results found"));
|
|
177
177
|
}
|
|
178
178
|
else if (this.references.length === 1) {
|
|
179
|
-
return ( localize(
|
|
179
|
+
return ( localize(5099, "Found 1 symbol in {0}", this.references[0].uri.fsPath));
|
|
180
180
|
}
|
|
181
181
|
else if (this.groups.length === 1) {
|
|
182
182
|
return ( localize(
|
|
183
|
-
|
|
183
|
+
5100,
|
|
184
184
|
"Found {0} symbols in {1}",
|
|
185
185
|
this.references.length,
|
|
186
186
|
this.groups[0].uri.fsPath
|
|
@@ -188,7 +188,7 @@ class ReferencesModel {
|
|
|
188
188
|
}
|
|
189
189
|
else {
|
|
190
190
|
return ( localize(
|
|
191
|
-
|
|
191
|
+
5101,
|
|
192
192
|
"Found {0} symbols in {1} files",
|
|
193
193
|
this.references.length,
|
|
194
194
|
this.groups.length
|
|
@@ -16,7 +16,7 @@ import { IKeybindingService } from '../../../../platform/keybinding/common/keybi
|
|
|
16
16
|
import { KeybindingWeight, KeybindingsRegistry } from '../../../../platform/keybinding/common/keybindingsRegistry.js';
|
|
17
17
|
import { INotificationService } from '../../../../platform/notification/common/notification.service.js';
|
|
18
18
|
const ctxHasSymbols = ( (new RawContextKey('hasSymbols', false, ( localize(
|
|
19
|
-
|
|
19
|
+
5102,
|
|
20
20
|
"Whether there are symbol locations that can be navigated via keyboard-only."
|
|
21
21
|
)))));
|
|
22
22
|
const ISymbolNavigationService = ( (createDecorator('ISymbolNavigationService')));
|
|
@@ -102,14 +102,14 @@ let SymbolNavigationService = class SymbolNavigationService {
|
|
|
102
102
|
const kb = this._keybindingService.lookupKeybinding('editor.gotoNextSymbolFromResult');
|
|
103
103
|
const message = kb
|
|
104
104
|
? ( localize(
|
|
105
|
-
|
|
105
|
+
5103,
|
|
106
106
|
"Symbol {0} of {1}, {2} for next",
|
|
107
107
|
this._currentIdx + 1,
|
|
108
108
|
this._currentModel.references.length,
|
|
109
109
|
kb.getLabel()
|
|
110
110
|
))
|
|
111
111
|
: ( localize(
|
|
112
|
-
|
|
112
|
+
5104,
|
|
113
113
|
"Symbol {0} of {1}",
|
|
114
114
|
this._currentIdx + 1,
|
|
115
115
|
this._currentModel.references.length
|
|
@@ -18,12 +18,12 @@ import { labelForHoverVerbosityAction } from './markdownHoverParticipant.js';
|
|
|
18
18
|
var HoverAccessibilityHelpNLS;
|
|
19
19
|
( ((function(HoverAccessibilityHelpNLS) {
|
|
20
20
|
HoverAccessibilityHelpNLS.increaseVerbosity = ( localize(
|
|
21
|
-
|
|
21
|
+
5173,
|
|
22
22
|
'- The focused hover part verbosity level can be increased with the Increase Hover Verbosity command.',
|
|
23
23
|
`<keybinding:${INCREASE_HOVER_VERBOSITY_ACTION_ID}>`
|
|
24
24
|
));
|
|
25
25
|
HoverAccessibilityHelpNLS.decreaseVerbosity = ( localize(
|
|
26
|
-
|
|
26
|
+
5174,
|
|
27
27
|
'- The focused hover part verbosity level can be decreased with the Decrease Hover Verbosity command.',
|
|
28
28
|
`<keybinding:${DECREASE_HOVER_VERBOSITY_ACTION_ID}>`
|
|
29
29
|
));
|
|
@@ -11,8 +11,8 @@ const GO_TO_TOP_HOVER_ACTION_ID = 'editor.action.goToTopHover';
|
|
|
11
11
|
const GO_TO_BOTTOM_HOVER_ACTION_ID = 'editor.action.goToBottomHover';
|
|
12
12
|
const INCREASE_HOVER_VERBOSITY_ACTION_ID = 'editor.action.increaseHoverVerbosityLevel';
|
|
13
13
|
const INCREASE_HOVER_VERBOSITY_ACCESSIBLE_ACTION_ID = 'editor.action.increaseHoverVerbosityLevelFromAccessibleView';
|
|
14
|
-
const INCREASE_HOVER_VERBOSITY_ACTION_LABEL = ( localize(
|
|
14
|
+
const INCREASE_HOVER_VERBOSITY_ACTION_LABEL = ( localize(9864, "Increase Hover Verbosity Level"));
|
|
15
15
|
const DECREASE_HOVER_VERBOSITY_ACTION_ID = 'editor.action.decreaseHoverVerbosityLevel';
|
|
16
16
|
const DECREASE_HOVER_VERBOSITY_ACCESSIBLE_ACTION_ID = 'editor.action.decreaseHoverVerbosityLevelFromAccessibleView';
|
|
17
|
-
const DECREASE_HOVER_VERBOSITY_ACTION_LABEL = ( localize(
|
|
17
|
+
const DECREASE_HOVER_VERBOSITY_ACTION_LABEL = ( localize(9865, "Decrease Hover Verbosity Level"));
|
|
18
18
|
export { DECREASE_HOVER_VERBOSITY_ACCESSIBLE_ACTION_ID, DECREASE_HOVER_VERBOSITY_ACTION_ID, DECREASE_HOVER_VERBOSITY_ACTION_LABEL, GO_TO_BOTTOM_HOVER_ACTION_ID, GO_TO_TOP_HOVER_ACTION_ID, INCREASE_HOVER_VERBOSITY_ACCESSIBLE_ACTION_ID, INCREASE_HOVER_VERBOSITY_ACTION_ID, INCREASE_HOVER_VERBOSITY_ACTION_LABEL, PAGE_DOWN_HOVER_ACTION_ID, PAGE_UP_HOVER_ACTION_ID, SCROLL_DOWN_HOVER_ACTION_ID, SCROLL_LEFT_HOVER_ACTION_ID, SCROLL_RIGHT_HOVER_ACTION_ID, SCROLL_UP_HOVER_ACTION_ID, SHOW_DEFINITION_PREVIEW_HOVER_ACTION_ID, SHOW_OR_FOCUS_HOVER_ACTION_ID };
|
|
@@ -22,10 +22,10 @@ class ShowOrFocusHoverAction extends EditorAction {
|
|
|
22
22
|
constructor() {
|
|
23
23
|
super({
|
|
24
24
|
id: SHOW_OR_FOCUS_HOVER_ACTION_ID,
|
|
25
|
-
label: ( localize(
|
|
25
|
+
label: ( localize(5137, "Show or Focus Hover")),
|
|
26
26
|
metadata: {
|
|
27
27
|
description: ( localize2(
|
|
28
|
-
|
|
28
|
+
5138,
|
|
29
29
|
'Show or focus the editor hover which shows documentation, references, and other content for a symbol at the current cursor position.'
|
|
30
30
|
)),
|
|
31
31
|
args: [{
|
|
@@ -37,9 +37,9 @@ class ShowOrFocusHoverAction extends EditorAction {
|
|
|
37
37
|
description: 'Controls if and when the hover should take focus upon being triggered by this action.',
|
|
38
38
|
enum: [HoverFocusBehavior.NoAutoFocus, HoverFocusBehavior.FocusIfVisible, HoverFocusBehavior.AutoFocusImmediately],
|
|
39
39
|
enumDescriptions: [
|
|
40
|
-
( localize(
|
|
41
|
-
( localize(
|
|
42
|
-
( localize(
|
|
40
|
+
( localize(5139, 'The hover will not automatically take focus.')),
|
|
41
|
+
( localize(5140, 'The hover will take focus only if it is already visible.')),
|
|
42
|
+
( localize(5141, 'The hover will automatically take focus when it appears.')),
|
|
43
43
|
],
|
|
44
44
|
default: HoverFocusBehavior.FocusIfVisible,
|
|
45
45
|
}
|
|
@@ -95,11 +95,11 @@ class ShowDefinitionPreviewHoverAction extends EditorAction {
|
|
|
95
95
|
constructor() {
|
|
96
96
|
super({
|
|
97
97
|
id: SHOW_DEFINITION_PREVIEW_HOVER_ACTION_ID,
|
|
98
|
-
label: ( localize(
|
|
98
|
+
label: ( localize(5142, "Show Definition Preview Hover")),
|
|
99
99
|
alias: 'Show Definition Preview Hover',
|
|
100
100
|
precondition: undefined,
|
|
101
101
|
metadata: {
|
|
102
|
-
description: ( localize2(
|
|
102
|
+
description: ( localize2(5143, 'Show the definition preview hover in the editor.')),
|
|
103
103
|
},
|
|
104
104
|
});
|
|
105
105
|
}
|
|
@@ -127,7 +127,7 @@ class ScrollUpHoverAction extends EditorAction {
|
|
|
127
127
|
constructor() {
|
|
128
128
|
super({
|
|
129
129
|
id: SCROLL_UP_HOVER_ACTION_ID,
|
|
130
|
-
label: ( localize(
|
|
130
|
+
label: ( localize(5144, "Scroll Up Hover")),
|
|
131
131
|
alias: 'Scroll Up Hover',
|
|
132
132
|
precondition: EditorContextKeys.hoverFocused,
|
|
133
133
|
kbOpts: {
|
|
@@ -136,7 +136,7 @@ class ScrollUpHoverAction extends EditorAction {
|
|
|
136
136
|
weight: KeybindingWeight.EditorContrib
|
|
137
137
|
},
|
|
138
138
|
metadata: {
|
|
139
|
-
description: ( localize2(
|
|
139
|
+
description: ( localize2(5145, 'Scroll up the editor hover.'))
|
|
140
140
|
},
|
|
141
141
|
});
|
|
142
142
|
}
|
|
@@ -152,7 +152,7 @@ class ScrollDownHoverAction extends EditorAction {
|
|
|
152
152
|
constructor() {
|
|
153
153
|
super({
|
|
154
154
|
id: SCROLL_DOWN_HOVER_ACTION_ID,
|
|
155
|
-
label: ( localize(
|
|
155
|
+
label: ( localize(5146, "Scroll Down Hover")),
|
|
156
156
|
alias: 'Scroll Down Hover',
|
|
157
157
|
precondition: EditorContextKeys.hoverFocused,
|
|
158
158
|
kbOpts: {
|
|
@@ -161,7 +161,7 @@ class ScrollDownHoverAction extends EditorAction {
|
|
|
161
161
|
weight: KeybindingWeight.EditorContrib
|
|
162
162
|
},
|
|
163
163
|
metadata: {
|
|
164
|
-
description: ( localize2(
|
|
164
|
+
description: ( localize2(5147, 'Scroll down the editor hover.')),
|
|
165
165
|
},
|
|
166
166
|
});
|
|
167
167
|
}
|
|
@@ -177,7 +177,7 @@ class ScrollLeftHoverAction extends EditorAction {
|
|
|
177
177
|
constructor() {
|
|
178
178
|
super({
|
|
179
179
|
id: SCROLL_LEFT_HOVER_ACTION_ID,
|
|
180
|
-
label: ( localize(
|
|
180
|
+
label: ( localize(5148, "Scroll Left Hover")),
|
|
181
181
|
alias: 'Scroll Left Hover',
|
|
182
182
|
precondition: EditorContextKeys.hoverFocused,
|
|
183
183
|
kbOpts: {
|
|
@@ -186,7 +186,7 @@ class ScrollLeftHoverAction extends EditorAction {
|
|
|
186
186
|
weight: KeybindingWeight.EditorContrib
|
|
187
187
|
},
|
|
188
188
|
metadata: {
|
|
189
|
-
description: ( localize2(
|
|
189
|
+
description: ( localize2(5149, 'Scroll left the editor hover.')),
|
|
190
190
|
},
|
|
191
191
|
});
|
|
192
192
|
}
|
|
@@ -202,7 +202,7 @@ class ScrollRightHoverAction extends EditorAction {
|
|
|
202
202
|
constructor() {
|
|
203
203
|
super({
|
|
204
204
|
id: SCROLL_RIGHT_HOVER_ACTION_ID,
|
|
205
|
-
label: ( localize(
|
|
205
|
+
label: ( localize(5150, "Scroll Right Hover")),
|
|
206
206
|
alias: 'Scroll Right Hover',
|
|
207
207
|
precondition: EditorContextKeys.hoverFocused,
|
|
208
208
|
kbOpts: {
|
|
@@ -211,7 +211,7 @@ class ScrollRightHoverAction extends EditorAction {
|
|
|
211
211
|
weight: KeybindingWeight.EditorContrib
|
|
212
212
|
},
|
|
213
213
|
metadata: {
|
|
214
|
-
description: ( localize2(
|
|
214
|
+
description: ( localize2(5151, 'Scroll right the editor hover.'))
|
|
215
215
|
},
|
|
216
216
|
});
|
|
217
217
|
}
|
|
@@ -227,7 +227,7 @@ class PageUpHoverAction extends EditorAction {
|
|
|
227
227
|
constructor() {
|
|
228
228
|
super({
|
|
229
229
|
id: PAGE_UP_HOVER_ACTION_ID,
|
|
230
|
-
label: ( localize(
|
|
230
|
+
label: ( localize(5152, "Page Up Hover")),
|
|
231
231
|
alias: 'Page Up Hover',
|
|
232
232
|
precondition: EditorContextKeys.hoverFocused,
|
|
233
233
|
kbOpts: {
|
|
@@ -237,7 +237,7 @@ class PageUpHoverAction extends EditorAction {
|
|
|
237
237
|
weight: KeybindingWeight.EditorContrib
|
|
238
238
|
},
|
|
239
239
|
metadata: {
|
|
240
|
-
description: ( localize2(
|
|
240
|
+
description: ( localize2(5153, 'Page up the editor hover.')),
|
|
241
241
|
},
|
|
242
242
|
});
|
|
243
243
|
}
|
|
@@ -253,7 +253,7 @@ class PageDownHoverAction extends EditorAction {
|
|
|
253
253
|
constructor() {
|
|
254
254
|
super({
|
|
255
255
|
id: PAGE_DOWN_HOVER_ACTION_ID,
|
|
256
|
-
label: ( localize(
|
|
256
|
+
label: ( localize(5154, "Page Down Hover")),
|
|
257
257
|
alias: 'Page Down Hover',
|
|
258
258
|
precondition: EditorContextKeys.hoverFocused,
|
|
259
259
|
kbOpts: {
|
|
@@ -263,7 +263,7 @@ class PageDownHoverAction extends EditorAction {
|
|
|
263
263
|
weight: KeybindingWeight.EditorContrib
|
|
264
264
|
},
|
|
265
265
|
metadata: {
|
|
266
|
-
description: ( localize2(
|
|
266
|
+
description: ( localize2(5155, 'Page down the editor hover.')),
|
|
267
267
|
},
|
|
268
268
|
});
|
|
269
269
|
}
|
|
@@ -279,7 +279,7 @@ class GoToTopHoverAction extends EditorAction {
|
|
|
279
279
|
constructor() {
|
|
280
280
|
super({
|
|
281
281
|
id: GO_TO_TOP_HOVER_ACTION_ID,
|
|
282
|
-
label: ( localize(
|
|
282
|
+
label: ( localize(5156, "Go To Top Hover")),
|
|
283
283
|
alias: 'Go To Bottom Hover',
|
|
284
284
|
precondition: EditorContextKeys.hoverFocused,
|
|
285
285
|
kbOpts: {
|
|
@@ -289,7 +289,7 @@ class GoToTopHoverAction extends EditorAction {
|
|
|
289
289
|
weight: KeybindingWeight.EditorContrib
|
|
290
290
|
},
|
|
291
291
|
metadata: {
|
|
292
|
-
description: ( localize2(
|
|
292
|
+
description: ( localize2(5157, 'Go to the top of the editor hover.')),
|
|
293
293
|
},
|
|
294
294
|
});
|
|
295
295
|
}
|
|
@@ -305,7 +305,7 @@ class GoToBottomHoverAction extends EditorAction {
|
|
|
305
305
|
constructor() {
|
|
306
306
|
super({
|
|
307
307
|
id: GO_TO_BOTTOM_HOVER_ACTION_ID,
|
|
308
|
-
label: ( localize(
|
|
308
|
+
label: ( localize(5158, "Go To Bottom Hover")),
|
|
309
309
|
alias: 'Go To Bottom Hover',
|
|
310
310
|
precondition: EditorContextKeys.hoverFocused,
|
|
311
311
|
kbOpts: {
|
|
@@ -315,7 +315,7 @@ class GoToBottomHoverAction extends EditorAction {
|
|
|
315
315
|
weight: KeybindingWeight.EditorContrib
|
|
316
316
|
},
|
|
317
317
|
metadata: {
|
|
318
|
-
description: ( localize2(
|
|
318
|
+
description: ( localize2(5159, 'Go to the bottom of the editor hover.'))
|
|
319
319
|
},
|
|
320
320
|
});
|
|
321
321
|
}
|