monaco-editor 0.55.0-dev-20251021 → 0.55.0-dev-20251023
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-BdF74HVr.js → css.worker-NMIwoVcI.js} +58 -56
- package/dev/vs/assets/{editor.worker-Ci2aWZp5.js → editor.worker-CpHPGSaC.js} +58 -56
- package/dev/vs/assets/{html.worker-PHv_zBMJ.js → html.worker-CJwOblVk.js} +58 -56
- package/dev/vs/assets/{json.worker-Bu5ZSywK.js → json.worker---YES6JU.js} +58 -56
- package/dev/vs/assets/{ts.worker-DvEf1R_D.js → ts.worker-BxhKXBro.js} +58 -56
- package/dev/vs/basic-languages/monaco.contribution.js +18 -18
- package/dev/vs/{cssMode-Bwd5iTwO.js → cssMode-cXJ8gyKe.js} +2 -2
- package/dev/vs/editor/editor.main.css +3 -4
- package/dev/vs/editor/editor.main.js +6 -6
- package/dev/vs/{editor.api-DtdJriTE.js → editor.api-CdoClrvx.js} +2168 -1980
- package/dev/vs/{freemarker2-vzq7IT1V.js → freemarker2-D1BvxmSs.js} +1 -1
- package/dev/vs/{handlebars-voSBoDYq.js → handlebars-CHKYctoc.js} +1 -1
- package/dev/vs/{html-DgBvMxaw.js → html-DgZcKUc-.js} +1 -1
- package/dev/vs/{htmlMode-B73e0LQu.js → htmlMode-Ch7L6u-y.js} +2 -2
- package/dev/vs/{javascript-B456O1TJ.js → javascript-CWLsKmY1.js} +1 -1
- package/dev/vs/{jsonMode-0j9Sufcy.js → jsonMode-CApM0krZ.js} +2 -2
- package/dev/vs/language/css/monaco.contribution.js +1 -1
- package/dev/vs/language/html/monaco.contribution.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/{liquid-DtsObjyU.js → liquid-B6QJ6irB.js} +1 -1
- package/dev/vs/{lspLanguageFeatures-BOGx43ac.js → lspLanguageFeatures-DfUc0Lrg.js} +1 -1
- package/dev/vs/{mdx-CpdAOlbp.js → mdx-Ds_zUDEw.js} +1 -1
- package/dev/vs/{monaco.contribution-CLECD6oi.js → monaco.contribution-DESEZj1f.js} +2 -2
- package/dev/vs/{monaco.contribution-DgD6w475.js → monaco.contribution-Dc0lLkZu.js} +2 -2
- package/dev/vs/{monaco.contribution-96LxvCLa.js → monaco.contribution-umnmzgnj.js} +2 -2
- package/dev/vs/{monaco.contribution-BNV_Bhhz.js → monaco.contribution-vu4wFS0D.js} +2 -2
- package/dev/vs/nls.messages.cs.js +2 -2
- package/dev/vs/nls.messages.de.js +2 -2
- package/dev/vs/nls.messages.es.js +2 -2
- package/dev/vs/nls.messages.fr.js +2 -2
- package/dev/vs/nls.messages.it.js +2 -2
- package/dev/vs/nls.messages.ja.js +2 -2
- package/dev/vs/nls.messages.ko.js +2 -2
- package/dev/vs/nls.messages.pl.js +2 -2
- package/dev/vs/nls.messages.pt-br.js +2 -2
- package/dev/vs/nls.messages.ru.js +2 -2
- package/dev/vs/nls.messages.tr.js +2 -2
- package/dev/vs/nls.messages.zh-cn.js +2 -2
- package/dev/vs/nls.messages.zh-tw.js +2 -2
- package/dev/vs/{python-Bdcmm8So.js → python-Nrpn6A1J.js} +1 -1
- package/dev/vs/{razor-C2m7Vs0-.js → razor-B2ImJE6F.js} +1 -1
- package/dev/vs/{tsMode-qQDYDzQT.js → tsMode-BhTm4uDt.js} +2 -2
- package/dev/vs/{typescript-BoBnM-0b.js → typescript-B9ux4RRE.js} +1 -1
- package/dev/vs/{workers-B1DA8fIt.js → workers-BfrkJl-T.js} +1 -1
- package/dev/vs/{xml-DmpITxBR.js → xml-C1mbK085.js} +1 -1
- package/dev/vs/{yaml-Pd4qqIOC.js → yaml-CZjv-4l5.js} +1 -1
- package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/esm/vs/base/browser/ui/iconLabel/iconlabel.css +2 -3
- package/esm/vs/base/browser/ui/list/listPaging.js +5 -1
- package/esm/vs/base/browser/ui/list/listView.js +4 -3
- package/esm/vs/base/common/arrays.js +11 -1
- package/esm/vs/base/common/codiconsLibrary.js +1 -0
- package/esm/vs/base/common/platform.js +1 -0
- package/esm/vs/base/common/validation.js +159 -0
- package/esm/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +1 -1
- package/esm/vs/editor/browser/controller/editContext/screenReaderUtils.js +4 -4
- package/esm/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- package/esm/vs/editor/browser/coreCommands.js +3 -3
- package/esm/vs/editor/browser/editorExtensions.js +9 -9
- package/esm/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/esm/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
- package/esm/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
- package/esm/vs/editor/browser/services/inlineCompletionsService.js +4 -4
- package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/esm/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +14 -14
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/copySelection.js +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
- package/esm/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/esm/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/esm/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/esm/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/esm/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/esm/vs/editor/common/config/editorConfigurationSchema.js +54 -54
- package/esm/vs/editor/common/config/editorOptions.js +406 -406
- package/esm/vs/editor/common/core/editorColorRegistry.js +68 -68
- package/esm/vs/editor/common/editorContextKeys.js +46 -46
- package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
- package/esm/vs/editor/common/languages.js +66 -56
- package/esm/vs/editor/common/model/editStack.js +1 -1
- package/esm/vs/editor/common/model/tokens/treeSitter/treeSitterSyntaxTokenBackend.js +1 -1
- package/esm/vs/editor/common/standaloneStrings.js +10 -10
- package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- 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/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 +39 -39
- 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/hoverActionIds.js +2 -2
- package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- 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 +64 -53
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/esm/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +2 -4
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +11 -12
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +4 -4
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.js +3 -0
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +5 -5
- 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 +35 -28
- 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.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 +8 -8
- package/esm/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- 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 +1 -1
- package/esm/vs/editor/standalone/browser/standaloneTreeSitterLibraryService.js +2 -12
- 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 +7 -7
- package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- 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/keybinding/common/abstractKeybindingService.js +4 -4
- 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/quickinput/browser/commandsQuickAccess.js +19 -9
- package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
- 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 +2 -2
- package/esm/vs/platform/theme/common/colorUtils.js +2 -2
- package/esm/vs/platform/theme/common/colors/baseColors.js +17 -17
- 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 +15 -15
- 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/workspace/common/workspace.js +1 -1
- package/min/vs/assets/{css.worker-DpW7RrDt.js → css.worker-pjKnE9PO.js} +11 -11
- package/min/vs/assets/editor.worker-Lsh72huT.js +26 -0
- package/min/vs/assets/{html.worker-zYFVFHK_.js → html.worker-Hd4kOUqi.js} +13 -13
- package/min/vs/assets/{json.worker-BCgqF_m2.js → json.worker-DwDECz88.js} +16 -16
- package/min/vs/assets/{ts.worker-CQxe4KB6.js → ts.worker-CC3N4GQG.js} +45 -45
- package/min/vs/basic-languages/monaco.contribution.js +1 -1
- package/min/vs/{cssMode-CvaUVk1W.js → cssMode-CKacjhtz.js} +1 -1
- package/min/vs/editor/editor.main.css +1 -1
- package/min/vs/editor/editor.main.js +3 -3
- package/min/vs/{editor.api-DGkWFOQA.js → editor.api-tSFS3aVw.js} +163 -163
- package/min/vs/{freemarker2-B_vQOikd.js → freemarker2-C8BJNTRl.js} +1 -1
- package/min/vs/{handlebars-DqjIuZnJ.js → handlebars-BNJWbdv5.js} +1 -1
- package/min/vs/{html-DAxAlcjQ.js → html-B1iAfOh7.js} +1 -1
- package/min/vs/{htmlMode-C37mDTXf.js → htmlMode-Q5EfD3Ez.js} +1 -1
- package/min/vs/{javascript-CmHtjIt-.js → javascript-jZ-GdPfQ.js} +1 -1
- package/min/vs/{jsonMode-D1uvcOsy.js → jsonMode-B9MdKN8a.js} +2 -2
- package/min/vs/language/css/monaco.contribution.js +1 -1
- package/min/vs/language/html/monaco.contribution.js +1 -1
- package/min/vs/language/json/monaco.contribution.js +1 -1
- package/min/vs/language/typescript/monaco.contribution.js +1 -1
- package/min/vs/{liquid-CQBeFlV7.js → liquid-BISP2XeK.js} +1 -1
- package/min/vs/{lspLanguageFeatures-DTAub2tJ.js → lspLanguageFeatures-B2J91l4Y.js} +1 -1
- package/min/vs/{mdx-BFnE9qyd.js → mdx-D2jzxCCc.js} +1 -1
- package/min/vs/{monaco.contribution-DBV8hY3j.js → monaco.contribution-CGr0R2fk.js} +1 -1
- package/min/vs/{monaco.contribution-D4gtmCUd.js → monaco.contribution-CYn58r8E.js} +1 -1
- package/min/vs/{monaco.contribution-bCyc25XC.js → monaco.contribution-D63-Ljq8.js} +1 -1
- package/min/vs/{monaco.contribution-Ba-90VRW.js → monaco.contribution-DaT2Ac52.js} +1 -1
- package/min/vs/nls.messages.cs.js +3 -3
- package/min/vs/nls.messages.de.js +3 -3
- package/min/vs/nls.messages.es.js +3 -3
- package/min/vs/nls.messages.fr.js +3 -3
- package/min/vs/nls.messages.it.js +3 -3
- package/min/vs/nls.messages.ja.js +3 -3
- package/min/vs/nls.messages.ko.js +3 -3
- package/min/vs/nls.messages.pl.js +3 -3
- package/min/vs/nls.messages.pt-br.js +2 -2
- package/min/vs/nls.messages.ru.js +3 -3
- package/min/vs/nls.messages.tr.js +3 -3
- package/min/vs/nls.messages.zh-cn.js +3 -3
- package/min/vs/nls.messages.zh-tw.js +3 -3
- package/min/vs/{python-BX875IYK.js → python-Dour27GQ.js} +1 -1
- package/min/vs/{razor-BBB6Wn5s.js → razor-DDTVtkIA.js} +1 -1
- package/min/vs/{tsMode-DYyNPclY.js → tsMode-mWcy0zc7.js} +5 -5
- package/min/vs/{typescript-AvfgkAyn.js → typescript-Cdajv1FR.js} +1 -1
- package/min/vs/{workers-DnTKLxL6.js → workers-D8PfwPU9.js} +1 -1
- package/min/vs/{xml-BVhc_vbm.js → xml-DY6dmZcI.js} +1 -1
- package/min/vs/{yaml-a9dM1cQx.js → yaml-vDETgr7p.js} +1 -1
- package/package.json +5 -5
- package/min/vs/assets/editor.worker-BvjSTWxN.js +0 -26
|
@@ -22,14 +22,14 @@ import { historyNavigationVisible } from '../../../../platform/history/browser/c
|
|
|
22
22
|
*--------------------------------------------------------------------------------------------*/
|
|
23
23
|
const Context = {
|
|
24
24
|
Visible: historyNavigationVisible,
|
|
25
|
-
HasFocusedSuggestion: new RawContextKey('suggestWidgetHasFocusedSuggestion', false, localize(
|
|
26
|
-
DetailsVisible: new RawContextKey('suggestWidgetDetailsVisible', false, localize(
|
|
27
|
-
MultipleSuggestions: new RawContextKey('suggestWidgetMultipleSuggestions', false, localize(
|
|
28
|
-
MakesTextEdit: new RawContextKey('suggestionMakesTextEdit', true, localize(
|
|
29
|
-
AcceptSuggestionsOnEnter: new RawContextKey('acceptSuggestionOnEnter', true, localize(
|
|
30
|
-
HasInsertAndReplaceRange: new RawContextKey('suggestionHasInsertAndReplaceRange', false, localize(
|
|
31
|
-
InsertMode: new RawContextKey('suggestionInsertMode', undefined, { type: 'string', description: localize(
|
|
32
|
-
CanResolve: new RawContextKey('suggestionCanResolve', false, localize(
|
|
25
|
+
HasFocusedSuggestion: new RawContextKey('suggestWidgetHasFocusedSuggestion', false, localize(1451, "Whether any suggestion is focused")),
|
|
26
|
+
DetailsVisible: new RawContextKey('suggestWidgetDetailsVisible', false, localize(1452, "Whether suggestion details are visible")),
|
|
27
|
+
MultipleSuggestions: new RawContextKey('suggestWidgetMultipleSuggestions', false, localize(1453, "Whether there are multiple suggestions to pick from")),
|
|
28
|
+
MakesTextEdit: new RawContextKey('suggestionMakesTextEdit', true, localize(1454, "Whether inserting the current suggestion yields in a change or has everything already been typed")),
|
|
29
|
+
AcceptSuggestionsOnEnter: new RawContextKey('acceptSuggestionOnEnter', true, localize(1455, "Whether suggestions are inserted when pressing Enter")),
|
|
30
|
+
HasInsertAndReplaceRange: new RawContextKey('suggestionHasInsertAndReplaceRange', false, localize(1456, "Whether the current suggestion has insert and replace behaviour")),
|
|
31
|
+
InsertMode: new RawContextKey('suggestionInsertMode', undefined, { type: 'string', description: localize(1457, "Whether the default behaviour is to insert or replace") }),
|
|
32
|
+
CanResolve: new RawContextKey('suggestionCanResolve', false, localize(1458, "Whether the current suggestion supports to resolve further details")),
|
|
33
33
|
};
|
|
34
34
|
const suggestWidgetStatusbarMenu = new MenuId('suggestWidgetStatusBar');
|
|
35
35
|
class CompletionItem {
|
|
@@ -481,7 +481,7 @@ let SuggestController = class SuggestController {
|
|
|
481
481
|
}
|
|
482
482
|
_alertCompletionItem(item) {
|
|
483
483
|
if (isNonEmptyArray(item.completion.additionalTextEdits)) {
|
|
484
|
-
const msg = localize(
|
|
484
|
+
const msg = localize(1459, "Accepting '{0}' made {1} additional edits", item.textLabel, item.completion.additionalTextEdits.length);
|
|
485
485
|
alert(msg);
|
|
486
486
|
}
|
|
487
487
|
}
|
|
@@ -667,7 +667,7 @@ class TriggerSuggestAction extends EditorAction {
|
|
|
667
667
|
constructor() {
|
|
668
668
|
super({
|
|
669
669
|
id: TriggerSuggestAction.id,
|
|
670
|
-
label: localize2(
|
|
670
|
+
label: localize2(1467, "Trigger Suggest"),
|
|
671
671
|
precondition: ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.hasCompletionItemProvider, Context.Visible.toNegated()),
|
|
672
672
|
kbOpts: {
|
|
673
673
|
kbExpr: EditorContextKeys.textInputFocus,
|
|
@@ -715,19 +715,19 @@ registerEditorCommand(new SuggestCommand({
|
|
|
715
715
|
}],
|
|
716
716
|
menuOpts: [{
|
|
717
717
|
menuId: suggestWidgetStatusbarMenu,
|
|
718
|
-
title: localize(
|
|
718
|
+
title: localize(1460, "Insert"),
|
|
719
719
|
group: 'left',
|
|
720
720
|
order: 1,
|
|
721
721
|
when: Context.HasInsertAndReplaceRange.toNegated()
|
|
722
722
|
}, {
|
|
723
723
|
menuId: suggestWidgetStatusbarMenu,
|
|
724
|
-
title: localize(
|
|
724
|
+
title: localize(1461, "Insert"),
|
|
725
725
|
group: 'left',
|
|
726
726
|
order: 1,
|
|
727
727
|
when: ContextKeyExpr.and(Context.HasInsertAndReplaceRange, Context.InsertMode.isEqualTo('insert'))
|
|
728
728
|
}, {
|
|
729
729
|
menuId: suggestWidgetStatusbarMenu,
|
|
730
|
-
title: localize(
|
|
730
|
+
title: localize(1462, "Replace"),
|
|
731
731
|
group: 'left',
|
|
732
732
|
order: 1,
|
|
733
733
|
when: ContextKeyExpr.and(Context.HasInsertAndReplaceRange, Context.InsertMode.isEqualTo('replace'))
|
|
@@ -750,13 +750,13 @@ registerEditorCommand(new SuggestCommand({
|
|
|
750
750
|
group: 'left',
|
|
751
751
|
order: 2,
|
|
752
752
|
when: ContextKeyExpr.and(Context.HasInsertAndReplaceRange, Context.InsertMode.isEqualTo('insert')),
|
|
753
|
-
title: localize(
|
|
753
|
+
title: localize(1463, "Replace")
|
|
754
754
|
}, {
|
|
755
755
|
menuId: suggestWidgetStatusbarMenu,
|
|
756
756
|
group: 'left',
|
|
757
757
|
order: 2,
|
|
758
758
|
when: ContextKeyExpr.and(Context.HasInsertAndReplaceRange, Context.InsertMode.isEqualTo('replace')),
|
|
759
|
-
title: localize(
|
|
759
|
+
title: localize(1464, "Insert")
|
|
760
760
|
}]
|
|
761
761
|
}));
|
|
762
762
|
// continue to support the old command
|
|
@@ -864,13 +864,13 @@ registerEditorCommand(new SuggestCommand({
|
|
|
864
864
|
group: 'right',
|
|
865
865
|
order: 1,
|
|
866
866
|
when: ContextKeyExpr.and(Context.DetailsVisible, Context.CanResolve),
|
|
867
|
-
title: localize(
|
|
867
|
+
title: localize(1465, "Show Less")
|
|
868
868
|
}, {
|
|
869
869
|
menuId: suggestWidgetStatusbarMenu,
|
|
870
870
|
group: 'right',
|
|
871
871
|
order: 1,
|
|
872
872
|
when: ContextKeyExpr.and(Context.DetailsVisible.toNegated(), Context.CanResolve),
|
|
873
|
-
title: localize(
|
|
873
|
+
title: localize(1466, "Show More")
|
|
874
874
|
}]
|
|
875
875
|
}));
|
|
876
876
|
registerEditorCommand(new SuggestCommand({
|
|
@@ -929,7 +929,7 @@ registerEditorAction(class extends EditorAction {
|
|
|
929
929
|
constructor() {
|
|
930
930
|
super({
|
|
931
931
|
id: 'editor.action.resetSuggestSize',
|
|
932
|
-
label: localize2(
|
|
932
|
+
label: localize2(1468, "Reset Suggest Widget Size"),
|
|
933
933
|
precondition: undefined
|
|
934
934
|
});
|
|
935
935
|
}
|
|
@@ -54,15 +54,15 @@ var SuggestWidget_1;
|
|
|
54
54
|
/**
|
|
55
55
|
* Suggest widget colors
|
|
56
56
|
*/
|
|
57
|
-
registerColor('editorSuggestWidget.background', editorWidgetBackground, localize(
|
|
58
|
-
registerColor('editorSuggestWidget.border', editorWidgetBorder, localize(
|
|
59
|
-
const editorSuggestWidgetForeground = registerColor('editorSuggestWidget.foreground', editorForeground, localize(
|
|
60
|
-
registerColor('editorSuggestWidget.selectedForeground', quickInputListFocusForeground, localize(
|
|
61
|
-
registerColor('editorSuggestWidget.selectedIconForeground', quickInputListFocusIconForeground, localize(
|
|
62
|
-
const editorSuggestWidgetSelectedBackground = registerColor('editorSuggestWidget.selectedBackground', quickInputListFocusBackground, localize(
|
|
63
|
-
registerColor('editorSuggestWidget.highlightForeground', listHighlightForeground, localize(
|
|
64
|
-
registerColor('editorSuggestWidget.focusHighlightForeground', listFocusHighlightForeground, localize(
|
|
65
|
-
registerColor('editorSuggestWidgetStatus.foreground', transparent(editorSuggestWidgetForeground, .5), localize(
|
|
57
|
+
registerColor('editorSuggestWidget.background', editorWidgetBackground, localize(1469, 'Background color of the suggest widget.'));
|
|
58
|
+
registerColor('editorSuggestWidget.border', editorWidgetBorder, localize(1470, 'Border color of the suggest widget.'));
|
|
59
|
+
const editorSuggestWidgetForeground = registerColor('editorSuggestWidget.foreground', editorForeground, localize(1471, 'Foreground color of the suggest widget.'));
|
|
60
|
+
registerColor('editorSuggestWidget.selectedForeground', quickInputListFocusForeground, localize(1472, 'Foreground color of the selected entry in the suggest widget.'));
|
|
61
|
+
registerColor('editorSuggestWidget.selectedIconForeground', quickInputListFocusIconForeground, localize(1473, 'Icon foreground color of the selected entry in the suggest widget.'));
|
|
62
|
+
const editorSuggestWidgetSelectedBackground = registerColor('editorSuggestWidget.selectedBackground', quickInputListFocusBackground, localize(1474, 'Background color of the selected entry in the suggest widget.'));
|
|
63
|
+
registerColor('editorSuggestWidget.highlightForeground', listHighlightForeground, localize(1475, 'Color of the match highlights in the suggest widget.'));
|
|
64
|
+
registerColor('editorSuggestWidget.focusHighlightForeground', listFocusHighlightForeground, localize(1476, 'Color of the match highlights in the suggest widget when an item is focused.'));
|
|
65
|
+
registerColor('editorSuggestWidgetStatus.foreground', transparent(editorSuggestWidgetForeground, .5), localize(1477, 'Foreground color of the suggest widget status.'));
|
|
66
66
|
class PersistedWidgetSize {
|
|
67
67
|
constructor(_service, editor) {
|
|
68
68
|
this._service = _service;
|
|
@@ -90,8 +90,8 @@ class PersistedWidgetSize {
|
|
|
90
90
|
}
|
|
91
91
|
let SuggestWidget = class SuggestWidget {
|
|
92
92
|
static { SuggestWidget_1 = this; }
|
|
93
|
-
static { this.LOADING_MESSAGE = localize(
|
|
94
|
-
static { this.NO_SUGGESTIONS_MESSAGE = localize(
|
|
93
|
+
static { this.LOADING_MESSAGE = localize(1478, "Loading..."); }
|
|
94
|
+
static { this.NO_SUGGESTIONS_MESSAGE = localize(1479, "No suggestions."); }
|
|
95
95
|
constructor(editor, _storageService, _contextKeyService, _themeService, instantiationService) {
|
|
96
96
|
this.editor = editor;
|
|
97
97
|
this._storageService = _storageService;
|
|
@@ -178,7 +178,7 @@ let SuggestWidget = class SuggestWidget {
|
|
|
178
178
|
multipleSelectionSupport: false,
|
|
179
179
|
accessibilityProvider: {
|
|
180
180
|
getRole: () => isWindows ? 'listitem' : 'option',
|
|
181
|
-
getWidgetAriaLabel: () => localize(
|
|
181
|
+
getWidgetAriaLabel: () => localize(1480, "Suggest"),
|
|
182
182
|
getWidgetRole: () => 'listbox',
|
|
183
183
|
getAriaLabel: (item) => {
|
|
184
184
|
let label = item.textLabel;
|
|
@@ -186,24 +186,24 @@ let SuggestWidget = class SuggestWidget {
|
|
|
186
186
|
if (typeof item.completion.label !== 'string') {
|
|
187
187
|
const { detail, description } = item.completion.label;
|
|
188
188
|
if (detail && description) {
|
|
189
|
-
label = localize(
|
|
189
|
+
label = localize(1481, '{0} {1}, {2}, {3}', label, detail, description, kindLabel);
|
|
190
190
|
}
|
|
191
191
|
else if (detail) {
|
|
192
|
-
label = localize(
|
|
192
|
+
label = localize(1482, '{0} {1}, {2}', label, detail, kindLabel);
|
|
193
193
|
}
|
|
194
194
|
else if (description) {
|
|
195
|
-
label = localize(
|
|
195
|
+
label = localize(1483, '{0}, {1}, {2}', label, description, kindLabel);
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
else {
|
|
199
|
-
label = localize(
|
|
199
|
+
label = localize(1484, '{0}, {1}', label, kindLabel);
|
|
200
200
|
}
|
|
201
201
|
if (!item.isResolved || !this._isDetailsVisible()) {
|
|
202
202
|
return label;
|
|
203
203
|
}
|
|
204
204
|
const { documentation, detail } = item.completion;
|
|
205
205
|
const docs = format('{0}{1}', detail || '', documentation ? (typeof documentation === 'string' ? documentation : documentation.value) : '');
|
|
206
|
-
return localize(
|
|
206
|
+
return localize(1485, "{0}, docs: {1}", label, docs);
|
|
207
207
|
},
|
|
208
208
|
}
|
|
209
209
|
});
|
|
@@ -49,7 +49,7 @@ let SuggestDetailsWidget = class SuggestDetailsWidget {
|
|
|
49
49
|
this._disposables.add(this._scrollbar);
|
|
50
50
|
this._header = append(this._body, $('.header'));
|
|
51
51
|
this._close = append(this._header, $('span' + ThemeIcon.asCSSSelector(Codicon.close)));
|
|
52
|
-
this._close.title = localize(
|
|
52
|
+
this._close.title = localize(1486, "Close");
|
|
53
53
|
this._close.role = 'button';
|
|
54
54
|
this._close.tabIndex = -1;
|
|
55
55
|
this._type = append(this._header, $('p.type'));
|
|
@@ -95,7 +95,7 @@ let SuggestDetailsWidget = class SuggestDetailsWidget {
|
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
97
|
renderLoading() {
|
|
98
|
-
this._type.textContent = localize(
|
|
98
|
+
this._type.textContent = localize(1487, "Loading...");
|
|
99
99
|
this._docs.textContent = '';
|
|
100
100
|
this.domNode.classList.remove('no-docs', 'no-type');
|
|
101
101
|
this.layout(this.size.width, this.getLayoutInfo().lineHeight * 2);
|
|
@@ -29,7 +29,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
29
29
|
var __param = (undefined && undefined.__param) || function (paramIndex, decorator) {
|
|
30
30
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
31
31
|
};
|
|
32
|
-
const suggestMoreInfoIcon = registerIcon('suggest-more-info', Codicon.chevronRight, localize(
|
|
32
|
+
const suggestMoreInfoIcon = registerIcon('suggest-more-info', Codicon.chevronRight, localize(1488, 'Icon for more information in the suggest widget.'));
|
|
33
33
|
const _completionItemColor = new class ColorExtractor {
|
|
34
34
|
static { this._regexRelaxed = /(#([\da-fA-F]{3}){1,2}|(rgb|hsl)a\(\s*(\d{1,3}%?\s*,\s*){3}(1|0?\.\d+)\)|(rgb|hsl)\(\s*\d{1,3}%?(\s*,\s*\d{1,3}%?){2}\s*\))/; }
|
|
35
35
|
static { this._regexStrict = new RegExp(`^${ColorExtractor._regexRelaxed.source}$`, 'i'); }
|
|
@@ -85,7 +85,7 @@ let ItemRenderer = class ItemRenderer {
|
|
|
85
85
|
const qualifierLabel = append(left, $('span.qualifier-label'));
|
|
86
86
|
const detailsLabel = append(right, $('span.details-label'));
|
|
87
87
|
const readMore = append(right, $('span.readMore' + ThemeIcon.asCSSSelector(suggestMoreInfoIcon)));
|
|
88
|
-
readMore.title = localize(
|
|
88
|
+
readMore.title = localize(1489, "Read More");
|
|
89
89
|
const configureFont = () => {
|
|
90
90
|
const options = this._editor.getOptions();
|
|
91
91
|
const fontInfo = options.get(59 /* EditorOption.fontInfo */);
|
|
@@ -17,7 +17,7 @@ var __param = (undefined && undefined.__param) || function (paramIndex, decorato
|
|
|
17
17
|
var WordContextKey_1;
|
|
18
18
|
let WordContextKey = class WordContextKey {
|
|
19
19
|
static { WordContextKey_1 = this; }
|
|
20
|
-
static { this.AtEnd = new RawContextKey('atEndOfWord', false, { type: 'boolean', description: localize(
|
|
20
|
+
static { this.AtEnd = new RawContextKey('atEndOfWord', false, { type: 'boolean', description: localize(1490, "A context key that is true when at the end of a word. Note that this is only defined when tab-completions are enabled") }); }
|
|
21
21
|
constructor(_editor, contextKeyService) {
|
|
22
22
|
this._editor = _editor;
|
|
23
23
|
this._enabled = false;
|
|
@@ -16,86 +16,86 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
16
16
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
17
17
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
18
18
|
*--------------------------------------------------------------------------------------------*/
|
|
19
|
-
registerColor('symbolIcon.arrayForeground', foreground, localize(
|
|
20
|
-
registerColor('symbolIcon.booleanForeground', foreground, localize(
|
|
19
|
+
registerColor('symbolIcon.arrayForeground', foreground, localize(1491, 'The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
20
|
+
registerColor('symbolIcon.booleanForeground', foreground, localize(1492, 'The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
21
21
|
registerColor('symbolIcon.classForeground', {
|
|
22
22
|
dark: '#EE9D28',
|
|
23
23
|
light: '#D67E00',
|
|
24
24
|
hcDark: '#EE9D28',
|
|
25
25
|
hcLight: '#D67E00'
|
|
26
|
-
}, localize(
|
|
27
|
-
registerColor('symbolIcon.colorForeground', foreground, localize(
|
|
28
|
-
registerColor('symbolIcon.constantForeground', foreground, localize(
|
|
26
|
+
}, localize(1493, 'The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
27
|
+
registerColor('symbolIcon.colorForeground', foreground, localize(1494, 'The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
28
|
+
registerColor('symbolIcon.constantForeground', foreground, localize(1495, 'The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
29
29
|
registerColor('symbolIcon.constructorForeground', {
|
|
30
30
|
dark: '#B180D7',
|
|
31
31
|
light: '#652D90',
|
|
32
32
|
hcDark: '#B180D7',
|
|
33
33
|
hcLight: '#652D90'
|
|
34
|
-
}, localize(
|
|
34
|
+
}, localize(1496, 'The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
35
35
|
registerColor('symbolIcon.enumeratorForeground', {
|
|
36
36
|
dark: '#EE9D28',
|
|
37
37
|
light: '#D67E00',
|
|
38
38
|
hcDark: '#EE9D28',
|
|
39
39
|
hcLight: '#D67E00'
|
|
40
|
-
}, localize(
|
|
40
|
+
}, localize(1497, 'The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
41
41
|
registerColor('symbolIcon.enumeratorMemberForeground', {
|
|
42
42
|
dark: '#75BEFF',
|
|
43
43
|
light: '#007ACC',
|
|
44
44
|
hcDark: '#75BEFF',
|
|
45
45
|
hcLight: '#007ACC'
|
|
46
|
-
}, localize(
|
|
46
|
+
}, localize(1498, 'The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
47
47
|
registerColor('symbolIcon.eventForeground', {
|
|
48
48
|
dark: '#EE9D28',
|
|
49
49
|
light: '#D67E00',
|
|
50
50
|
hcDark: '#EE9D28',
|
|
51
51
|
hcLight: '#D67E00'
|
|
52
|
-
}, localize(
|
|
52
|
+
}, localize(1499, 'The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
53
53
|
registerColor('symbolIcon.fieldForeground', {
|
|
54
54
|
dark: '#75BEFF',
|
|
55
55
|
light: '#007ACC',
|
|
56
56
|
hcDark: '#75BEFF',
|
|
57
57
|
hcLight: '#007ACC'
|
|
58
|
-
}, localize(
|
|
59
|
-
registerColor('symbolIcon.fileForeground', foreground, localize(
|
|
60
|
-
registerColor('symbolIcon.folderForeground', foreground, localize(
|
|
58
|
+
}, localize(1500, 'The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
59
|
+
registerColor('symbolIcon.fileForeground', foreground, localize(1501, 'The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
60
|
+
registerColor('symbolIcon.folderForeground', foreground, localize(1502, 'The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
61
61
|
registerColor('symbolIcon.functionForeground', {
|
|
62
62
|
dark: '#B180D7',
|
|
63
63
|
light: '#652D90',
|
|
64
64
|
hcDark: '#B180D7',
|
|
65
65
|
hcLight: '#652D90'
|
|
66
|
-
}, localize(
|
|
66
|
+
}, localize(1503, 'The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
67
67
|
registerColor('symbolIcon.interfaceForeground', {
|
|
68
68
|
dark: '#75BEFF',
|
|
69
69
|
light: '#007ACC',
|
|
70
70
|
hcDark: '#75BEFF',
|
|
71
71
|
hcLight: '#007ACC'
|
|
72
|
-
}, localize(
|
|
73
|
-
registerColor('symbolIcon.keyForeground', foreground, localize(
|
|
74
|
-
registerColor('symbolIcon.keywordForeground', foreground, localize(
|
|
72
|
+
}, localize(1504, 'The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
73
|
+
registerColor('symbolIcon.keyForeground', foreground, localize(1505, 'The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
74
|
+
registerColor('symbolIcon.keywordForeground', foreground, localize(1506, 'The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
75
75
|
registerColor('symbolIcon.methodForeground', {
|
|
76
76
|
dark: '#B180D7',
|
|
77
77
|
light: '#652D90',
|
|
78
78
|
hcDark: '#B180D7',
|
|
79
79
|
hcLight: '#652D90'
|
|
80
|
-
}, localize(
|
|
81
|
-
registerColor('symbolIcon.moduleForeground', foreground, localize(
|
|
82
|
-
registerColor('symbolIcon.namespaceForeground', foreground, localize(
|
|
83
|
-
registerColor('symbolIcon.nullForeground', foreground, localize(
|
|
84
|
-
registerColor('symbolIcon.numberForeground', foreground, localize(
|
|
85
|
-
registerColor('symbolIcon.objectForeground', foreground, localize(
|
|
86
|
-
registerColor('symbolIcon.operatorForeground', foreground, localize(
|
|
87
|
-
registerColor('symbolIcon.packageForeground', foreground, localize(
|
|
88
|
-
registerColor('symbolIcon.propertyForeground', foreground, localize(
|
|
89
|
-
registerColor('symbolIcon.referenceForeground', foreground, localize(
|
|
90
|
-
registerColor('symbolIcon.snippetForeground', foreground, localize(
|
|
91
|
-
registerColor('symbolIcon.stringForeground', foreground, localize(
|
|
92
|
-
registerColor('symbolIcon.structForeground', foreground, localize(
|
|
93
|
-
registerColor('symbolIcon.textForeground', foreground, localize(
|
|
94
|
-
registerColor('symbolIcon.typeParameterForeground', foreground, localize(
|
|
95
|
-
registerColor('symbolIcon.unitForeground', foreground, localize(
|
|
80
|
+
}, localize(1507, 'The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
81
|
+
registerColor('symbolIcon.moduleForeground', foreground, localize(1508, 'The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
82
|
+
registerColor('symbolIcon.namespaceForeground', foreground, localize(1509, 'The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
83
|
+
registerColor('symbolIcon.nullForeground', foreground, localize(1510, 'The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
84
|
+
registerColor('symbolIcon.numberForeground', foreground, localize(1511, 'The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
85
|
+
registerColor('symbolIcon.objectForeground', foreground, localize(1512, 'The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
86
|
+
registerColor('symbolIcon.operatorForeground', foreground, localize(1513, 'The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
87
|
+
registerColor('symbolIcon.packageForeground', foreground, localize(1514, 'The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
88
|
+
registerColor('symbolIcon.propertyForeground', foreground, localize(1515, 'The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
89
|
+
registerColor('symbolIcon.referenceForeground', foreground, localize(1516, 'The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
90
|
+
registerColor('symbolIcon.snippetForeground', foreground, localize(1517, 'The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
91
|
+
registerColor('symbolIcon.stringForeground', foreground, localize(1518, 'The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
92
|
+
registerColor('symbolIcon.structForeground', foreground, localize(1519, 'The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
93
|
+
registerColor('symbolIcon.textForeground', foreground, localize(1520, 'The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
94
|
+
registerColor('symbolIcon.typeParameterForeground', foreground, localize(1521, 'The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
95
|
+
registerColor('symbolIcon.unitForeground', foreground, localize(1522, 'The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
96
96
|
registerColor('symbolIcon.variableForeground', {
|
|
97
97
|
dark: '#75BEFF',
|
|
98
98
|
light: '#007ACC',
|
|
99
99
|
hcDark: '#75BEFF',
|
|
100
100
|
hcLight: '#007ACC',
|
|
101
|
-
}, localize(
|
|
101
|
+
}, localize(1523, 'The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
@@ -12,7 +12,7 @@ class ToggleTabFocusModeAction extends Action2 {
|
|
|
12
12
|
constructor() {
|
|
13
13
|
super({
|
|
14
14
|
id: ToggleTabFocusModeAction.ID,
|
|
15
|
-
title: localize2(
|
|
15
|
+
title: localize2(1526, 'Toggle Tab Key Moves Focus'),
|
|
16
16
|
precondition: undefined,
|
|
17
17
|
keybinding: {
|
|
18
18
|
primary: 2048 /* KeyMod.CtrlCmd */ | 43 /* KeyCode.KeyM */,
|
|
@@ -20,7 +20,7 @@ class ToggleTabFocusModeAction extends Action2 {
|
|
|
20
20
|
weight: 100 /* KeybindingWeight.EditorContrib */
|
|
21
21
|
},
|
|
22
22
|
metadata: {
|
|
23
|
-
description: localize2(
|
|
23
|
+
description: localize2(1527, "Determines whether the tab key moves focus around the workbench or inserts the tab character in the current editor. This is also called tab trapping, tab navigation, or tab focus mode."),
|
|
24
24
|
},
|
|
25
25
|
f1: true
|
|
26
26
|
});
|
|
@@ -30,10 +30,10 @@ class ToggleTabFocusModeAction extends Action2 {
|
|
|
30
30
|
const newValue = !oldValue;
|
|
31
31
|
TabFocus.setTabFocusMode(newValue);
|
|
32
32
|
if (newValue) {
|
|
33
|
-
alert(localize(
|
|
33
|
+
alert(localize(1524, "Pressing Tab will now move focus to the next focusable element"));
|
|
34
34
|
}
|
|
35
35
|
else {
|
|
36
|
-
alert(localize(
|
|
36
|
+
alert(localize(1525, "Pressing Tab will now insert the tab character"));
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -10,7 +10,7 @@ class ForceRetokenizeAction extends EditorAction {
|
|
|
10
10
|
constructor() {
|
|
11
11
|
super({
|
|
12
12
|
id: 'editor.action.forceRetokenize',
|
|
13
|
-
label: localize2(
|
|
13
|
+
label: localize2(1528, "Developer: Force Retokenize"),
|
|
14
14
|
precondition: undefined
|
|
15
15
|
});
|
|
16
16
|
}
|
|
@@ -102,7 +102,7 @@ let Banner = class Banner extends Disposable {
|
|
|
102
102
|
// Action
|
|
103
103
|
const actionBarContainer = append(this.element, $('div.action-container'));
|
|
104
104
|
this.actionBar = this._register(new ActionBar(actionBarContainer));
|
|
105
|
-
this.actionBar.push(this._register(new Action('banner.close', localize(
|
|
105
|
+
this.actionBar.push(this._register(new Action('banner.close', localize(1529, "Close Banner"), ThemeIcon.asClassName(widgetClose), true, () => {
|
|
106
106
|
if (typeof item.onClose === 'function') {
|
|
107
107
|
item.onClose();
|
|
108
108
|
}
|
|
@@ -37,7 +37,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
37
37
|
var __param = (undefined && undefined.__param) || function (paramIndex, decorator) {
|
|
38
38
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
39
39
|
};
|
|
40
|
-
const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, localize(
|
|
40
|
+
const warningIcon = registerIcon('extensions-warning-message', Codicon.warning, localize(1530, 'Icon shown with a warning message in the extensions editor.'));
|
|
41
41
|
let UnicodeHighlighter = class UnicodeHighlighter extends Disposable {
|
|
42
42
|
static { this.ID = 'editor.contrib.unicodeHighlighter'; }
|
|
43
43
|
constructor(_editor, _editorWorkerService, _workspaceTrustService, instantiationService) {
|
|
@@ -57,19 +57,19 @@ let UnicodeHighlighter = class UnicodeHighlighter extends Disposable {
|
|
|
57
57
|
let data;
|
|
58
58
|
if (state.nonBasicAsciiCharacterCount >= max) {
|
|
59
59
|
data = {
|
|
60
|
-
message: localize(
|
|
60
|
+
message: localize(1531, 'This document contains many non-basic ASCII unicode characters'),
|
|
61
61
|
command: new DisableHighlightingOfNonBasicAsciiCharactersAction(),
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
else if (state.ambiguousCharacterCount >= max) {
|
|
65
65
|
data = {
|
|
66
|
-
message: localize(
|
|
66
|
+
message: localize(1532, 'This document contains many ambiguous unicode characters'),
|
|
67
67
|
command: new DisableHighlightingOfAmbiguousCharactersAction(),
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
70
|
else if (state.invisibleCharacterCount >= max) {
|
|
71
71
|
data = {
|
|
72
|
-
message: localize(
|
|
72
|
+
message: localize(1533, 'This document contains many invisible unicode characters'),
|
|
73
73
|
command: new DisableHighlightingOfInvisibleCharactersAction(),
|
|
74
74
|
};
|
|
75
75
|
}
|
|
@@ -337,7 +337,7 @@ class ViewportUnicodeHighlighter extends Disposable {
|
|
|
337
337
|
};
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
|
-
const configureUnicodeHighlightOptionsStr = localize(
|
|
340
|
+
const configureUnicodeHighlightOptionsStr = localize(1534, 'Configure Unicode Highlight Options');
|
|
341
341
|
let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipant {
|
|
342
342
|
constructor(_editor, _markdownRendererService) {
|
|
343
343
|
this._editor = _editor;
|
|
@@ -369,18 +369,18 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
369
369
|
switch (highlightInfo.reason.kind) {
|
|
370
370
|
case 0 /* UnicodeHighlighterReasonKind.Ambiguous */: {
|
|
371
371
|
if (isBasicASCII(highlightInfo.reason.confusableWith)) {
|
|
372
|
-
reason = localize(
|
|
372
|
+
reason = localize(1535, 'The character {0} could be confused with the ASCII character {1}, which is more common in source code.', codePointStr, formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0)));
|
|
373
373
|
}
|
|
374
374
|
else {
|
|
375
|
-
reason = localize(
|
|
375
|
+
reason = localize(1536, 'The character {0} could be confused with the character {1}, which is more common in source code.', codePointStr, formatCodePointMarkdown(highlightInfo.reason.confusableWith.codePointAt(0)));
|
|
376
376
|
}
|
|
377
377
|
break;
|
|
378
378
|
}
|
|
379
379
|
case 1 /* UnicodeHighlighterReasonKind.Invisible */:
|
|
380
|
-
reason = localize(
|
|
380
|
+
reason = localize(1537, 'The character {0} is invisible.', codePointStr);
|
|
381
381
|
break;
|
|
382
382
|
case 2 /* UnicodeHighlighterReasonKind.NonBasicAscii */:
|
|
383
|
-
reason = localize(
|
|
383
|
+
reason = localize(1538, 'The character {0} is not a basic ASCII character.', codePointStr);
|
|
384
384
|
break;
|
|
385
385
|
}
|
|
386
386
|
if (existedReason.has(reason)) {
|
|
@@ -393,7 +393,7 @@ let UnicodeHighlighterHoverParticipant = class UnicodeHighlighterHoverParticipan
|
|
|
393
393
|
inComment: highlightInfo.inComment,
|
|
394
394
|
inString: highlightInfo.inString,
|
|
395
395
|
};
|
|
396
|
-
const adjustSettings = localize(
|
|
396
|
+
const adjustSettings = localize(1539, 'Adjust settings');
|
|
397
397
|
const uri = createCommandUri(ShowExcludeOptions.ID, adjustSettingsArgs);
|
|
398
398
|
const markdown = new MarkdownString('', true)
|
|
399
399
|
.appendMarkdown(reason)
|
|
@@ -461,10 +461,10 @@ class DisableHighlightingInCommentsAction extends EditorAction {
|
|
|
461
461
|
constructor() {
|
|
462
462
|
super({
|
|
463
463
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
464
|
-
label: localize2(
|
|
464
|
+
label: localize2(1548, "Disable highlighting of characters in comments"),
|
|
465
465
|
precondition: undefined
|
|
466
466
|
});
|
|
467
|
-
this.shortLabel = localize(
|
|
467
|
+
this.shortLabel = localize(1540, 'Disable Highlight In Comments');
|
|
468
468
|
}
|
|
469
469
|
async run(accessor, editor, args) {
|
|
470
470
|
const configurationService = accessor.get(IConfigurationService);
|
|
@@ -480,10 +480,10 @@ class DisableHighlightingInStringsAction extends EditorAction {
|
|
|
480
480
|
constructor() {
|
|
481
481
|
super({
|
|
482
482
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
483
|
-
label: localize2(
|
|
483
|
+
label: localize2(1549, "Disable highlighting of characters in strings"),
|
|
484
484
|
precondition: undefined
|
|
485
485
|
});
|
|
486
|
-
this.shortLabel = localize(
|
|
486
|
+
this.shortLabel = localize(1541, 'Disable Highlight In Strings');
|
|
487
487
|
}
|
|
488
488
|
async run(accessor, editor, args) {
|
|
489
489
|
const configurationService = accessor.get(IConfigurationService);
|
|
@@ -500,11 +500,11 @@ class DisableHighlightingOfAmbiguousCharactersAction extends Action2 {
|
|
|
500
500
|
constructor() {
|
|
501
501
|
super({
|
|
502
502
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
503
|
-
title: localize2(
|
|
503
|
+
title: localize2(1550, "Disable highlighting of ambiguous characters"),
|
|
504
504
|
precondition: undefined,
|
|
505
505
|
f1: false,
|
|
506
506
|
});
|
|
507
|
-
this.shortLabel = localize(
|
|
507
|
+
this.shortLabel = localize(1542, 'Disable Ambiguous Highlight');
|
|
508
508
|
}
|
|
509
509
|
async run(accessor, editor, args) {
|
|
510
510
|
const configurationService = accessor.get(IConfigurationService);
|
|
@@ -521,11 +521,11 @@ class DisableHighlightingOfInvisibleCharactersAction extends Action2 {
|
|
|
521
521
|
constructor() {
|
|
522
522
|
super({
|
|
523
523
|
id: DisableHighlightingOfInvisibleCharactersAction.ID,
|
|
524
|
-
title: localize2(
|
|
524
|
+
title: localize2(1551, "Disable highlighting of invisible characters"),
|
|
525
525
|
precondition: undefined,
|
|
526
526
|
f1: false,
|
|
527
527
|
});
|
|
528
|
-
this.shortLabel = localize(
|
|
528
|
+
this.shortLabel = localize(1543, 'Disable Invisible Highlight');
|
|
529
529
|
}
|
|
530
530
|
async run(accessor, editor, args) {
|
|
531
531
|
const configurationService = accessor.get(IConfigurationService);
|
|
@@ -542,11 +542,11 @@ class DisableHighlightingOfNonBasicAsciiCharactersAction extends Action2 {
|
|
|
542
542
|
constructor() {
|
|
543
543
|
super({
|
|
544
544
|
id: DisableHighlightingOfNonBasicAsciiCharactersAction.ID,
|
|
545
|
-
title: localize2(
|
|
545
|
+
title: localize2(1552, "Disable highlighting of non basic ASCII characters"),
|
|
546
546
|
precondition: undefined,
|
|
547
547
|
f1: false,
|
|
548
548
|
});
|
|
549
|
-
this.shortLabel = localize(
|
|
549
|
+
this.shortLabel = localize(1544, 'Disable Non ASCII Highlight');
|
|
550
550
|
}
|
|
551
551
|
async run(accessor, editor, args) {
|
|
552
552
|
const configurationService = accessor.get(IConfigurationService);
|
|
@@ -563,7 +563,7 @@ class ShowExcludeOptions extends Action2 {
|
|
|
563
563
|
constructor() {
|
|
564
564
|
super({
|
|
565
565
|
id: ShowExcludeOptions.ID,
|
|
566
|
-
title: localize2(
|
|
566
|
+
title: localize2(1553, "Show Exclude Options"),
|
|
567
567
|
precondition: undefined,
|
|
568
568
|
f1: false,
|
|
569
569
|
});
|
|
@@ -575,15 +575,15 @@ class ShowExcludeOptions extends Action2 {
|
|
|
575
575
|
const configurationService = accessor.get(IConfigurationService);
|
|
576
576
|
function getExcludeCharFromBeingHighlightedLabel(codePoint) {
|
|
577
577
|
if (InvisibleCharacters.isInvisibleCharacter(codePoint)) {
|
|
578
|
-
return localize(
|
|
578
|
+
return localize(1545, 'Exclude {0} (invisible character) from being highlighted', codePointToHex(codePoint));
|
|
579
579
|
}
|
|
580
|
-
return localize(
|
|
580
|
+
return localize(1546, 'Exclude {0} from being highlighted', `${codePointToHex(codePoint)} "${char}"`);
|
|
581
581
|
}
|
|
582
582
|
const options = [];
|
|
583
583
|
if (reason.kind === 0 /* UnicodeHighlighterReasonKind.Ambiguous */) {
|
|
584
584
|
for (const locale of reason.notAmbiguousInLocales) {
|
|
585
585
|
options.push({
|
|
586
|
-
label: localize(
|
|
586
|
+
label: localize(1547, "Allow unicode characters that are more common in the language \"{0}\".", locale),
|
|
587
587
|
run: async () => {
|
|
588
588
|
excludeLocaleFromBeingHighlighted(configurationService, [locale]);
|
|
589
589
|
},
|
|
@@ -86,11 +86,11 @@ let UnusualLineTerminatorsDetector = class UnusualLineTerminatorsDetector extend
|
|
|
86
86
|
try {
|
|
87
87
|
this._isPresentingDialog = true;
|
|
88
88
|
result = await this._dialogService.confirm({
|
|
89
|
-
title: localize(
|
|
90
|
-
message: localize(
|
|
91
|
-
detail: localize(
|
|
92
|
-
primaryButton: localize(
|
|
93
|
-
cancelButton: localize(
|
|
89
|
+
title: localize(1554, "Unusual Line Terminators"),
|
|
90
|
+
message: localize(1555, "Detected unusual line terminators"),
|
|
91
|
+
detail: localize(1556, "The file '{0}' contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\n\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`.", basename(model.uri)),
|
|
92
|
+
primaryButton: localize(1557, "&&Remove Unusual Line Terminators"),
|
|
93
|
+
cancelButton: localize(1558, "Ignore")
|
|
94
94
|
});
|
|
95
95
|
}
|
|
96
96
|
finally {
|