monaco-editor 0.56.0-dev-20260113 → 0.56.0-dev-20260116
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/dev/vs/assets/{css.worker-B4u8BWhg.js → css.worker-C1mHXZTT.js} +55 -55
- package/dev/vs/assets/{editor.worker-BCw6uAjg.js → editor.worker-DMuwmZqI.js} +55 -55
- package/dev/vs/assets/{editorWebWorkerMain-CeIXdrW0.js → editorWebWorkerMain-BF9MKtzx.js} +55 -55
- package/dev/vs/assets/{html.worker-B-Jcoci3.js → html.worker-CnU9mi9l.js} +55 -55
- package/dev/vs/assets/{json.worker-BpmVTt7n.js → json.worker-CnKP0LWf.js} +55 -55
- package/dev/vs/assets/{ts.worker-CPlP8nZ0.js → ts.worker-Cw4JXdL0.js} +55 -55
- package/dev/vs/basic-languages/monaco.contribution.js +18 -18
- package/dev/vs/css.worker-B9TJsr2Z.js +5 -0
- package/dev/vs/{cssMode-BEukq5u0.js → cssMode-DHV9sMQi.js} +2 -6
- package/dev/vs/editor/editor.main.css +37 -23
- package/dev/vs/editor/editor.main.js +10 -3178
- package/dev/vs/editor/editor.worker.js +1 -1
- package/dev/vs/{editor-BD6q8TI1.js → editor-BTEbNxE2.js} +703 -586
- package/dev/vs/editor.js +1 -1
- package/dev/vs/{editorWorkerHost-C6qzpbiG.js → editorWorkerHost--0eDLpc-.js} +57 -57
- package/dev/vs/{freemarker2-lOxAB__C.js → freemarker2-Dq_j1fXA.js} +1 -1
- package/dev/vs/{handlebars-PlqQ1WFo.js → handlebars-DPZdWYjc.js} +1 -1
- package/dev/vs/{html-BHf3H_zO.js → html-DHy2Qtlf.js} +1 -1
- package/dev/vs/html.worker-B4TnFQEA.js +5 -0
- package/dev/vs/{htmlMode-CAbblI08.js → htmlMode-CK4CuwW5.js} +2 -6
- package/dev/vs/index-C4qZmtMk.js +3169 -0
- package/dev/vs/index.js +23 -0
- package/dev/vs/{initialize-BCWs-0Hl.js → initialize-Bfvoywyr.js} +1 -1
- package/dev/vs/{javascript-BfBKHXS5.js → javascript-Bbk-b6fJ.js} +1 -1
- package/dev/vs/json.worker-C2LEGBju.js +5 -0
- package/dev/vs/{jsonMode-DjCUBCJf.js → jsonMode-DZUKN9F2.js} +2 -6
- package/dev/vs/language/css/css.worker.js +1 -1
- package/dev/vs/language/css/monaco.contribution.js +1 -1
- package/dev/vs/language/html/html.worker.js +1 -1
- package/dev/vs/language/html/monaco.contribution.js +1 -1
- package/dev/vs/language/json/json.worker.js +1 -1
- package/dev/vs/language/json/monaco.contribution.js +1 -1
- package/dev/vs/language/typescript/monaco.contribution.js +1 -1
- package/dev/vs/language/typescript/ts.worker.js +1 -1
- package/dev/vs/{liquid-ru5qQvh3.js → liquid-DJoh8neA.js} +1 -1
- package/dev/vs/{lspLanguageFeatures-qP8Sjc4-.js → lspLanguageFeatures-C6AyKVlZ.js} +1 -1
- package/dev/vs/{mdx-LPJIIjTi.js → mdx-Bc9Wi7Yp.js} +1 -1
- package/dev/vs/{monaco.contribution-Cn4sp0rT.js → monaco.contribution-Dioy2gsL.js} +2 -2
- package/dev/vs/{monaco.contribution-BUS19PbW.js → monaco.contribution-Dp0abtES.js} +2 -2
- package/dev/vs/{monaco.contribution-Dh6bcJ62.js → monaco.contribution-QjKN2IAC.js} +2 -2
- package/dev/vs/{monaco.contribution-CAodrNii.js → monaco.contribution-ebA6cx7_.js} +2 -2
- package/dev/vs/nls/lang/cs.js +2 -2
- package/dev/vs/nls/lang/de.js +2 -2
- package/dev/vs/nls/lang/es.js +2 -2
- package/dev/vs/nls/lang/fr.js +2 -2
- package/dev/vs/nls/lang/it.js +2 -2
- package/dev/vs/nls/lang/ja.js +2 -2
- package/dev/vs/nls/lang/ko.js +2 -2
- package/dev/vs/nls/lang/pl.js +2 -2
- package/dev/vs/nls/lang/pt-br.js +2 -2
- package/dev/vs/nls/lang/ru.js +2 -2
- package/dev/vs/nls/lang/tr.js +2 -2
- package/dev/vs/nls/lang/zh-cn.js +2 -2
- package/dev/vs/nls/lang/zh-tw.js +2 -2
- package/dev/vs/{python-C3STc4Jq.js → python-T13bwMqv.js} +1 -1
- package/dev/vs/{razor-C_h91a99.js → razor-PnbkQS-a.js} +1 -1
- package/dev/vs/{toggleHighContrast-BYijNqvT.js → toggleHighContrast-BT_lXcSg.js} +792 -753
- package/dev/vs/ts.worker-CArJhH03.js +5 -0
- package/dev/vs/{tsMode-LmHd2bVJ.js → tsMode-dEZrXjQR.js} +2 -6
- package/dev/vs/{typescript-DrD88DNo.js → typescript-C7a_eRmw.js} +1 -1
- package/dev/vs/{workers-jwm1wsc0.js → workers-jA_HWRt3.js} +1 -1
- package/dev/vs/{xml-CIdZXDjG.js → xml-E9G9gloz.js} +1 -1
- package/dev/vs/{yaml-F0FhO8OI.js → yaml-2TR38CXi.js} +1 -1
- package/esm/vs/base/browser/domStylesheets.js +10 -19
- package/esm/vs/base/browser/ui/button/button.css +14 -5
- package/esm/vs/base/browser/ui/button/button.js +1 -0
- package/esm/vs/base/browser/ui/inputbox/inputBox.css +1 -1
- package/esm/vs/base/browser/ui/scrollbar/scrollbarArrow.js +1 -1
- package/esm/vs/base/browser/ui/selectBox/selectBox.css +2 -2
- package/esm/vs/base/browser/ui/selectBox/selectBoxCustom.css +1 -1
- package/esm/vs/base/browser/ui/toolbar/toolbar.css +14 -2
- package/esm/vs/base/browser/ui/toolbar/toolbar.js +42 -15
- package/esm/vs/base/common/async.js +1 -1
- package/esm/vs/base/common/network.js +2 -0
- package/esm/vs/base/common/observableInternal/reactions/autorun.js +1 -1
- package/esm/vs/base/common/validation.js +12 -1
- package/esm/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/esm/vs/editor/browser/observableCodeEditor.js +3 -3
- package/esm/vs/editor/browser/view/viewController.js +66 -1
- package/esm/vs/editor/browser/viewParts/minimap/minimap.js +9 -9
- package/esm/vs/editor/browser/viewParts/rulers/rulers.css +1 -0
- package/esm/vs/editor/browser/viewParts/rulers/rulers.js +1 -1
- package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +4 -0
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +1 -1
- package/esm/vs/editor/common/core/editorColorRegistry.js +35 -34
- package/esm/vs/editor/common/editorContextKeys.js +48 -48
- package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
- package/esm/vs/editor/common/languages/supports/tokenization.js +12 -1
- package/esm/vs/editor/common/languages.js +56 -56
- package/esm/vs/editor/common/model/editStack.js +1 -1
- package/esm/vs/editor/common/model/textModelSearch.js +1 -1
- package/esm/vs/editor/common/model/tokens/tokenizationFontDecorationsProvider.js +4 -4
- package/esm/vs/editor/common/model/tokens/treeSitter/treeSitterTokenizationImpl.js +1 -1
- package/esm/vs/editor/common/standaloneStrings.js +11 -11
- package/esm/vs/editor/common/textModelEvents.js +2 -2
- package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/esm/vs/editor/common/viewModel/viewModelImpl.js +3 -3
- package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +20 -8
- package/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/esm/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/esm/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/esm/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
- package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/esm/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/esm/vs/editor/contrib/find/browser/findController.js +16 -16
- package/esm/vs/editor/contrib/find/browser/findWidget.js +26 -26
- package/esm/vs/editor/contrib/folding/browser/folding.js +20 -20
- package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +40 -40
- package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/esm/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/esm/vs/editor/contrib/hover/browser/contentHoverController.js +8 -3
- package/esm/vs/editor/contrib/hover/browser/glyphHoverController.js +7 -1
- package/esm/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/esm/vs/editor/contrib/hover/browser/hoverCopyButton.js +2 -2
- package/esm/vs/editor/contrib/hover/browser/hoverUtils.js +10 -5
- package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +7 -7
- package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +24 -22
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +13 -13
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +6 -6
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +7 -4
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js +2 -2
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +3 -3
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
- package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/esm/vs/editor/contrib/links/browser/links.js +10 -10
- package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
- package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +10 -10
- package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/esm/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/esm/vs/editor/contrib/rename/browser/renameWidget.css +1 -1
- package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
- package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/esm/vs/editor/contrib/suggest/browser/suggest.js +9 -9
- package/esm/vs/editor/contrib/suggest/browser/suggestController.js +11 -11
- package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +3 -3
- package/esm/vs/editor/editor.api.d.ts +23 -1
- package/esm/vs/editor/standalone/browser/services/standaloneWebWorkerService.js +4 -0
- package/esm/vs/features/anchorSelect/register.d.ts +2 -1
- package/esm/vs/features/bracketMatching/register.d.ts +2 -1
- package/esm/vs/features/caretOperations/register.d.ts +2 -1
- package/esm/vs/features/clipboard/register.d.ts +2 -1
- package/esm/vs/features/codeAction/register.d.ts +2 -1
- package/esm/vs/features/codeEditor/register.d.ts +2 -1
- package/esm/vs/features/codelens/register.d.ts +2 -1
- package/esm/vs/features/codicon/register.d.ts +2 -1
- package/esm/vs/features/colorPicker/register.d.ts +2 -1
- package/esm/vs/features/comment/register.d.ts +2 -1
- package/esm/vs/features/contextmenu/register.d.ts +2 -1
- package/esm/vs/features/cursorUndo/register.d.ts +2 -1
- package/esm/vs/features/diffEditor/register.d.ts +2 -1
- package/esm/vs/features/diffEditorBreadcrumbs/register.d.ts +2 -1
- package/esm/vs/features/dnd/register.d.ts +2 -1
- package/esm/vs/features/documentSymbols/register.d.ts +2 -1
- package/esm/vs/features/dropOrPasteInto/register.d.ts +2 -1
- package/esm/vs/features/find/register.d.ts +2 -1
- package/esm/vs/features/floatingMenu/register.d.ts +2 -1
- package/esm/vs/features/folding/register.d.ts +2 -1
- package/esm/vs/features/fontZoom/register.d.ts +2 -1
- package/esm/vs/features/format/register.d.ts +2 -1
- package/esm/vs/features/gotoError/register.d.ts +2 -1
- package/esm/vs/features/gotoLine/register.d.ts +2 -1
- package/esm/vs/features/gotoSymbol/register.d.ts +2 -1
- package/esm/vs/features/gpu/register.d.ts +2 -1
- package/esm/vs/features/hover/register.d.ts +2 -1
- package/esm/vs/features/iPadShowKeyboard/register.d.ts +2 -1
- package/esm/vs/features/inPlaceReplace/register.d.ts +2 -1
- package/esm/vs/features/indentation/register.d.ts +2 -1
- package/esm/vs/features/inlayHints/register.d.ts +2 -1
- package/esm/vs/features/inlineCompletions/register.d.ts +2 -1
- package/esm/vs/features/inlineProgress/register.d.ts +2 -1
- package/esm/vs/features/insertFinalNewLine/register.d.ts +2 -1
- package/esm/vs/features/inspectTokens/register.d.ts +2 -1
- package/esm/vs/features/lineSelection/register.d.ts +2 -1
- package/esm/vs/features/linesOperations/register.d.ts +2 -1
- package/esm/vs/features/linkedEditing/register.d.ts +2 -1
- package/esm/vs/features/links/register.d.ts +2 -1
- package/esm/vs/features/longLinesHelper/register.d.ts +2 -1
- package/esm/vs/features/middleScroll/register.d.ts +2 -1
- package/esm/vs/features/multicursor/register.d.ts +2 -1
- package/esm/vs/features/parameterHints/register.d.ts +2 -1
- package/esm/vs/features/placeholderText/register.d.ts +2 -1
- package/esm/vs/features/quickCommand/register.d.ts +2 -1
- package/esm/vs/features/quickHelp/register.d.ts +2 -1
- package/esm/vs/features/quickOutline/register.d.ts +2 -1
- package/esm/vs/features/readOnlyMessage/register.d.ts +2 -1
- package/esm/vs/features/referenceSearch/register.d.ts +2 -1
- package/esm/vs/features/rename/register.d.ts +2 -1
- package/esm/vs/features/sectionHeaders/register.d.ts +2 -1
- package/esm/vs/features/semanticTokens/register.d.ts +2 -1
- package/esm/vs/features/smartSelect/register.d.ts +2 -1
- package/esm/vs/features/snippet/register.d.ts +2 -1
- package/esm/vs/features/stickyScroll/register.d.ts +2 -1
- package/esm/vs/features/suggest/register.d.ts +2 -1
- package/esm/vs/features/toggleHighContrast/register.d.ts +2 -1
- package/esm/vs/features/toggleTabFocusMode/register.d.ts +2 -1
- package/esm/vs/features/tokenization/register.d.ts +2 -1
- package/esm/vs/features/unicodeHighlighter/register.d.ts +2 -1
- package/esm/vs/features/unusualLineTerminators/register.d.ts +2 -1
- package/esm/vs/features/wordHighlighter/register.d.ts +2 -1
- package/esm/vs/features/wordOperations/register.d.ts +2 -1
- package/esm/vs/features/wordPartOperations/register.d.ts +2 -1
- package/esm/vs/languages/definitions/abap/register.d.ts +2 -1
- package/esm/vs/languages/definitions/apex/register.d.ts +2 -1
- package/esm/vs/languages/definitions/azcli/register.d.ts +2 -1
- package/esm/vs/languages/definitions/bat/register.d.ts +2 -1
- package/esm/vs/languages/definitions/bicep/register.d.ts +2 -1
- package/esm/vs/languages/definitions/cameligo/register.d.ts +2 -1
- package/esm/vs/languages/definitions/clojure/register.d.ts +2 -1
- package/esm/vs/languages/definitions/coffee/register.d.ts +2 -1
- package/esm/vs/languages/definitions/cpp/register.d.ts +2 -1
- package/esm/vs/languages/definitions/csharp/register.d.ts +2 -1
- package/esm/vs/languages/definitions/csp/register.d.ts +2 -1
- package/esm/vs/languages/definitions/css/register.d.ts +2 -1
- package/esm/vs/languages/definitions/cypher/register.d.ts +2 -1
- package/esm/vs/languages/definitions/dart/register.d.ts +2 -1
- package/esm/vs/languages/definitions/dockerfile/register.d.ts +2 -1
- package/esm/vs/languages/definitions/ecl/register.d.ts +2 -1
- package/esm/vs/languages/definitions/elixir/register.d.ts +2 -1
- package/esm/vs/languages/definitions/flow9/register.d.ts +2 -1
- package/esm/vs/languages/definitions/freemarker2/register.d.ts +2 -1
- package/esm/vs/languages/definitions/fsharp/register.d.ts +2 -1
- package/esm/vs/languages/definitions/go/register.d.ts +2 -1
- package/esm/vs/languages/definitions/graphql/register.d.ts +2 -1
- package/esm/vs/languages/definitions/handlebars/register.d.ts +2 -1
- package/esm/vs/languages/definitions/hcl/register.d.ts +2 -1
- package/esm/vs/languages/definitions/html/register.d.ts +2 -1
- package/esm/vs/languages/definitions/ini/register.d.ts +2 -1
- package/esm/vs/languages/definitions/java/register.d.ts +2 -1
- package/esm/vs/languages/definitions/javascript/register.d.ts +2 -1
- package/esm/vs/languages/definitions/julia/register.d.ts +2 -1
- package/esm/vs/languages/definitions/kotlin/register.d.ts +2 -1
- package/esm/vs/languages/definitions/less/register.d.ts +2 -1
- package/esm/vs/languages/definitions/lexon/register.d.ts +2 -1
- package/esm/vs/languages/definitions/liquid/register.d.ts +2 -1
- package/esm/vs/languages/definitions/lua/register.d.ts +2 -1
- package/esm/vs/languages/definitions/m3/register.d.ts +2 -1
- package/esm/vs/languages/definitions/markdown/register.d.ts +2 -1
- package/esm/vs/languages/definitions/mdx/register.d.ts +2 -1
- package/esm/vs/languages/definitions/mips/register.d.ts +2 -1
- package/esm/vs/languages/definitions/msdax/register.d.ts +2 -1
- package/esm/vs/languages/definitions/mysql/register.d.ts +2 -1
- package/esm/vs/languages/definitions/objective-c/register.d.ts +2 -1
- package/esm/vs/languages/definitions/pascal/register.d.ts +2 -1
- package/esm/vs/languages/definitions/pascaligo/register.d.ts +2 -1
- package/esm/vs/languages/definitions/perl/register.d.ts +2 -1
- package/esm/vs/languages/definitions/pgsql/register.d.ts +2 -1
- package/esm/vs/languages/definitions/php/register.d.ts +2 -1
- package/esm/vs/languages/definitions/pla/register.d.ts +2 -1
- package/esm/vs/languages/definitions/postiats/register.d.ts +2 -1
- package/esm/vs/languages/definitions/powerquery/register.d.ts +2 -1
- package/esm/vs/languages/definitions/powershell/register.d.ts +2 -1
- package/esm/vs/languages/definitions/protobuf/register.d.ts +2 -1
- package/esm/vs/languages/definitions/pug/register.d.ts +2 -1
- package/esm/vs/languages/definitions/python/register.d.ts +2 -1
- package/esm/vs/languages/definitions/qsharp/register.d.ts +2 -1
- package/esm/vs/languages/definitions/r/register.d.ts +2 -1
- package/esm/vs/languages/definitions/razor/register.d.ts +2 -1
- package/esm/vs/languages/definitions/redis/register.d.ts +2 -1
- package/esm/vs/languages/definitions/redshift/register.d.ts +2 -1
- package/esm/vs/languages/definitions/restructuredtext/register.d.ts +2 -1
- package/esm/vs/languages/definitions/ruby/register.d.ts +2 -1
- package/esm/vs/languages/definitions/rust/register.d.ts +2 -1
- package/esm/vs/languages/definitions/sb/register.d.ts +2 -1
- package/esm/vs/languages/definitions/scala/register.d.ts +2 -1
- package/esm/vs/languages/definitions/scheme/register.d.ts +2 -1
- package/esm/vs/languages/definitions/scss/register.d.ts +2 -1
- package/esm/vs/languages/definitions/shell/register.d.ts +2 -1
- package/esm/vs/languages/definitions/solidity/register.d.ts +2 -1
- package/esm/vs/languages/definitions/sophia/register.d.ts +2 -1
- package/esm/vs/languages/definitions/sparql/register.d.ts +2 -1
- package/esm/vs/languages/definitions/sql/register.d.ts +2 -1
- package/esm/vs/languages/definitions/st/register.d.ts +2 -1
- package/esm/vs/languages/definitions/swift/register.d.ts +2 -1
- package/esm/vs/languages/definitions/systemverilog/register.d.ts +2 -1
- package/esm/vs/languages/definitions/tcl/register.d.ts +2 -1
- package/esm/vs/languages/definitions/twig/register.d.ts +2 -1
- package/esm/vs/languages/definitions/typescript/register.d.ts +2 -1
- package/esm/vs/languages/definitions/typespec/register.d.ts +2 -1
- package/esm/vs/languages/definitions/vb/register.d.ts +2 -1
- package/esm/vs/languages/definitions/wgsl/register.d.ts +2 -1
- package/esm/vs/languages/definitions/xml/register.d.ts +2 -1
- package/esm/vs/languages/definitions/yaml/register.d.ts +2 -1
- package/esm/vs/languages/features/css/register.d.ts +193 -1
- package/esm/vs/languages/features/css/workerManager.js +1 -1
- package/esm/vs/languages/features/html/register.d.ts +164 -1
- package/esm/vs/languages/features/html/workerManager.js +1 -1
- package/esm/vs/languages/features/json/register.d.ts +235 -1
- package/esm/vs/languages/features/json/workerManager.js +1 -1
- package/esm/vs/languages/features/typescript/register.d.ts +443 -1
- package/esm/vs/languages/features/typescript/workerManager.js +1 -1
- package/esm/vs/nls/lang/cs.js +2 -2
- package/esm/vs/nls/lang/de.js +2 -2
- package/esm/vs/nls/lang/es.js +2 -2
- package/esm/vs/nls/lang/fr.js +2 -2
- package/esm/vs/nls/lang/it.js +2 -2
- package/esm/vs/nls/lang/ja.js +2 -2
- package/esm/vs/nls/lang/ko.js +2 -2
- package/esm/vs/nls/lang/pl.js +2 -2
- package/esm/vs/nls/lang/pt-br.js +2 -2
- package/esm/vs/nls/lang/ru.js +2 -2
- package/esm/vs/nls/lang/tr.js +2 -2
- package/esm/vs/nls/lang/zh-cn.js +2 -2
- package/esm/vs/nls/lang/zh-tw.js +2 -2
- package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/esm/vs/platform/actionWidget/browser/actionList.js +4 -4
- package/esm/vs/platform/actionWidget/browser/actionWidget.js +8 -8
- package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +3 -3
- package/esm/vs/platform/actions/browser/toolbar.js +2 -2
- package/esm/vs/platform/actions/common/actions.js +1 -0
- package/esm/vs/platform/actions/common/menuService.js +2 -2
- package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
- package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/esm/vs/platform/contextkey/common/scanner.js +5 -5
- package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/esm/vs/platform/hover/browser/hoverWidget.js +1 -1
- package/esm/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
- package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +5 -5
- package/esm/vs/platform/list/browser/listService.js +27 -27
- package/esm/vs/platform/markers/common/markerService.js +2 -2
- package/esm/vs/platform/markers/common/markers.js +6 -6
- package/esm/vs/platform/observable/common/platformObservableUtils.js +1 -1
- package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +8 -8
- package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
- package/esm/vs/platform/quickinput/browser/media/quickInput.css +3 -11
- package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
- package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickTree.js +1 -1
- package/esm/vs/platform/theme/common/colorUtils.js +2 -2
- package/esm/vs/platform/theme/common/colors/baseColors.js +18 -18
- package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
- package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
- package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/esm/vs/platform/theme/common/colors/miscColors.js +16 -16
- package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
- package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/esm/vs/platform/webWorker/browser/webWorkerServiceImpl.js +7 -2
- package/esm/vs/platform/workspace/common/workspace.js +1 -1
- package/min/vs/assets/{css.worker-CTho1Z2s.js → css.worker-57ylMqdQ.js} +1 -1
- package/min/vs/assets/{editor.worker-Cj3y49Lu.js → editor.worker-C7rTzOHm.js} +1 -1
- package/min/vs/assets/{editorWebWorkerMain-N9BQrLTN.js → editorWebWorkerMain-CRWuSSWk.js} +1 -1
- package/min/vs/assets/{html.worker-B5eygcqw.js → html.worker-DUkJXKh4.js} +1 -1
- package/min/vs/assets/{json.worker-C6iI2Vxn.js → json.worker-DHFIjIvp.js} +1 -1
- package/min/vs/assets/{ts.worker-BAsDYLKY.js → ts.worker-CKcSPjM2.js} +1 -1
- package/min/vs/basic-languages/monaco.contribution.js +1 -1
- package/min/vs/css.worker-CkPP9VjP.js +1 -0
- package/min/vs/cssMode-D0C9OvuF.js +1 -0
- package/min/vs/editor/editor.main.css +1 -1
- package/min/vs/editor/editor.main.js +1 -5
- package/min/vs/editor/editor.worker.js +1 -1
- package/min/vs/{editor-_RCEdmvY.js → editor-BbF9z4be.js} +107 -106
- package/min/vs/editor.js +1 -1
- package/min/vs/{editorWorkerHost-CQ7aiWlF.js → editorWorkerHost-DnKHgOKB.js} +2 -2
- package/min/vs/{freemarker2-D4d_C6LW.js → freemarker2-D9E55wFi.js} +1 -1
- package/min/vs/{handlebars-C6NNUzyJ.js → handlebars-CKRX4i8S.js} +1 -1
- package/min/vs/{html-BABEugMf.js → html-BeyhNtRJ.js} +1 -1
- package/min/vs/html.worker-uHOusrcK.js +1 -0
- package/min/vs/htmlMode-BrA9UyCN.js +1 -0
- package/min/vs/{index-CNJX59UW.js → index-049xrXrp.js} +1 -1
- package/min/vs/index-hUpZwLg1.js +5 -0
- package/min/vs/index.js +1 -0
- package/min/vs/{initialize-B_j9nAKL.js → initialize-BZ6ciHHH.js} +1 -1
- package/min/vs/{javascript-NuiwrX-5.js → javascript-DfkW5xhQ.js} +1 -1
- package/min/vs/json.worker-DGsNKzKv.js +1 -0
- package/min/vs/jsonMode-7CSZcC7s.js +1 -0
- package/min/vs/language/css/css.worker.js +1 -1
- package/min/vs/language/css/monaco.contribution.js +1 -1
- package/min/vs/language/html/html.worker.js +1 -1
- package/min/vs/language/html/monaco.contribution.js +1 -1
- package/min/vs/language/json/json.worker.js +3 -3
- package/min/vs/language/json/monaco.contribution.js +1 -1
- package/min/vs/language/typescript/monaco.contribution.js +1 -1
- package/min/vs/language/typescript/ts.worker.js +1 -1
- package/min/vs/{liquid-Bguw2x1v.js → liquid-pyVMSu08.js} +1 -1
- package/min/vs/{lspLanguageFeatures-D6IPmlbJ.js → lspLanguageFeatures-VPBqCdCb.js} +1 -1
- package/min/vs/{mdx-t4SbqCJO.js → mdx-BXbm8amL.js} +1 -1
- package/min/vs/{monaco.contribution-B6PO-qMO.js → monaco.contribution-BKcbrDXE.js} +1 -1
- package/min/vs/{monaco.contribution-CS8nS4qi.js → monaco.contribution-BjMddBgJ.js} +1 -1
- package/min/vs/{monaco.contribution-DCqiCzUr.js → monaco.contribution-BwI5AUDz.js} +1 -1
- package/min/vs/{monaco.contribution-DxVLeGt5.js → monaco.contribution-DdP5lKVl.js} +1 -1
- package/min/vs/nls/lang/cs.js +2 -2
- package/min/vs/nls/lang/de.js +2 -2
- package/min/vs/nls/lang/es.js +2 -2
- package/min/vs/nls/lang/fr.js +2 -2
- package/min/vs/nls/lang/it.js +2 -2
- package/min/vs/nls/lang/ja.js +2 -2
- package/min/vs/nls/lang/ko.js +2 -2
- package/min/vs/nls/lang/pl.js +2 -2
- package/min/vs/nls/lang/pt-br.js +2 -2
- package/min/vs/nls/lang/ru.js +2 -2
- package/min/vs/nls/lang/tr.js +2 -2
- package/min/vs/nls/lang/zh-cn.js +2 -2
- package/min/vs/nls/lang/zh-tw.js +2 -2
- package/min/vs/{python-NI5xUoLf.js → python-Cpm6f5bx.js} +1 -1
- package/min/vs/{razor-DY059DxF.js → razor-D_lKrE4A.js} +1 -1
- package/min/vs/{toggleHighContrast-B_2Wj21t.js → toggleHighContrast-BIWKqxQU.js} +32 -32
- package/min/vs/ts.worker-DyDnfuDL.js +1 -0
- package/min/vs/{tsMode-BIyo5lcL.js → tsMode-Blo4JbIC.js} +4 -4
- package/min/vs/{typescript-Pa7G7GO1.js → typescript-Bzo8PSiy.js} +1 -1
- package/min/vs/{typespec-D-PIh9Xw.js → typespec-8OfoLt6R.js} +1 -1
- package/min/vs/{workers-BZfsJ0Zq.js → workers-1UKK1eiI.js} +1 -1
- package/min/vs/{xml-BOHwjsBh.js → xml-DqJ2UhAw.js} +1 -1
- package/min/vs/{yaml-VcxPd5Wl.js → yaml-D-e6Mk4S.js} +1 -1
- package/monaco.d.ts +23 -1
- package/package.json +12 -11
- package/min/vs/cssMode-DH3ZJTuM.js +0 -1
- package/min/vs/htmlMode-CZJida2w.js +0 -1
- package/min/vs/jsonMode-CD9KTNi5.js +0 -1
|
@@ -6,16 +6,16 @@ import { RawContextKey } from './contextkey.js';
|
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
8
8
|
*--------------------------------------------------------------------------------------------*/
|
|
9
|
-
new RawContextKey('isMac', isMacintosh, localize(
|
|
10
|
-
new RawContextKey('isLinux', isLinux, localize(
|
|
11
|
-
const IsWindowsContext = new RawContextKey('isWindows', isWindows, localize(
|
|
12
|
-
const IsWebContext = new RawContextKey('isWeb', isWeb, localize(
|
|
13
|
-
new RawContextKey('isMacNative', isMacintosh && !isWeb, localize(
|
|
14
|
-
new RawContextKey('isIOS', isIOS, localize(
|
|
15
|
-
new RawContextKey('isMobile', isMobile, localize(
|
|
9
|
+
new RawContextKey('isMac', isMacintosh, localize(1699, "Whether the operating system is macOS"));
|
|
10
|
+
new RawContextKey('isLinux', isLinux, localize(1700, "Whether the operating system is Linux"));
|
|
11
|
+
const IsWindowsContext = new RawContextKey('isWindows', isWindows, localize(1701, "Whether the operating system is Windows"));
|
|
12
|
+
const IsWebContext = new RawContextKey('isWeb', isWeb, localize(1702, "Whether the platform is a web browser"));
|
|
13
|
+
new RawContextKey('isMacNative', isMacintosh && !isWeb, localize(1703, "Whether the operating system is macOS on a non-browser platform"));
|
|
14
|
+
new RawContextKey('isIOS', isIOS, localize(1704, "Whether the operating system is iOS"));
|
|
15
|
+
new RawContextKey('isMobile', isMobile, localize(1705, "Whether the platform is a mobile web browser"));
|
|
16
16
|
new RawContextKey('isDevelopment', false, true);
|
|
17
|
-
new RawContextKey('productQualityType', '', localize(
|
|
17
|
+
new RawContextKey('productQualityType', '', localize(1706, "Quality type of VS Code"));
|
|
18
18
|
const InputFocusedContextKey = 'inputFocus';
|
|
19
|
-
const InputFocusedContext = new RawContextKey(InputFocusedContextKey, false, localize(
|
|
19
|
+
const InputFocusedContext = new RawContextKey(InputFocusedContextKey, false, localize(1707, "Whether keyboard focus is inside an input box"));
|
|
20
20
|
|
|
21
21
|
export { InputFocusedContext, InputFocusedContextKey, IsWebContext, IsWindowsContext };
|
|
@@ -8,17 +8,17 @@ import { localize } from '../../../nls.js';
|
|
|
8
8
|
function hintDidYouMean(...meant) {
|
|
9
9
|
switch (meant.length) {
|
|
10
10
|
case 1:
|
|
11
|
-
return localize(
|
|
11
|
+
return localize(1708, "Did you mean {0}?", meant[0]);
|
|
12
12
|
case 2:
|
|
13
|
-
return localize(
|
|
13
|
+
return localize(1709, "Did you mean {0} or {1}?", meant[0], meant[1]);
|
|
14
14
|
case 3:
|
|
15
|
-
return localize(
|
|
15
|
+
return localize(1710, "Did you mean {0}, {1} or {2}?", meant[0], meant[1], meant[2]);
|
|
16
16
|
default: // we just don't expect that many
|
|
17
17
|
return undefined;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
const hintDidYouForgetToOpenOrCloseQuote = localize(
|
|
21
|
-
const hintDidYouForgetToEscapeSlash = localize(
|
|
20
|
+
const hintDidYouForgetToOpenOrCloseQuote = localize(1711, "Did you forget to open or close the quote?");
|
|
21
|
+
const hintDidYouForgetToEscapeSlash = localize(1712, "Did you forget to escape the '/' (slash) character? Put two backslashes before it to escape, e.g., '\\\\/\'.");
|
|
22
22
|
/**
|
|
23
23
|
* A simple scanner for context keys.
|
|
24
24
|
*
|
|
@@ -19,7 +19,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
19
19
|
var __param = (undefined && undefined.__param) || function (paramIndex, decorator) {
|
|
20
20
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
21
21
|
};
|
|
22
|
-
const historyNavigationVisible = new RawContextKey('suggestWidgetVisible', false, localize(
|
|
22
|
+
const historyNavigationVisible = new RawContextKey('suggestWidgetVisible', false, localize(1713, "Whether suggestion are visible"));
|
|
23
23
|
const HistoryNavigationWidgetFocusContext = 'historyNavigationWidgetFocus';
|
|
24
24
|
const HistoryNavigationForwardsEnablementContext = 'historyNavigationForwardsEnabled';
|
|
25
25
|
const HistoryNavigationBackwardsEnablementContext = 'historyNavigationBackwardsEnabled';
|
|
@@ -197,7 +197,7 @@ let HoverWidget = class HoverWidget extends Widget {
|
|
|
197
197
|
if (options.appearance?.showHoverHint) {
|
|
198
198
|
const statusBarElement = $('div.hover-row.status-bar');
|
|
199
199
|
const infoElement = $('div.info');
|
|
200
|
-
infoElement.textContent = localize(
|
|
200
|
+
infoElement.textContent = localize(1714, 'Hold {0} key to mouse over', isMacintosh ? 'Option' : 'Alt');
|
|
201
201
|
statusBarElement.appendChild(infoElement);
|
|
202
202
|
this._hover.containerDomNode.appendChild(statusBarElement);
|
|
203
203
|
}
|
|
@@ -48,7 +48,7 @@ class ManagedHoverWidget {
|
|
|
48
48
|
if (managedContent instanceof Promise) {
|
|
49
49
|
// show 'Loading' if no hover is up yet
|
|
50
50
|
if (!this._hoverWidget) {
|
|
51
|
-
this.show(localize(
|
|
51
|
+
this.show(localize(1715, "Loading..."), focus, options);
|
|
52
52
|
}
|
|
53
53
|
resolvedContent = await managedContent;
|
|
54
54
|
}
|
|
@@ -96,11 +96,11 @@ class AbstractKeybindingService extends Disposable {
|
|
|
96
96
|
throw illegalState('impossible');
|
|
97
97
|
case 1:
|
|
98
98
|
// TODO@ulugbekna: revise this message and the one below (at least, fix terminology)
|
|
99
|
-
this._currentChordStatusMessage = this._notificationService.status(localize(
|
|
99
|
+
this._currentChordStatusMessage = this._notificationService.status(localize(1716, "({0}) was pressed. Waiting for second key of chord...", keypressLabel));
|
|
100
100
|
break;
|
|
101
101
|
default: {
|
|
102
102
|
const fullKeypressLabel = this._currentChords.map(({ label }) => label).join(', ');
|
|
103
|
-
this._currentChordStatusMessage = this._notificationService.status(localize(
|
|
103
|
+
this._currentChordStatusMessage = this._notificationService.status(localize(1717, "({0}) was pressed. Waiting for next key of chord...", fullKeypressLabel));
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
this._scheduleLeaveChordMode();
|
|
@@ -199,7 +199,7 @@ class AbstractKeybindingService extends Disposable {
|
|
|
199
199
|
if (this.inChordMode) {
|
|
200
200
|
const currentChordsLabel = this._currentChords.map(({ label }) => label).join(', ');
|
|
201
201
|
this._log(`+ Leaving multi-chord mode: Nothing bound to "${currentChordsLabel}, ${keypressLabel}".`);
|
|
202
|
-
this._notificationService.status(localize(
|
|
202
|
+
this._notificationService.status(localize(1718, "The key combination ({0}, {1}) is not a command.", currentChordsLabel, keypressLabel), { hideAfter: 10 * 1000 /* 10s */ });
|
|
203
203
|
this._leaveChordMode();
|
|
204
204
|
shouldPreventDefault = true;
|
|
205
205
|
}
|
|
@@ -218,7 +218,7 @@ class AbstractKeybindingService extends Disposable {
|
|
|
218
218
|
if (this.inChordMode) {
|
|
219
219
|
const currentChordsLabel = this._currentChords.map(({ label }) => label).join(', ');
|
|
220
220
|
this._log(`+ Leaving chord mode: Nothing bound to "${currentChordsLabel}, ${keypressLabel}".`);
|
|
221
|
-
this._notificationService.status(localize(
|
|
221
|
+
this._notificationService.status(localize(1719, "The key combination ({0}, {1}) is not a command.", currentChordsLabel, keypressLabel), { hideAfter: 10 * 1000 /* 10s */ });
|
|
222
222
|
this._leaveChordMode();
|
|
223
223
|
shouldPreventDefault = true;
|
|
224
224
|
}
|
|
@@ -268,7 +268,7 @@ class AbstractKeybindingService extends Disposable {
|
|
|
268
268
|
if (commandId) {
|
|
269
269
|
const keybindingLabel = this.lookupKeybinding(commandId, context, enforceContextCheck)?.getLabel();
|
|
270
270
|
if (keybindingLabel) {
|
|
271
|
-
return localize(
|
|
271
|
+
return localize(1720, "{0} ({1})", label, keybindingLabel);
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
return label;
|
|
@@ -897,18 +897,18 @@ const configurationRegistry = Registry.as(Extensions.Configuration);
|
|
|
897
897
|
configurationRegistry.registerConfiguration({
|
|
898
898
|
id: 'workbench',
|
|
899
899
|
order: 7,
|
|
900
|
-
title: localize(
|
|
900
|
+
title: localize(1721, "Workbench"),
|
|
901
901
|
type: 'object',
|
|
902
902
|
properties: {
|
|
903
903
|
[multiSelectModifierSettingKey]: {
|
|
904
904
|
type: 'string',
|
|
905
905
|
enum: ['ctrlCmd', 'alt'],
|
|
906
906
|
markdownEnumDescriptions: [
|
|
907
|
-
localize(
|
|
908
|
-
localize(
|
|
907
|
+
localize(1722, "Maps to `Control` on Windows and Linux and to `Command` on macOS."),
|
|
908
|
+
localize(1723, "Maps to `Alt` on Windows and Linux and to `Option` on macOS.")
|
|
909
909
|
],
|
|
910
910
|
default: 'ctrlCmd',
|
|
911
|
-
description: localize(
|
|
911
|
+
description: localize(1724, "The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")
|
|
912
912
|
|
|
913
913
|
|
|
914
914
|
|
|
@@ -920,7 +920,7 @@ configurationRegistry.registerConfiguration({
|
|
|
920
920
|
type: 'string',
|
|
921
921
|
enum: ['singleClick', 'doubleClick'],
|
|
922
922
|
default: 'singleClick',
|
|
923
|
-
description: localize(
|
|
923
|
+
description: localize(1725, "Controls how to open items in trees and lists using the mouse (if supported). Note that some trees and lists might choose to ignore this setting if it is not applicable.")
|
|
924
924
|
|
|
925
925
|
|
|
926
926
|
|
|
@@ -928,96 +928,96 @@ configurationRegistry.registerConfiguration({
|
|
|
928
928
|
[horizontalScrollingKey]: {
|
|
929
929
|
type: 'boolean',
|
|
930
930
|
default: false,
|
|
931
|
-
description: localize(
|
|
931
|
+
description: localize(1726, "Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")
|
|
932
932
|
},
|
|
933
933
|
[scrollByPageKey]: {
|
|
934
934
|
type: 'boolean',
|
|
935
935
|
default: false,
|
|
936
|
-
description: localize(
|
|
936
|
+
description: localize(1727, "Controls whether clicks in the scrollbar scroll page by page.")
|
|
937
937
|
},
|
|
938
938
|
[treeIndentKey]: {
|
|
939
939
|
type: 'number',
|
|
940
940
|
default: 8,
|
|
941
941
|
minimum: 4,
|
|
942
942
|
maximum: 40,
|
|
943
|
-
description: localize(
|
|
943
|
+
description: localize(1728, "Controls tree indentation in pixels.")
|
|
944
944
|
},
|
|
945
945
|
[treeRenderIndentGuidesKey]: {
|
|
946
946
|
type: 'string',
|
|
947
947
|
enum: ['none', 'onHover', 'always'],
|
|
948
948
|
default: 'onHover',
|
|
949
|
-
description: localize(
|
|
949
|
+
description: localize(1729, "Controls whether the tree should render indent guides.")
|
|
950
950
|
},
|
|
951
951
|
[listSmoothScrolling]: {
|
|
952
952
|
type: 'boolean',
|
|
953
953
|
default: false,
|
|
954
|
-
description: localize(
|
|
954
|
+
description: localize(1730, "Controls whether lists and trees have smooth scrolling."),
|
|
955
955
|
},
|
|
956
956
|
[mouseWheelScrollSensitivityKey]: {
|
|
957
957
|
type: 'number',
|
|
958
958
|
default: 1,
|
|
959
|
-
markdownDescription: localize(
|
|
959
|
+
markdownDescription: localize(1731, "A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")
|
|
960
960
|
},
|
|
961
961
|
[fastScrollSensitivityKey]: {
|
|
962
962
|
type: 'number',
|
|
963
963
|
default: 5,
|
|
964
|
-
markdownDescription: localize(
|
|
964
|
+
markdownDescription: localize(1732, "Scrolling speed multiplier when pressing `Alt`.")
|
|
965
965
|
},
|
|
966
966
|
[defaultFindModeSettingKey]: {
|
|
967
967
|
type: 'string',
|
|
968
968
|
enum: ['highlight', 'filter'],
|
|
969
969
|
enumDescriptions: [
|
|
970
|
-
localize(
|
|
971
|
-
localize(
|
|
970
|
+
localize(1733, "Highlight elements when searching. Further up and down navigation will traverse only the highlighted elements."),
|
|
971
|
+
localize(1734, "Filter elements when searching.")
|
|
972
972
|
],
|
|
973
973
|
default: 'highlight',
|
|
974
|
-
description: localize(
|
|
974
|
+
description: localize(1735, "Controls the default find mode for lists and trees in the workbench.")
|
|
975
975
|
},
|
|
976
976
|
[keyboardNavigationSettingKey]: {
|
|
977
977
|
type: 'string',
|
|
978
978
|
enum: ['simple', 'highlight', 'filter'],
|
|
979
979
|
enumDescriptions: [
|
|
980
|
-
localize(
|
|
981
|
-
localize(
|
|
982
|
-
localize(
|
|
980
|
+
localize(1736, "Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),
|
|
981
|
+
localize(1737, "Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),
|
|
982
|
+
localize(1738, "Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")
|
|
983
983
|
],
|
|
984
984
|
default: 'highlight',
|
|
985
|
-
description: localize(
|
|
985
|
+
description: localize(1739, "Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter."),
|
|
986
986
|
deprecated: true,
|
|
987
|
-
deprecationMessage: localize(
|
|
987
|
+
deprecationMessage: localize(1740, "Please use 'workbench.list.defaultFindMode' and 'workbench.list.typeNavigationMode' instead.")
|
|
988
988
|
},
|
|
989
989
|
[defaultFindMatchTypeSettingKey]: {
|
|
990
990
|
type: 'string',
|
|
991
991
|
enum: ['fuzzy', 'contiguous'],
|
|
992
992
|
enumDescriptions: [
|
|
993
|
-
localize(
|
|
994
|
-
localize(
|
|
993
|
+
localize(1741, "Use fuzzy matching when searching."),
|
|
994
|
+
localize(1742, "Use contiguous matching when searching.")
|
|
995
995
|
],
|
|
996
996
|
default: 'fuzzy',
|
|
997
|
-
description: localize(
|
|
997
|
+
description: localize(1743, "Controls the type of matching used when searching lists and trees in the workbench.")
|
|
998
998
|
},
|
|
999
999
|
[treeExpandMode]: {
|
|
1000
1000
|
type: 'string',
|
|
1001
1001
|
enum: ['singleClick', 'doubleClick'],
|
|
1002
1002
|
default: 'singleClick',
|
|
1003
|
-
description: localize(
|
|
1003
|
+
description: localize(1744, "Controls how tree folders are expanded when clicking the folder names. Note that some trees and lists might choose to ignore this setting if it is not applicable."),
|
|
1004
1004
|
},
|
|
1005
1005
|
[treeStickyScroll]: {
|
|
1006
1006
|
type: 'boolean',
|
|
1007
1007
|
default: true,
|
|
1008
|
-
description: localize(
|
|
1008
|
+
description: localize(1745, "Controls whether sticky scrolling is enabled in trees."),
|
|
1009
1009
|
},
|
|
1010
1010
|
[treeStickyScrollMaxElements]: {
|
|
1011
1011
|
type: 'number',
|
|
1012
1012
|
minimum: 1,
|
|
1013
1013
|
default: 7,
|
|
1014
|
-
markdownDescription: localize(
|
|
1014
|
+
markdownDescription: localize(1746, "Controls the number of sticky elements displayed in the tree when {0} is enabled.", '`#workbench.tree.enableStickyScroll#`'),
|
|
1015
1015
|
},
|
|
1016
1016
|
[typeNavigationModeSettingKey]: {
|
|
1017
1017
|
type: 'string',
|
|
1018
1018
|
enum: ['automatic', 'trigger'],
|
|
1019
1019
|
default: 'automatic',
|
|
1020
|
-
markdownDescription: localize(
|
|
1020
|
+
markdownDescription: localize(1747, "Controls how type navigation works in lists and trees in the workbench. When set to `trigger`, type navigation begins once the `list.triggerTypeNavigation` command is run."),
|
|
1021
1021
|
}
|
|
1022
1022
|
}
|
|
1023
1023
|
});
|
|
@@ -240,8 +240,8 @@ class MarkerService {
|
|
|
240
240
|
*/
|
|
241
241
|
_createFilteredMarker(resource, reasons) {
|
|
242
242
|
const message = reasons.length === 1
|
|
243
|
-
? localize(
|
|
244
|
-
: localize(
|
|
243
|
+
? localize(1754, "Problems are paused because: \"{0}\"", reasons[0])
|
|
244
|
+
: localize(1755, "Problems are paused because: \"{0}\" and {1} more", reasons[0], reasons.length - 1);
|
|
245
245
|
return {
|
|
246
246
|
owner: 'markersFilter',
|
|
247
247
|
resource,
|
|
@@ -19,17 +19,17 @@ var MarkerSeverity;
|
|
|
19
19
|
}
|
|
20
20
|
MarkerSeverity.compare = compare;
|
|
21
21
|
const _displayStrings = Object.create(null);
|
|
22
|
-
_displayStrings[MarkerSeverity.Error] = localize(
|
|
23
|
-
_displayStrings[MarkerSeverity.Warning] = localize(
|
|
24
|
-
_displayStrings[MarkerSeverity.Info] = localize(
|
|
22
|
+
_displayStrings[MarkerSeverity.Error] = localize(1748, "Error");
|
|
23
|
+
_displayStrings[MarkerSeverity.Warning] = localize(1749, "Warning");
|
|
24
|
+
_displayStrings[MarkerSeverity.Info] = localize(1750, "Info");
|
|
25
25
|
function toString(a) {
|
|
26
26
|
return _displayStrings[a] || '';
|
|
27
27
|
}
|
|
28
28
|
MarkerSeverity.toString = toString;
|
|
29
29
|
const _displayStringsPlural = Object.create(null);
|
|
30
|
-
_displayStringsPlural[MarkerSeverity.Error] = localize(
|
|
31
|
-
_displayStringsPlural[MarkerSeverity.Warning] = localize(
|
|
32
|
-
_displayStringsPlural[MarkerSeverity.Info] = localize(
|
|
30
|
+
_displayStringsPlural[MarkerSeverity.Error] = localize(1751, "Errors");
|
|
31
|
+
_displayStringsPlural[MarkerSeverity.Warning] = localize(1752, "Warnings");
|
|
32
|
+
_displayStringsPlural[MarkerSeverity.Info] = localize(1753, "Infos");
|
|
33
33
|
function toStringPlural(a) {
|
|
34
34
|
return _displayStringsPlural[a] || '';
|
|
35
35
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DisposableStore } from '../../../base/common/lifecycle.js';
|
|
2
2
|
import '../../../base/common/observableInternal/index.js';
|
|
3
3
|
import { DebugLocation } from '../../../base/common/observableInternal/debugLocation.js';
|
|
4
|
-
import { observableFromEventOpts } from '../../../base/common/observableInternal/observables/observableFromEvent.js';
|
|
5
4
|
import { derivedOpts } from '../../../base/common/observableInternal/observables/derived.js';
|
|
5
|
+
import { observableFromEventOpts } from '../../../base/common/observableInternal/observables/observableFromEvent.js';
|
|
6
6
|
|
|
7
7
|
/*---------------------------------------------------------------------------------------------
|
|
8
8
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -171,22 +171,22 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
171
171
|
const isInHistory = !!this.commandsHistory.peek(commandPick.commandId);
|
|
172
172
|
// Separator: recently used
|
|
173
173
|
if (i === 0 && isInHistory) {
|
|
174
|
-
commandPicks.push({ type: 'separator', label: localize(
|
|
174
|
+
commandPicks.push({ type: 'separator', label: localize(1756, "recently used") });
|
|
175
175
|
addOtherSeparator = true;
|
|
176
176
|
}
|
|
177
177
|
if (addSuggestedSeparator && commandPick.tfIdfScore !== undefined) {
|
|
178
|
-
commandPicks.push({ type: 'separator', label: localize(
|
|
178
|
+
commandPicks.push({ type: 'separator', label: localize(1757, "similar commands") });
|
|
179
179
|
addSuggestedSeparator = false;
|
|
180
180
|
}
|
|
181
181
|
// Separator: commonly used
|
|
182
182
|
if (addCommonlyUsedSeparator && commandPick.tfIdfScore === undefined && !isInHistory && this.options.suggestedCommandIds?.has(commandPick.commandId)) {
|
|
183
|
-
commandPicks.push({ type: 'separator', label: localize(
|
|
183
|
+
commandPicks.push({ type: 'separator', label: localize(1758, "commonly used") });
|
|
184
184
|
addOtherSeparator = true;
|
|
185
185
|
addCommonlyUsedSeparator = false;
|
|
186
186
|
}
|
|
187
187
|
// Separator: other commands
|
|
188
188
|
if (addOtherSeparator && commandPick.tfIdfScore === undefined && !isInHistory && !this.options.suggestedCommandIds?.has(commandPick.commandId)) {
|
|
189
|
-
commandPicks.push({ type: 'separator', label: localize(
|
|
189
|
+
commandPicks.push({ type: 'separator', label: localize(1759, "other commands") });
|
|
190
190
|
addOtherSeparator = false;
|
|
191
191
|
}
|
|
192
192
|
// Command
|
|
@@ -206,7 +206,7 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
206
206
|
// Basically, if we haven't already added a separator, we add one before the additional picks so long
|
|
207
207
|
// as one hasn't been added to the start of the array.
|
|
208
208
|
if (addSuggestedSeparator && commandPicks[0]?.type !== 'separator') {
|
|
209
|
-
commandPicks.unshift({ type: 'separator', label: localize(
|
|
209
|
+
commandPicks.unshift({ type: 'separator', label: localize(1760, "similar commands") });
|
|
210
210
|
}
|
|
211
211
|
return commandPicks;
|
|
212
212
|
})()
|
|
@@ -220,7 +220,7 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
220
220
|
?? commandPick.commandDescription?.value;
|
|
221
221
|
const keybinding = this.keybindingService.lookupKeybinding(commandPick.commandId);
|
|
222
222
|
const ariaLabel = keybinding ?
|
|
223
|
-
localize(
|
|
223
|
+
localize(1761, "{0}, {1}", commandPick.label, keybinding.getAriaLabel()) :
|
|
224
224
|
commandPick.label;
|
|
225
225
|
// Add remove button for recently used items (as the last button, to the right)
|
|
226
226
|
const existingButtons = commandPick.buttons || [];
|
|
@@ -228,7 +228,7 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
228
228
|
...existingButtons,
|
|
229
229
|
{
|
|
230
230
|
iconClass: ThemeIcon.asClassName(Codicon.close),
|
|
231
|
-
tooltip: localize(
|
|
231
|
+
tooltip: localize(1762, "Remove from Recently Used")
|
|
232
232
|
}
|
|
233
233
|
] : commandPick.buttons;
|
|
234
234
|
return {
|
|
@@ -254,7 +254,7 @@ let AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
254
254
|
}
|
|
255
255
|
catch (error) {
|
|
256
256
|
if (!isCancellationError(error)) {
|
|
257
|
-
this.dialogService.error(localize(
|
|
257
|
+
this.dialogService.error(localize(1763, "Command '{0}' resulted in an error", commandPick.label), toErrorMessage(error));
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
260
|
},
|
|
@@ -65,7 +65,7 @@ let HelpQuickAccessProvider = class HelpQuickAccessProvider {
|
|
|
65
65
|
prefix,
|
|
66
66
|
label,
|
|
67
67
|
keybinding: helpEntry.commandId ? this.keybindingService.lookupKeybinding(helpEntry.commandId) : undefined,
|
|
68
|
-
ariaLabel: localize(
|
|
68
|
+
ariaLabel: localize(1764, "{0}, {1}", label, helpEntry.description),
|
|
69
69
|
description: helpEntry.description
|
|
70
70
|
};
|
|
71
71
|
});
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
z-index: 2550;
|
|
10
10
|
left: 50%;
|
|
11
11
|
-webkit-app-region: no-drag;
|
|
12
|
-
border-radius:
|
|
12
|
+
border-radius: 8px;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.quick-input-titlebar {
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
.quick-input-header {
|
|
90
90
|
cursor: grab;
|
|
91
91
|
display: flex;
|
|
92
|
-
padding: 6px 6px
|
|
92
|
+
padding: 6px 6px 4px 6px;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
.quick-input-widget.hidden-input .quick-input-header {
|
|
@@ -155,14 +155,6 @@
|
|
|
155
155
|
margin-left: 6px;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
.quick-input-action .monaco-text-button {
|
|
159
|
-
font-size: 11px;
|
|
160
|
-
padding: 0 6px;
|
|
161
|
-
display: flex;
|
|
162
|
-
height: 25px;
|
|
163
|
-
align-items: center;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
158
|
.quick-input-message {
|
|
167
159
|
margin-top: -1px;
|
|
168
160
|
padding: 5px;
|
|
@@ -196,7 +188,7 @@
|
|
|
196
188
|
.quick-input-list .monaco-list {
|
|
197
189
|
overflow: hidden;
|
|
198
190
|
max-height: calc(20 * 22px);
|
|
199
|
-
padding-bottom:
|
|
191
|
+
padding-bottom: 7px;
|
|
200
192
|
}
|
|
201
193
|
|
|
202
194
|
.quick-input-list .monaco-scrollable-element {
|
|
@@ -32,20 +32,20 @@ var __param = (undefined && undefined.__param) || function (paramIndex, decorato
|
|
|
32
32
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
33
33
|
};
|
|
34
34
|
const inQuickInputContextKeyValue = 'inQuickInput';
|
|
35
|
-
const InQuickInputContextKey = new RawContextKey(inQuickInputContextKeyValue, false, localize(
|
|
35
|
+
const InQuickInputContextKey = new RawContextKey(inQuickInputContextKeyValue, false, localize(1765, "Whether keyboard focus is inside the quick input control"));
|
|
36
36
|
const inQuickInputContext = ContextKeyExpr.has(inQuickInputContextKeyValue);
|
|
37
37
|
const quickInputAlignmentContextKeyValue = 'quickInputAlignment';
|
|
38
|
-
const QuickInputAlignmentContextKey = new RawContextKey(quickInputAlignmentContextKeyValue, 'top', localize(
|
|
38
|
+
const QuickInputAlignmentContextKey = new RawContextKey(quickInputAlignmentContextKeyValue, 'top', localize(1766, "The alignment of the quick input"));
|
|
39
39
|
const quickInputTypeContextKeyValue = 'quickInputType';
|
|
40
|
-
const QuickInputTypeContextKey = new RawContextKey(quickInputTypeContextKeyValue, undefined, localize(
|
|
40
|
+
const QuickInputTypeContextKey = new RawContextKey(quickInputTypeContextKeyValue, undefined, localize(1767, "The type of the currently visible quick input"));
|
|
41
41
|
const endOfQuickInputBoxContextKeyValue = 'cursorAtEndOfQuickInputBox';
|
|
42
|
-
const EndOfQuickInputBoxContextKey = new RawContextKey(endOfQuickInputBoxContextKeyValue, false, localize(
|
|
42
|
+
const EndOfQuickInputBoxContextKey = new RawContextKey(endOfQuickInputBoxContextKeyValue, false, localize(1768, "Whether the cursor in the quick input is at the end of the input box"));
|
|
43
43
|
const endOfQuickInputBoxContext = ContextKeyExpr.has(endOfQuickInputBoxContextKeyValue);
|
|
44
44
|
const backButton = {
|
|
45
45
|
iconClass: ThemeIcon.asClassName(Codicon.quickInputBack),
|
|
46
|
-
tooltip: localize(
|
|
46
|
+
tooltip: localize(1769, "Back")};
|
|
47
47
|
class QuickInput extends Disposable {
|
|
48
|
-
static { this.noPromptMessage = localize(
|
|
48
|
+
static { this.noPromptMessage = localize(1770, "Press 'Enter' to confirm your input or 'Escape' to cancel"); }
|
|
49
49
|
constructor(ui) {
|
|
50
50
|
super();
|
|
51
51
|
this.ui = ui;
|
|
@@ -309,7 +309,7 @@ class QuickInput extends Disposable {
|
|
|
309
309
|
}
|
|
310
310
|
getSteps() {
|
|
311
311
|
if (this.step && this.totalSteps) {
|
|
312
|
-
return localize(
|
|
312
|
+
return localize(1771, "{0}/{1}", this.step, this.totalSteps);
|
|
313
313
|
}
|
|
314
314
|
if (this.step) {
|
|
315
315
|
return String(this.step);
|
|
@@ -339,7 +339,7 @@ class QuickInput extends Disposable {
|
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
341
|
class QuickPick extends QuickInput {
|
|
342
|
-
static { this.DEFAULT_ARIA_LABEL = localize(
|
|
342
|
+
static { this.DEFAULT_ARIA_LABEL = localize(1772, "Type to narrow down results."); }
|
|
343
343
|
constructor(ui) {
|
|
344
344
|
super(ui);
|
|
345
345
|
this._value = '';
|
|
@@ -581,7 +581,7 @@ class QuickPick extends QuickInput {
|
|
|
581
581
|
this.update();
|
|
582
582
|
}
|
|
583
583
|
get okLabel() {
|
|
584
|
-
return this._okLabel ?? localize(
|
|
584
|
+
return this._okLabel ?? localize(1773, "OK");
|
|
585
585
|
}
|
|
586
586
|
set okLabel(okLabel) {
|
|
587
587
|
this._okLabel = okLabel;
|
|
@@ -928,7 +928,7 @@ class InputBox extends QuickInput {
|
|
|
928
928
|
set prompt(prompt) {
|
|
929
929
|
this._prompt = prompt;
|
|
930
930
|
this.noValidationMessage = prompt
|
|
931
|
-
? localize(
|
|
931
|
+
? localize(1774, "{0} (Press 'Enter' to confirm or 'Escape' to cancel)", prompt)
|
|
932
932
|
: QuickInput.noPromptMessage;
|
|
933
933
|
this.update();
|
|
934
934
|
}
|
|
@@ -14,7 +14,7 @@ function registerQuickInputCommandAndKeybindingRule(rule, options = {}) {
|
|
|
14
14
|
KeybindingsRegistry.registerCommandAndKeybindingRule({
|
|
15
15
|
weight: 200 /* KeybindingWeight.WorkbenchContrib */,
|
|
16
16
|
when: inQuickInputContext,
|
|
17
|
-
metadata: { description: localize(
|
|
17
|
+
metadata: { description: localize(1775, "Used while in the context of any kind of quick input. If you change one keybinding for this command, you should change all of the other keybindings (modifier variants) of this command as well.") },
|
|
18
18
|
...rule,
|
|
19
19
|
secondary: getSecondary(rule.primary, rule.secondary ?? [], options)
|
|
20
20
|
});
|
|
@@ -25,7 +25,7 @@ function registerQuickPickCommandAndKeybindingRule(rule, options = {}) {
|
|
|
25
25
|
when: ContextKeyExpr.and(ContextKeyExpr.or(
|
|
26
26
|
// Only things that use Tree widgets
|
|
27
27
|
ContextKeyExpr.equals(quickInputTypeContextKeyValue, "quickPick" /* QuickInputType.QuickPick */), ContextKeyExpr.equals(quickInputTypeContextKeyValue, "quickTree" /* QuickInputType.QuickTree */)), inQuickInputContext),
|
|
28
|
-
metadata: { description: localize(
|
|
28
|
+
metadata: { description: localize(1776, "Used while in the context of the quick pick. If you change one keybinding for this command, you should change all of the other keybindings (modifier variants) of this command as well.") },
|
|
29
29
|
...rule,
|
|
30
30
|
secondary: getSecondary(rule.primary, rule.secondary ?? [], options)
|
|
31
31
|
});
|
|
@@ -80,8 +80,8 @@ registerQuickPickCommandAndKeybindingRule({ id: 'quickInput.previous', primary:
|
|
|
80
80
|
// In this case, we want that modifier key+up/down to navigate to the next/previous item, not the next/previous separator.
|
|
81
81
|
// To handle this, we have a separate command for navigating to the next/previous separator when we are not in quick access mode.
|
|
82
82
|
// If, however, we are in quick access mode, and you hold down an additional modifier key, we will navigate to the next/previous separator.
|
|
83
|
-
const nextSeparatorFallbackDesc = localize(
|
|
84
|
-
const prevSeparatorFallbackDesc = localize(
|
|
83
|
+
const nextSeparatorFallbackDesc = localize(1777, "If we're in quick access mode, this will navigate to the next item. If we are not in quick access mode, this will navigate to the next separator.");
|
|
84
|
+
const prevSeparatorFallbackDesc = localize(1778, "If we're in quick access mode, this will navigate to the previous item. If we are not in quick access mode, this will navigate to the previous separator.");
|
|
85
85
|
if (isMacintosh) {
|
|
86
86
|
registerQuickPickCommandAndKeybindingRule({
|
|
87
87
|
id: 'quickInput.nextSeparatorWithQuickAccessFallback',
|
|
@@ -146,7 +146,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
|
|
|
146
146
|
// All other kinds of Quick things handle Accept, except Widget. In other words, Accepting is a detail on the things
|
|
147
147
|
// that extend IQuickInput
|
|
148
148
|
ContextKeyExpr.notEquals(quickInputTypeContextKeyValue, "quickWidget" /* QuickInputType.QuickWidget */), inQuickInputContext, ContextKeyExpr.not('isComposing')),
|
|
149
|
-
metadata: { description: localize(
|
|
149
|
+
metadata: { description: localize(1779, "Used while in the context of some quick input. If you change one keybinding for this command, you should change all of the other keybindings (modifier variants) of this command as well.") },
|
|
150
150
|
handler: (accessor) => {
|
|
151
151
|
const currentQuickPick = accessor.get(IQuickInputService).currentQuickInput;
|
|
152
152
|
currentQuickPick?.accept();
|
|
@@ -134,7 +134,7 @@ let QuickInputController = class QuickInputController extends Disposable {
|
|
|
134
134
|
}));
|
|
135
135
|
rightActionBar.getElement().classList.add('quick-input-right-action-bar');
|
|
136
136
|
const headerContainer = append(container, $('.quick-input-header'));
|
|
137
|
-
const checkAll = this._register(new TriStateCheckbox(localize(
|
|
137
|
+
const checkAll = this._register(new TriStateCheckbox(localize(1780, "Toggle all checkboxes"), false, { ...defaultCheckboxStyles, size: 15 }));
|
|
138
138
|
append(headerContainer, checkAll.domNode);
|
|
139
139
|
this._register(checkAll.onChange(() => {
|
|
140
140
|
const checked = checkAll.checked;
|
|
@@ -153,10 +153,10 @@ let QuickInputController = class QuickInputController extends Disposable {
|
|
|
153
153
|
const visibleCountContainer = append(filterContainer, $('.quick-input-visible-count'));
|
|
154
154
|
visibleCountContainer.setAttribute('aria-live', 'polite');
|
|
155
155
|
visibleCountContainer.setAttribute('aria-atomic', 'true');
|
|
156
|
-
const visibleCount = this._register(new CountBadge(visibleCountContainer, { countFormat: localize(
|
|
156
|
+
const visibleCount = this._register(new CountBadge(visibleCountContainer, { countFormat: localize(1781, "{0} Results") }, this.styles.countBadge));
|
|
157
157
|
const countContainer = append(filterContainer, $('.quick-input-count'));
|
|
158
158
|
countContainer.setAttribute('aria-live', 'polite');
|
|
159
|
-
const count = this._register(new CountBadge(countContainer, { countFormat: localize(
|
|
159
|
+
const count = this._register(new CountBadge(countContainer, { countFormat: localize(1782, "{0} Selected") }, this.styles.countBadge));
|
|
160
160
|
const inlineActionBar = this._register(new ToolBar(headerContainer, this.contextMenuService, {
|
|
161
161
|
hoverDelegate: this.options.hoverDelegate,
|
|
162
162
|
actionViewItemProvider: createToggleActionViewItemProvider(this.styles.toggle),
|
|
@@ -166,13 +166,13 @@ let QuickInputController = class QuickInputController extends Disposable {
|
|
|
166
166
|
inlineActionBar.getElement().classList.add('quick-input-inline-action-bar');
|
|
167
167
|
const okContainer = append(headerContainer, $('.quick-input-action'));
|
|
168
168
|
const ok = this._register(new Button(okContainer, this.styles.button));
|
|
169
|
-
ok.label = localize(
|
|
169
|
+
ok.label = localize(1783, "OK");
|
|
170
170
|
this._register(ok.onDidClick(e => {
|
|
171
171
|
this.onDidAcceptEmitter.fire();
|
|
172
172
|
}));
|
|
173
173
|
const customButtonContainer = append(headerContainer, $('.quick-input-action'));
|
|
174
174
|
const customButton = this._register(new Button(customButtonContainer, { ...this.styles.button, supportIcons: true }));
|
|
175
|
-
customButton.label = localize(
|
|
175
|
+
customButton.label = localize(1784, "Custom");
|
|
176
176
|
this._register(customButton.onDidClick(e => {
|
|
177
177
|
this.onDidCustomEmitter.fire();
|
|
178
178
|
}));
|
|
@@ -611,7 +611,7 @@ let QuickInputController = class QuickInputController extends Disposable {
|
|
|
611
611
|
ui.inputBox.toggles = undefined;
|
|
612
612
|
ui.inputBox.actions = undefined;
|
|
613
613
|
const backKeybindingLabel = this.options.backKeybindingLabel();
|
|
614
|
-
backButton.tooltip = backKeybindingLabel ? localize(
|
|
614
|
+
backButton.tooltip = backKeybindingLabel ? localize(1785, "Back ({0})", backKeybindingLabel) : localize(1786, "Back");
|
|
615
615
|
ui.container.style.display = '';
|
|
616
616
|
this.updateLayout();
|
|
617
617
|
this.dndController?.layoutContainer();
|
|
@@ -210,7 +210,7 @@ class QuickInputItemDelegate {
|
|
|
210
210
|
}
|
|
211
211
|
class QuickInputAccessibilityProvider {
|
|
212
212
|
getWidgetAriaLabel() {
|
|
213
|
-
return localize(
|
|
213
|
+
return localize(1787, "Quick Input");
|
|
214
214
|
}
|
|
215
215
|
getAriaLabel(element) {
|
|
216
216
|
return element.separator?.label
|
|
@@ -108,7 +108,7 @@ function renderQuickInputDescription(description, container, actionHandler) {
|
|
|
108
108
|
else {
|
|
109
109
|
let title = node.title;
|
|
110
110
|
if (!title && node.href.startsWith('command:')) {
|
|
111
|
-
title = localize(
|
|
111
|
+
title = localize(1788, "Click to execute command '{0}'", node.href.substring('command:'.length));
|
|
112
112
|
}
|
|
113
113
|
else if (!title) {
|
|
114
114
|
title = node.href;
|