monaco-editor 0.55.0-dev-20251021 → 0.55.0-dev-20251022
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-CNVxDEHL.js} +57 -56
- package/dev/vs/assets/{editor.worker-Ci2aWZp5.js → editor.worker-CxT_Qhsk.js} +57 -56
- package/dev/vs/assets/{html.worker-PHv_zBMJ.js → html.worker-BkUmTRjE.js} +57 -56
- package/dev/vs/assets/{json.worker-Bu5ZSywK.js → json.worker-DK-97m-d.js} +57 -56
- package/dev/vs/assets/{ts.worker-DvEf1R_D.js → ts.worker-cHRPyRgi.js} +57 -56
- package/dev/vs/basic-languages/monaco.contribution.js +18 -18
- package/dev/vs/{cssMode-Bwd5iTwO.js → cssMode-D2ACZpcd.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-CMtrd0pO.js} +1917 -1944
- package/dev/vs/{freemarker2-vzq7IT1V.js → freemarker2-CnYj74J4.js} +1 -1
- package/dev/vs/{handlebars-voSBoDYq.js → handlebars-DExk9yf4.js} +1 -1
- package/dev/vs/{html-DgBvMxaw.js → html-Dql17k62.js} +1 -1
- package/dev/vs/{htmlMode-B73e0LQu.js → htmlMode-CCEnhGm2.js} +2 -2
- package/dev/vs/{javascript-B456O1TJ.js → javascript-CqoKoqPi.js} +1 -1
- package/dev/vs/{jsonMode-0j9Sufcy.js → jsonMode-Cz5IbqId.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-DxCkw3Wy.js} +1 -1
- package/dev/vs/{lspLanguageFeatures-BOGx43ac.js → lspLanguageFeatures-BQO5gQ_I.js} +1 -1
- package/dev/vs/{mdx-CpdAOlbp.js → mdx-DZF1Tct2.js} +1 -1
- package/dev/vs/{monaco.contribution-DgD6w475.js → monaco.contribution-BIhJP-zM.js} +2 -2
- package/dev/vs/{monaco.contribution-96LxvCLa.js → monaco.contribution-BLcNO6tV.js} +2 -2
- package/dev/vs/{monaco.contribution-BNV_Bhhz.js → monaco.contribution-Bpf9llGo.js} +2 -2
- package/dev/vs/{monaco.contribution-CLECD6oi.js → monaco.contribution-D1GYx7Ac.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-DtVp4js9.js} +1 -1
- package/dev/vs/{razor-C2m7Vs0-.js → razor-C3g5CXT6.js} +1 -1
- package/dev/vs/{tsMode-qQDYDzQT.js → tsMode-B63tFZWa.js} +2 -2
- package/dev/vs/{typescript-BoBnM-0b.js → typescript-YutvBaV7.js} +1 -1
- package/dev/vs/{workers-B1DA8fIt.js → workers-D12Uf0L2.js} +1 -1
- package/dev/vs/{xml-DmpITxBR.js → xml-D1v3XWzg.js} +1 -1
- package/dev/vs/{yaml-Pd4qqIOC.js → yaml-D29Ou18G.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/common/codiconsLibrary.js +1 -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 +56 -56
- package/esm/vs/editor/common/model/editStack.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 +19 -52
- 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/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
- 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/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/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 +7 -7
- 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 +1 -1
- 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-BHMeXSeR.js} +1 -1
- package/min/vs/assets/{editor.worker-BvjSTWxN.js → editor.worker-DTWRgIAS.js} +1 -1
- package/min/vs/assets/{html.worker-zYFVFHK_.js → html.worker-CXhlyGiJ.js} +1 -1
- package/min/vs/assets/{json.worker-BCgqF_m2.js → json.worker-DzYjDoHF.js} +1 -1
- package/min/vs/assets/{ts.worker-CQxe4KB6.js → ts.worker-CW5rcuCX.js} +1 -1
- package/min/vs/basic-languages/monaco.contribution.js +1 -1
- package/min/vs/{cssMode-CvaUVk1W.js → cssMode-1TDQPhHq.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-wrjhPWGt.js} +123 -123
- package/min/vs/{freemarker2-B_vQOikd.js → freemarker2-B8YhwE9w.js} +1 -1
- package/min/vs/{handlebars-DqjIuZnJ.js → handlebars-DxIz966T.js} +1 -1
- package/min/vs/{html-DAxAlcjQ.js → html-TUDpfuzj.js} +1 -1
- package/min/vs/{htmlMode-C37mDTXf.js → htmlMode-BTG6W7ly.js} +1 -1
- package/min/vs/{javascript-CmHtjIt-.js → javascript-DjDRFeo7.js} +1 -1
- package/min/vs/{jsonMode-D1uvcOsy.js → jsonMode-cxGzlpDo.js} +4 -4
- 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-Bsimqao4.js} +1 -1
- package/min/vs/{lspLanguageFeatures-DTAub2tJ.js → lspLanguageFeatures-B9vCOFZO.js} +1 -1
- package/min/vs/{mdx-BFnE9qyd.js → mdx-DAXjads7.js} +1 -1
- package/min/vs/{monaco.contribution-Ba-90VRW.js → monaco.contribution-B40WJdZo.js} +1 -1
- package/min/vs/{monaco.contribution-bCyc25XC.js → monaco.contribution-Bck58VVU.js} +1 -1
- package/min/vs/{monaco.contribution-D4gtmCUd.js → monaco.contribution-CTUxDbdl.js} +1 -1
- package/min/vs/{monaco.contribution-DBV8hY3j.js → monaco.contribution-Dng4cbIh.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-k7tPtlws.js} +1 -1
- package/min/vs/{razor-BBB6Wn5s.js → razor-9j5Idzae.js} +1 -1
- package/min/vs/{tsMode-DYyNPclY.js → tsMode-BDVJ4HNT.js} +5 -5
- package/min/vs/{typescript-AvfgkAyn.js → typescript-1Ue-gdOx.js} +1 -1
- package/min/vs/{workers-DnTKLxL6.js → workers-jkActJYc.js} +1 -1
- package/min/vs/{xml-BVhc_vbm.js → xml-BsAArBP5.js} +1 -1
- package/min/vs/{yaml-a9dM1cQx.js → yaml-2dSzUkHA.js} +1 -1
- package/package.json +5 -5
|
@@ -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(1466, 'Background color of the suggest widget.'));
|
|
58
|
+
registerColor('editorSuggestWidget.border', editorWidgetBorder, localize(1467, 'Border color of the suggest widget.'));
|
|
59
|
+
const editorSuggestWidgetForeground = registerColor('editorSuggestWidget.foreground', editorForeground, localize(1468, 'Foreground color of the suggest widget.'));
|
|
60
|
+
registerColor('editorSuggestWidget.selectedForeground', quickInputListFocusForeground, localize(1469, 'Foreground color of the selected entry in the suggest widget.'));
|
|
61
|
+
registerColor('editorSuggestWidget.selectedIconForeground', quickInputListFocusIconForeground, localize(1470, 'Icon foreground color of the selected entry in the suggest widget.'));
|
|
62
|
+
const editorSuggestWidgetSelectedBackground = registerColor('editorSuggestWidget.selectedBackground', quickInputListFocusBackground, localize(1471, 'Background color of the selected entry in the suggest widget.'));
|
|
63
|
+
registerColor('editorSuggestWidget.highlightForeground', listHighlightForeground, localize(1472, 'Color of the match highlights in the suggest widget.'));
|
|
64
|
+
registerColor('editorSuggestWidget.focusHighlightForeground', listFocusHighlightForeground, localize(1473, 'Color of the match highlights in the suggest widget when an item is focused.'));
|
|
65
|
+
registerColor('editorSuggestWidgetStatus.foreground', transparent(editorSuggestWidgetForeground, .5), localize(1474, '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(1475, "Loading..."); }
|
|
94
|
+
static { this.NO_SUGGESTIONS_MESSAGE = localize(1476, "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(1477, "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(1478, '{0} {1}, {2}, {3}', label, detail, description, kindLabel);
|
|
190
190
|
}
|
|
191
191
|
else if (detail) {
|
|
192
|
-
label = localize(
|
|
192
|
+
label = localize(1479, '{0} {1}, {2}', label, detail, kindLabel);
|
|
193
193
|
}
|
|
194
194
|
else if (description) {
|
|
195
|
-
label = localize(
|
|
195
|
+
label = localize(1480, '{0}, {1}, {2}', label, description, kindLabel);
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
else {
|
|
199
|
-
label = localize(
|
|
199
|
+
label = localize(1481, '{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(1482, "{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(1483, "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(1484, "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(1485, '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(1486, "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(1487, "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(1488, 'The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
20
|
+
registerColor('symbolIcon.booleanForeground', foreground, localize(1489, '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(1490, 'The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
27
|
+
registerColor('symbolIcon.colorForeground', foreground, localize(1491, 'The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
28
|
+
registerColor('symbolIcon.constantForeground', foreground, localize(1492, '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(1493, '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(1494, '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(1495, '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(1496, '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(1497, 'The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
59
|
+
registerColor('symbolIcon.fileForeground', foreground, localize(1498, 'The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
60
|
+
registerColor('symbolIcon.folderForeground', foreground, localize(1499, '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(1500, '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(1501, 'The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
73
|
+
registerColor('symbolIcon.keyForeground', foreground, localize(1502, 'The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
74
|
+
registerColor('symbolIcon.keywordForeground', foreground, localize(1503, '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(1504, 'The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
81
|
+
registerColor('symbolIcon.moduleForeground', foreground, localize(1505, 'The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
82
|
+
registerColor('symbolIcon.namespaceForeground', foreground, localize(1506, 'The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
83
|
+
registerColor('symbolIcon.nullForeground', foreground, localize(1507, 'The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
84
|
+
registerColor('symbolIcon.numberForeground', foreground, localize(1508, 'The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
85
|
+
registerColor('symbolIcon.objectForeground', foreground, localize(1509, 'The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
86
|
+
registerColor('symbolIcon.operatorForeground', foreground, localize(1510, 'The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
87
|
+
registerColor('symbolIcon.packageForeground', foreground, localize(1511, 'The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
88
|
+
registerColor('symbolIcon.propertyForeground', foreground, localize(1512, 'The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
89
|
+
registerColor('symbolIcon.referenceForeground', foreground, localize(1513, 'The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
90
|
+
registerColor('symbolIcon.snippetForeground', foreground, localize(1514, 'The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
91
|
+
registerColor('symbolIcon.stringForeground', foreground, localize(1515, 'The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
92
|
+
registerColor('symbolIcon.structForeground', foreground, localize(1516, 'The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
93
|
+
registerColor('symbolIcon.textForeground', foreground, localize(1517, 'The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
94
|
+
registerColor('symbolIcon.typeParameterForeground', foreground, localize(1518, 'The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
95
|
+
registerColor('symbolIcon.unitForeground', foreground, localize(1519, '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(1520, '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(1523, '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(1524, "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(1521, "Pressing Tab will now move focus to the next focusable element"));
|
|
34
34
|
}
|
|
35
35
|
else {
|
|
36
|
-
alert(localize(
|
|
36
|
+
alert(localize(1522, "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(1525, "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(1526, "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(1527, '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(1528, '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(1529, '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(1530, '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(1531, '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(1532, '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(1533, '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(1534, 'The character {0} is invisible.', codePointStr);
|
|
381
381
|
break;
|
|
382
382
|
case 2 /* UnicodeHighlighterReasonKind.NonBasicAscii */:
|
|
383
|
-
reason = localize(
|
|
383
|
+
reason = localize(1535, '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(1536, '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(1545, "Disable highlighting of characters in comments"),
|
|
465
465
|
precondition: undefined
|
|
466
466
|
});
|
|
467
|
-
this.shortLabel = localize(
|
|
467
|
+
this.shortLabel = localize(1537, '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(1546, "Disable highlighting of characters in strings"),
|
|
484
484
|
precondition: undefined
|
|
485
485
|
});
|
|
486
|
-
this.shortLabel = localize(
|
|
486
|
+
this.shortLabel = localize(1538, '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(1547, "Disable highlighting of ambiguous characters"),
|
|
504
504
|
precondition: undefined,
|
|
505
505
|
f1: false,
|
|
506
506
|
});
|
|
507
|
-
this.shortLabel = localize(
|
|
507
|
+
this.shortLabel = localize(1539, '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(1548, "Disable highlighting of invisible characters"),
|
|
525
525
|
precondition: undefined,
|
|
526
526
|
f1: false,
|
|
527
527
|
});
|
|
528
|
-
this.shortLabel = localize(
|
|
528
|
+
this.shortLabel = localize(1540, '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(1549, "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(1541, '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(1550, "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(1542, 'Exclude {0} (invisible character) from being highlighted', codePointToHex(codePoint));
|
|
579
579
|
}
|
|
580
|
-
return localize(
|
|
580
|
+
return localize(1543, '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(1544, "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(1551, "Unusual Line Terminators"),
|
|
90
|
+
message: localize(1552, "Detected unusual line terminators"),
|
|
91
|
+
detail: localize(1553, "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(1554, "&&Remove Unusual Line Terminators"),
|
|
93
|
+
cancelButton: localize(1555, "Ignore")
|
|
94
94
|
});
|
|
95
95
|
}
|
|
96
96
|
finally {
|
|
@@ -20,15 +20,15 @@ import { themeColorFromId, registerThemingParticipant } from '../../../../platfo
|
|
|
20
20
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
21
21
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
22
22
|
*--------------------------------------------------------------------------------------------*/
|
|
23
|
-
const wordHighlightBackground = registerColor('editor.wordHighlightBackground', { dark: '#575757B8', light: '#57575740', hcDark: null, hcLight: null }, localize(
|
|
24
|
-
registerColor('editor.wordHighlightStrongBackground', { dark: '#004972B8', light: '#0e639c40', hcDark: null, hcLight: null }, localize(
|
|
25
|
-
registerColor('editor.wordHighlightTextBackground', wordHighlightBackground, localize(
|
|
26
|
-
const wordHighlightBorder = registerColor('editor.wordHighlightBorder', { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, localize(
|
|
27
|
-
registerColor('editor.wordHighlightStrongBorder', { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, localize(
|
|
28
|
-
registerColor('editor.wordHighlightTextBorder', wordHighlightBorder, localize(
|
|
29
|
-
const overviewRulerWordHighlightForeground = registerColor('editorOverviewRuler.wordHighlightForeground', '#A0A0A0CC', localize(
|
|
30
|
-
const overviewRulerWordHighlightStrongForeground = registerColor('editorOverviewRuler.wordHighlightStrongForeground', '#C0A0C0CC', localize(
|
|
31
|
-
const overviewRulerWordHighlightTextForeground = registerColor('editorOverviewRuler.wordHighlightTextForeground', overviewRulerSelectionHighlightForeground, localize(
|
|
23
|
+
const wordHighlightBackground = registerColor('editor.wordHighlightBackground', { dark: '#575757B8', light: '#57575740', hcDark: null, hcLight: null }, localize(1556, 'Background color of a symbol during read-access, like reading a variable. The color must not be opaque so as not to hide underlying decorations.'), true);
|
|
24
|
+
registerColor('editor.wordHighlightStrongBackground', { dark: '#004972B8', light: '#0e639c40', hcDark: null, hcLight: null }, localize(1557, 'Background color of a symbol during write-access, like writing to a variable. The color must not be opaque so as not to hide underlying decorations.'), true);
|
|
25
|
+
registerColor('editor.wordHighlightTextBackground', wordHighlightBackground, localize(1558, 'Background color of a textual occurrence for a symbol. The color must not be opaque so as not to hide underlying decorations.'), true);
|
|
26
|
+
const wordHighlightBorder = registerColor('editor.wordHighlightBorder', { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, localize(1559, 'Border color of a symbol during read-access, like reading a variable.'));
|
|
27
|
+
registerColor('editor.wordHighlightStrongBorder', { light: null, dark: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, localize(1560, 'Border color of a symbol during write-access, like writing to a variable.'));
|
|
28
|
+
registerColor('editor.wordHighlightTextBorder', wordHighlightBorder, localize(1561, "Border color of a textual occurrence for a symbol."));
|
|
29
|
+
const overviewRulerWordHighlightForeground = registerColor('editorOverviewRuler.wordHighlightForeground', '#A0A0A0CC', localize(1562, 'Overview ruler marker color for symbol highlights. The color must not be opaque so as not to hide underlying decorations.'), true);
|
|
30
|
+
const overviewRulerWordHighlightStrongForeground = registerColor('editorOverviewRuler.wordHighlightStrongForeground', '#C0A0C0CC', localize(1563, 'Overview ruler marker color for write-access symbol highlights. The color must not be opaque so as not to hide underlying decorations.'), true);
|
|
31
|
+
const overviewRulerWordHighlightTextForeground = registerColor('editorOverviewRuler.wordHighlightTextForeground', overviewRulerSelectionHighlightForeground, localize(1564, 'Overview ruler marker color of a textual occurrence for a symbol. The color must not be opaque so as not to hide underlying decorations.'), true);
|
|
32
32
|
const _WRITE_OPTIONS = ModelDecorationOptions.register({
|
|
33
33
|
description: 'word-highlight-strong',
|
|
34
34
|
stickiness: 1 /* TrackedRangeStickiness.NeverGrowsWhenTypingAtEdges */,
|
|
@@ -742,7 +742,7 @@ class NextWordHighlightAction extends WordHighlightNavigationAction {
|
|
|
742
742
|
constructor() {
|
|
743
743
|
super(true, {
|
|
744
744
|
id: 'editor.action.wordHighlight.next',
|
|
745
|
-
label: localize2(
|
|
745
|
+
label: localize2(1565, "Go to Next Symbol Highlight"),
|
|
746
746
|
precondition: ctxHasWordHighlights,
|
|
747
747
|
kbOpts: {
|
|
748
748
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -756,7 +756,7 @@ class PrevWordHighlightAction extends WordHighlightNavigationAction {
|
|
|
756
756
|
constructor() {
|
|
757
757
|
super(false, {
|
|
758
758
|
id: 'editor.action.wordHighlight.prev',
|
|
759
|
-
label: localize2(
|
|
759
|
+
label: localize2(1566, "Go to Previous Symbol Highlight"),
|
|
760
760
|
precondition: ctxHasWordHighlights,
|
|
761
761
|
kbOpts: {
|
|
762
762
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -770,7 +770,7 @@ class TriggerWordHighlightAction extends EditorAction {
|
|
|
770
770
|
constructor() {
|
|
771
771
|
super({
|
|
772
772
|
id: 'editor.action.wordHighlight.trigger',
|
|
773
|
-
label: localize2(
|
|
773
|
+
label: localize2(1567, "Trigger Symbol Highlight"),
|
|
774
774
|
precondition: undefined,
|
|
775
775
|
kbOpts: {
|
|
776
776
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -396,7 +396,7 @@ class DeleteInsideWord extends EditorAction {
|
|
|
396
396
|
super({
|
|
397
397
|
id: 'deleteInsideWord',
|
|
398
398
|
precondition: EditorContextKeys.writable,
|
|
399
|
-
label: localize2(
|
|
399
|
+
label: localize2(1568, "Delete Word"),
|
|
400
400
|
});
|
|
401
401
|
}
|
|
402
402
|
run(accessor, editor, args) {
|