monaco-editor 0.56.0-dev-20260121 → 0.56.0-dev-20260123
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-C1mHXZTT.js → css.worker-ffp49_cC.js} +58 -56
- package/dev/vs/assets/{editor.worker-DMuwmZqI.js → editor.worker-waqpqn9S.js} +58 -56
- package/dev/vs/assets/{editorWebWorkerMain-BF9MKtzx.js → editorWebWorkerMain-rsQTQBqS.js} +58 -56
- package/dev/vs/assets/{html.worker-CnU9mi9l.js → html.worker-B-Dhwg_P.js} +58 -56
- package/dev/vs/assets/{json.worker-CnKP0LWf.js → json.worker-Cz-hJJ-X.js} +58 -56
- package/dev/vs/assets/{ts.worker-Cw4JXdL0.js → ts.worker-BHSjxfUg.js} +58 -56
- package/dev/vs/basic-languages/monaco.contribution.js +18 -18
- package/dev/vs/{css.worker-B9TJsr2Z.js → css.worker-DbKG6W5b.js} +2 -2
- package/dev/vs/{cssMode-B0VkNrib.js → cssMode-C3CjCC4D.js} +1 -1
- package/dev/vs/editor/editor.main.css +20 -49
- package/dev/vs/editor/editor.main.js +2 -2
- package/dev/vs/editor/editor.worker.js +1 -1
- package/dev/vs/{editor-CR18QzPP.js → editor-ByVgNwiX.js} +1232 -1136
- package/dev/vs/editor.js +1 -1
- package/dev/vs/{editorWorkerHost--0eDLpc-.js → editorWorkerHost-CSCfA6JO.js} +60 -58
- package/dev/vs/{freemarker2-Byr9HmH9.js → freemarker2-Bnmb8_zY.js} +1 -1
- package/dev/vs/{handlebars-BEVXeROF.js → handlebars-Dc4pj4ST.js} +1 -1
- package/dev/vs/{html-CetHjWIf.js → html-Gx48L-1h.js} +1 -1
- package/dev/vs/{html.worker-B4TnFQEA.js → html.worker-Q3fLApWB.js} +2 -2
- package/dev/vs/{htmlMode-BNKYUVNo.js → htmlMode-C0cIjK2m.js} +1 -1
- package/dev/vs/{index-g_7JbDIY.js → index-BmuewTCy.js} +1 -1
- package/dev/vs/index.js +1 -1
- package/dev/vs/{initialize-Bfvoywyr.js → initialize-J9jkp405.js} +1 -1
- package/dev/vs/{javascript-BEgEU725.js → javascript-D0xbuIYt.js} +1 -1
- package/dev/vs/{json.worker-C2LEGBju.js → json.worker-Byvb_Y0q.js} +2 -2
- package/dev/vs/{jsonMode-CT2UkfFE.js → jsonMode-Dc1J228j.js} +1 -1
- package/dev/vs/language/css/css.worker.js +1 -1
- package/dev/vs/language/css/monaco.contribution.js +1 -1
- package/dev/vs/language/html/html.worker.js +1 -1
- package/dev/vs/language/html/monaco.contribution.js +1 -1
- package/dev/vs/language/json/json.worker.js +1 -1
- package/dev/vs/language/json/monaco.contribution.js +1 -1
- package/dev/vs/language/typescript/monaco.contribution.js +1 -1
- package/dev/vs/language/typescript/ts.worker.js +1 -1
- package/dev/vs/{liquid-D-aiCb1P.js → liquid-BS75ollB.js} +1 -1
- package/dev/vs/{lspLanguageFeatures-CE9Occyu.js → lspLanguageFeatures-9tffJ5tN.js} +1 -1
- package/dev/vs/{mdx-DchJ8pbq.js → mdx-BafRHPZZ.js} +1 -1
- package/dev/vs/{monaco.contribution-CVBrIlxn.js → monaco.contribution-BOrU-t9u.js} +2 -2
- package/dev/vs/{monaco.contribution-CZxuzvA9.js → monaco.contribution-BuTPNIwn.js} +2 -2
- package/dev/vs/{monaco.contribution-Cw4OdERZ.js → monaco.contribution-D_m9AMAg.js} +2 -2
- package/dev/vs/{monaco.contribution-CHqb1dWh.js → monaco.contribution-DhNNHvGu.js} +2 -2
- package/dev/vs/nls/lang/cs.js +2 -2
- package/dev/vs/nls/lang/de.js +2 -2
- package/dev/vs/nls/lang/es.js +2 -2
- package/dev/vs/nls/lang/fr.js +2 -2
- package/dev/vs/nls/lang/it.js +2 -2
- package/dev/vs/nls/lang/ja.js +2 -2
- package/dev/vs/nls/lang/ko.js +2 -2
- package/dev/vs/nls/lang/pl.js +2 -2
- package/dev/vs/nls/lang/pt-br.js +2 -2
- package/dev/vs/nls/lang/ru.js +2 -2
- package/dev/vs/nls/lang/tr.js +2 -2
- package/dev/vs/nls/lang/zh-cn.js +2 -2
- package/dev/vs/nls/lang/zh-tw.js +2 -2
- package/dev/vs/{python-BCOSaCC8.js → python-D-c3bdyL.js} +1 -1
- package/dev/vs/{razor-BM2tZCwj.js → razor-v7al5kd4.js} +1 -1
- package/dev/vs/{toggleHighContrast-CLgtrrIB.js → toggleHighContrast-DkOkzJmE.js} +952 -839
- package/dev/vs/{ts.worker-CArJhH03.js → ts.worker-D8b1uxsf.js} +2 -2
- package/dev/vs/{tsMode-jpkv3SbL.js → tsMode-KTRrMuzt.js} +1 -1
- package/dev/vs/{typescript-f8pt88eA.js → typescript-BSiaiq-E.js} +1 -1
- package/dev/vs/{workers-zrUx_2Gw.js → workers-CRiEObDp.js} +1 -1
- package/dev/vs/{xml-CmSjtiR0.js → xml-CNu5z8S7.js} +1 -1
- package/dev/vs/{yaml-PRriLGdw.js → yaml-3Fy2WUAc.js} +1 -1
- package/esm/vs/base/browser/markdownRenderer.js +0 -1
- package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/esm/vs/base/browser/ui/tree/abstractTree.js +15 -2
- package/esm/vs/base/common/actions.js +1 -1
- package/esm/vs/base/common/codiconsLibrary.js +2 -0
- package/esm/vs/base/common/errorMessage.js +6 -6
- package/esm/vs/base/common/keybindingLabels.js +20 -20
- package/esm/vs/base/common/network.js +0 -2
- package/esm/vs/base/common/observableInternal/observables/derivedImpl.js +10 -4
- 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/observableCodeEditor.js +41 -0
- package/esm/vs/editor/browser/services/inlineCompletionsService.js +4 -4
- package/esm/vs/editor/browser/services/renameSymbolTrackerService.js +18 -0
- package/esm/vs/editor/browser/view.js +3 -0
- package/esm/vs/editor/browser/viewParts/viewLines/viewLine.js +14 -0
- package/esm/vs/editor/browser/viewParts/viewLines/viewLines.js +7 -0
- package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +8 -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/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/browser/widget/multiDiffEditor/style.css +2 -41
- package/esm/vs/editor/common/config/editorConfigurationSchema.js +55 -55
- package/esm/vs/editor/common/config/editorOptions.js +410 -410
- package/esm/vs/editor/common/core/editorColorRegistry.js +70 -70
- package/esm/vs/editor/common/editorContextKeys.js +48 -48
- package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
- package/esm/vs/editor/common/languages.js +56 -56
- package/esm/vs/editor/common/model/editStack.js +1 -1
- package/esm/vs/editor/common/standaloneStrings.js +11 -11
- 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 +44 -34
- package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +5 -4
- package/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/esm/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/esm/vs/editor/contrib/find/browser/findController.js +16 -16
- package/esm/vs/editor/contrib/find/browser/findWidget.css +5 -6
- package/esm/vs/editor/contrib/find/browser/findWidget.js +26 -26
- package/esm/vs/editor/contrib/floatingMenu/browser/floatingMenu.css +2 -1
- package/esm/vs/editor/contrib/floatingMenu/browser/floatingMenu.js +55 -47
- package/esm/vs/editor/contrib/folding/browser/folding.js +20 -20
- package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +40 -40
- package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/esm/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/esm/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/esm/vs/editor/contrib/hover/browser/hoverCopyButton.js +2 -2
- package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +7 -7
- package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +21 -21
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +13 -13
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +4 -4
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js +107 -18
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +3 -3
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +2 -8
- package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
- package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/esm/vs/editor/contrib/links/browser/links.js +10 -10
- package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
- package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +10 -10
- package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/esm/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
- package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/esm/vs/editor/contrib/suggest/browser/suggest.js +9 -9
- package/esm/vs/editor/contrib/suggest/browser/suggestController.js +11 -11
- package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +3 -3
- package/esm/vs/editor/standalone/browser/services/standaloneWebWorkerService.js +2 -1
- package/esm/vs/editor/standalone/browser/standaloneServices.js +2 -0
- package/esm/vs/nls/lang/cs.js +2 -2
- package/esm/vs/nls/lang/de.js +2 -2
- package/esm/vs/nls/lang/es.js +2 -2
- package/esm/vs/nls/lang/fr.js +2 -2
- package/esm/vs/nls/lang/it.js +2 -2
- package/esm/vs/nls/lang/ja.js +2 -2
- package/esm/vs/nls/lang/ko.js +2 -2
- package/esm/vs/nls/lang/pl.js +2 -2
- package/esm/vs/nls/lang/pt-br.js +2 -2
- package/esm/vs/nls/lang/ru.js +2 -2
- package/esm/vs/nls/lang/tr.js +2 -2
- package/esm/vs/nls/lang/zh-cn.js +2 -2
- package/esm/vs/nls/lang/zh-tw.js +2 -2
- package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/esm/vs/platform/actionWidget/browser/actionList.js +35 -12
- package/esm/vs/platform/actionWidget/browser/actionWidget.css +10 -0
- package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +3 -3
- package/esm/vs/platform/actions/browser/toolbar.js +2 -2
- package/esm/vs/platform/actions/common/actions.js +2 -0
- package/esm/vs/platform/actions/common/menuService.js +2 -2
- package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
- package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/esm/vs/platform/contextkey/common/scanner.js +5 -5
- package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/esm/vs/platform/hover/browser/hoverWidget.js +1 -1
- package/esm/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
- package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +5 -5
- package/esm/vs/platform/list/browser/listService.js +27 -27
- package/esm/vs/platform/markers/common/markerService.js +2 -2
- package/esm/vs/platform/markers/common/markers.js +6 -6
- package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +8 -8
- 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/quickinput/browser/tree/quickTree.js +1 -1
- package/esm/vs/platform/theme/common/colorUtils.js +2 -2
- package/esm/vs/platform/theme/common/colors/baseColors.js +18 -18
- package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
- package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
- package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/esm/vs/platform/theme/common/colors/miscColors.js +16 -16
- package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
- package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/esm/vs/platform/workspace/common/workspace.js +1 -1
- package/min/vs/assets/{css.worker-57ylMqdQ.js → css.worker-vaqto7sr.js} +1 -1
- package/min/vs/assets/{editor.worker-C7rTzOHm.js → editor.worker-BuSZtiLy.js} +1 -1
- package/min/vs/assets/{editorWebWorkerMain-CRWuSSWk.js → editorWebWorkerMain-CcySIMs1.js} +1 -1
- package/min/vs/assets/{html.worker-DUkJXKh4.js → html.worker-tjoOkh5c.js} +29 -29
- package/min/vs/assets/{json.worker-DHFIjIvp.js → json.worker-ChdyNJDo.js} +1 -1
- package/min/vs/assets/{ts.worker-CKcSPjM2.js → ts.worker-2vlHj5mS.js} +1 -1
- package/min/vs/basic-languages/monaco.contribution.js +1 -1
- package/min/vs/css.worker-BZUqk_6e.js +1 -0
- package/min/vs/{cssMode-CheCY05R.js → cssMode-EV9AppWM.js} +1 -1
- package/min/vs/editor/editor.main.css +1 -1
- package/min/vs/editor/editor.main.js +1 -1
- package/min/vs/editor/editor.worker.js +1 -1
- package/min/vs/{editor-DxYWA3-X.js → editor-CWlwBnTd.js} +100 -100
- package/min/vs/editor.js +1 -1
- package/min/vs/{editorWorkerHost-DnKHgOKB.js → editorWorkerHost-BdAdaHF2.js} +2 -2
- package/min/vs/{freemarker2-C7J7V1Hp.js → freemarker2-CVBBrC8k.js} +1 -1
- package/min/vs/{handlebars-DsCar5Ix.js → handlebars-jFcyrSuz.js} +1 -1
- package/min/vs/{html-BGLIaUZV.js → html-IMKtsVBe.js} +1 -1
- package/min/vs/html.worker-BWiqWL_n.js +1 -0
- package/min/vs/{htmlMode-BB6WOoy3.js → htmlMode-GF6ANT1a.js} +1 -1
- package/min/vs/{index-BdR0nSqf.js → index-Duco_ua_.js} +1 -1
- package/min/vs/index.js +1 -1
- package/min/vs/{initialize-BZ6ciHHH.js → initialize-ChT-7fRb.js} +1 -1
- package/min/vs/{javascript-CXE3i1eX.js → javascript-CBNkgHAf.js} +1 -1
- package/min/vs/json.worker-ByICzyV2.js +1 -0
- package/min/vs/{jsonMode-rtaE9alu.js → jsonMode-Dcnh-7Ad.js} +1 -1
- package/min/vs/language/css/css.worker.js +1 -1
- package/min/vs/language/css/monaco.contribution.js +1 -1
- package/min/vs/language/html/html.worker.js +1 -1
- package/min/vs/language/html/monaco.contribution.js +1 -1
- package/min/vs/language/json/json.worker.js +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/language/typescript/ts.worker.js +1 -1
- package/min/vs/{liquid-CEdn0ovR.js → liquid-_SgSuP3b.js} +1 -1
- package/min/vs/{lspLanguageFeatures-CRAjJmzF.js → lspLanguageFeatures-GNn6MJbu.js} +1 -1
- package/min/vs/{mdx-DLDMIqnu.js → mdx-Erxbe_-t.js} +1 -1
- package/min/vs/{monaco.contribution-C67XgReK.js → monaco.contribution-0dpFCE3L.js} +1 -1
- package/min/vs/{monaco.contribution-DjiQkKLa.js → monaco.contribution-BnqxFPvj.js} +1 -1
- package/min/vs/{monaco.contribution-BrRAk-VA.js → monaco.contribution-BxCvVJFk.js} +1 -1
- package/min/vs/{monaco.contribution-CYT-Sx3l.js → monaco.contribution-CeyPlyhD.js} +1 -1
- package/min/vs/nls/lang/cs.js +2 -2
- package/min/vs/nls/lang/de.js +2 -2
- package/min/vs/nls/lang/es.js +2 -2
- package/min/vs/nls/lang/fr.js +2 -2
- package/min/vs/nls/lang/it.js +2 -2
- package/min/vs/nls/lang/ja.js +2 -2
- package/min/vs/nls/lang/ko.js +2 -2
- package/min/vs/nls/lang/pl.js +2 -2
- package/min/vs/nls/lang/pt-br.js +2 -2
- package/min/vs/nls/lang/ru.js +2 -2
- package/min/vs/nls/lang/tr.js +2 -2
- package/min/vs/nls/lang/zh-cn.js +2 -2
- package/min/vs/nls/lang/zh-tw.js +2 -2
- package/min/vs/{python-CKbl_I3e.js → python-DzOjdI_x.js} +1 -1
- package/min/vs/{razor--RjiPxbd.js → razor-Dwx3J3cB.js} +1 -1
- package/min/vs/{toggleHighContrast-BKDMxisH.js → toggleHighContrast-Bg5GLQ5J.js} +32 -32
- package/min/vs/ts.worker-GOUX_DXT.js +1 -0
- package/min/vs/{tsMode-C48d5M22.js → tsMode-DxnLySbu.js} +1 -1
- package/min/vs/{typescript-e7oUhPyX.js → typescript-Blb6Hbmt.js} +1 -1
- package/min/vs/{workers-CtpYUoCo.js → workers-BmNNZ7XJ.js} +1 -1
- package/min/vs/{xml-tOyfgws7.js → xml-VvrpA2Ly.js} +1 -1
- package/min/vs/{yaml-Cmf9NYDf.js → yaml-CsmbXG_T.js} +1 -1
- package/package.json +3 -3
- package/min/vs/css.worker-CkPP9VjP.js +0 -1
- package/min/vs/html.worker-uHOusrcK.js +0 -1
- package/min/vs/json.worker-DGsNKzKv.js +0 -1
- package/min/vs/ts.worker-DyDnfuDL.js +0 -1
|
@@ -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(1490, 'Background color of the suggest widget.'));
|
|
58
|
+
registerColor('editorSuggestWidget.border', editorWidgetBorder, localize(1491, 'Border color of the suggest widget.'));
|
|
59
|
+
const editorSuggestWidgetForeground = registerColor('editorSuggestWidget.foreground', editorForeground, localize(1492, 'Foreground color of the suggest widget.'));
|
|
60
|
+
registerColor('editorSuggestWidget.selectedForeground', quickInputListFocusForeground, localize(1493, 'Foreground color of the selected entry in the suggest widget.'));
|
|
61
|
+
registerColor('editorSuggestWidget.selectedIconForeground', quickInputListFocusIconForeground, localize(1494, 'Icon foreground color of the selected entry in the suggest widget.'));
|
|
62
|
+
const editorSuggestWidgetSelectedBackground = registerColor('editorSuggestWidget.selectedBackground', quickInputListFocusBackground, localize(1495, 'Background color of the selected entry in the suggest widget.'));
|
|
63
|
+
registerColor('editorSuggestWidget.highlightForeground', listHighlightForeground, localize(1496, 'Color of the match highlights in the suggest widget.'));
|
|
64
|
+
registerColor('editorSuggestWidget.focusHighlightForeground', listFocusHighlightForeground, localize(1497, 'Color of the match highlights in the suggest widget when an item is focused.'));
|
|
65
|
+
registerColor('editorSuggestWidgetStatus.foreground', transparent(editorSuggestWidgetForeground, .5), localize(1498, '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(1499, "Loading..."); }
|
|
94
|
+
static { this.NO_SUGGESTIONS_MESSAGE = localize(1500, "No suggestions."); }
|
|
95
95
|
constructor(editor, _storageService, _contextKeyService, _themeService, instantiationService) {
|
|
96
96
|
this.editor = editor;
|
|
97
97
|
this._storageService = _storageService;
|
|
@@ -177,7 +177,7 @@ let SuggestWidget = class SuggestWidget {
|
|
|
177
177
|
multipleSelectionSupport: false,
|
|
178
178
|
accessibilityProvider: {
|
|
179
179
|
getRole: () => isWindows ? 'listitem' : 'option',
|
|
180
|
-
getWidgetAriaLabel: () => localize(
|
|
180
|
+
getWidgetAriaLabel: () => localize(1501, "Suggest"),
|
|
181
181
|
getWidgetRole: () => 'listbox',
|
|
182
182
|
getAriaLabel: (item) => {
|
|
183
183
|
let label = item.textLabel;
|
|
@@ -185,24 +185,24 @@ let SuggestWidget = class SuggestWidget {
|
|
|
185
185
|
if (typeof item.completion.label !== 'string') {
|
|
186
186
|
const { detail, description } = item.completion.label;
|
|
187
187
|
if (detail && description) {
|
|
188
|
-
label = localize(
|
|
188
|
+
label = localize(1502, '{0} {1}, {2}, {3}', label, detail, description, kindLabel);
|
|
189
189
|
}
|
|
190
190
|
else if (detail) {
|
|
191
|
-
label = localize(
|
|
191
|
+
label = localize(1503, '{0} {1}, {2}', label, detail, kindLabel);
|
|
192
192
|
}
|
|
193
193
|
else if (description) {
|
|
194
|
-
label = localize(
|
|
194
|
+
label = localize(1504, '{0}, {1}, {2}', label, description, kindLabel);
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
else {
|
|
198
|
-
label = localize(
|
|
198
|
+
label = localize(1505, '{0}, {1}', label, kindLabel);
|
|
199
199
|
}
|
|
200
200
|
if (!item.isResolved || !this._isDetailsVisible()) {
|
|
201
201
|
return label;
|
|
202
202
|
}
|
|
203
203
|
const { documentation, detail } = item.completion;
|
|
204
204
|
const docs = format('{0}{1}', detail || '', documentation ? (typeof documentation === 'string' ? documentation : documentation.value) : '');
|
|
205
|
-
return localize(
|
|
205
|
+
return localize(1506, "{0}, docs: {1}", label, docs);
|
|
206
206
|
},
|
|
207
207
|
}
|
|
208
208
|
});
|
|
@@ -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(1507, "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(1508, "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(1509, '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(1510, "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(1511, "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(1512, 'The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
20
|
+
registerColor('symbolIcon.booleanForeground', foreground, localize(1513, '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(1514, 'The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
27
|
+
registerColor('symbolIcon.colorForeground', foreground, localize(1515, 'The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
28
|
+
registerColor('symbolIcon.constantForeground', foreground, localize(1516, '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(1517, '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(1518, '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(1519, '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(1520, '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(1521, 'The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
59
|
+
registerColor('symbolIcon.fileForeground', foreground, localize(1522, 'The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
60
|
+
registerColor('symbolIcon.folderForeground', foreground, localize(1523, '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(1524, '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(1525, 'The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
73
|
+
registerColor('symbolIcon.keyForeground', foreground, localize(1526, 'The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
74
|
+
registerColor('symbolIcon.keywordForeground', foreground, localize(1527, '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(1528, 'The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
81
|
+
registerColor('symbolIcon.moduleForeground', foreground, localize(1529, 'The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
82
|
+
registerColor('symbolIcon.namespaceForeground', foreground, localize(1530, 'The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
83
|
+
registerColor('symbolIcon.nullForeground', foreground, localize(1531, 'The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
84
|
+
registerColor('symbolIcon.numberForeground', foreground, localize(1532, 'The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
85
|
+
registerColor('symbolIcon.objectForeground', foreground, localize(1533, 'The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
86
|
+
registerColor('symbolIcon.operatorForeground', foreground, localize(1534, 'The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
87
|
+
registerColor('symbolIcon.packageForeground', foreground, localize(1535, 'The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
88
|
+
registerColor('symbolIcon.propertyForeground', foreground, localize(1536, 'The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
89
|
+
registerColor('symbolIcon.referenceForeground', foreground, localize(1537, 'The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
90
|
+
registerColor('symbolIcon.snippetForeground', foreground, localize(1538, 'The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
91
|
+
registerColor('symbolIcon.stringForeground', foreground, localize(1539, 'The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
92
|
+
registerColor('symbolIcon.structForeground', foreground, localize(1540, 'The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
93
|
+
registerColor('symbolIcon.textForeground', foreground, localize(1541, 'The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
94
|
+
registerColor('symbolIcon.typeParameterForeground', foreground, localize(1542, 'The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.'));
|
|
95
|
+
registerColor('symbolIcon.unitForeground', foreground, localize(1543, '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(1544, '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(1547, '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(1548, "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(1545, "Pressing Tab will now move focus to the next focusable element"));
|
|
34
34
|
}
|
|
35
35
|
else {
|
|
36
|
-
alert(localize(
|
|
36
|
+
alert(localize(1546, "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(1549, "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(1550, "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(1551, '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(1552, '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(1553, '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(1554, '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(1555, '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(1556, '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(1557, '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(1558, 'The character {0} is invisible.', codePointStr);
|
|
381
381
|
break;
|
|
382
382
|
case 2 /* UnicodeHighlighterReasonKind.NonBasicAscii */:
|
|
383
|
-
reason = localize(
|
|
383
|
+
reason = localize(1559, '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(1560, 'Adjust settings');
|
|
397
397
|
const uri = createCommandUri(ShowExcludeOptions.ID, adjustSettingsArgs);
|
|
398
398
|
const markdown = new MarkdownString('', true)
|
|
399
399
|
.appendMarkdown(reason)
|
|
@@ -464,10 +464,10 @@ class DisableHighlightingInCommentsAction extends EditorAction {
|
|
|
464
464
|
constructor() {
|
|
465
465
|
super({
|
|
466
466
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
467
|
-
label: localize2(
|
|
467
|
+
label: localize2(1569, "Disable highlighting of characters in comments"),
|
|
468
468
|
precondition: undefined
|
|
469
469
|
});
|
|
470
|
-
this.shortLabel = localize(
|
|
470
|
+
this.shortLabel = localize(1561, 'Disable Highlight In Comments');
|
|
471
471
|
}
|
|
472
472
|
async run(accessor, editor) {
|
|
473
473
|
const configurationService = accessor.get(IConfigurationService);
|
|
@@ -483,10 +483,10 @@ class DisableHighlightingInStringsAction extends EditorAction {
|
|
|
483
483
|
constructor() {
|
|
484
484
|
super({
|
|
485
485
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
486
|
-
label: localize2(
|
|
486
|
+
label: localize2(1570, "Disable highlighting of characters in strings"),
|
|
487
487
|
precondition: undefined
|
|
488
488
|
});
|
|
489
|
-
this.shortLabel = localize(
|
|
489
|
+
this.shortLabel = localize(1562, 'Disable Highlight In Strings');
|
|
490
490
|
}
|
|
491
491
|
async run(accessor, editor) {
|
|
492
492
|
const configurationService = accessor.get(IConfigurationService);
|
|
@@ -503,11 +503,11 @@ class DisableHighlightingOfAmbiguousCharactersAction extends Action2 {
|
|
|
503
503
|
constructor() {
|
|
504
504
|
super({
|
|
505
505
|
id: DisableHighlightingOfAmbiguousCharactersAction.ID,
|
|
506
|
-
title: localize2(
|
|
506
|
+
title: localize2(1571, "Disable highlighting of ambiguous characters"),
|
|
507
507
|
precondition: undefined,
|
|
508
508
|
f1: false,
|
|
509
509
|
});
|
|
510
|
-
this.shortLabel = localize(
|
|
510
|
+
this.shortLabel = localize(1563, 'Disable Ambiguous Highlight');
|
|
511
511
|
}
|
|
512
512
|
async run(accessor, editor) {
|
|
513
513
|
const configurationService = accessor.get(IConfigurationService);
|
|
@@ -524,11 +524,11 @@ class DisableHighlightingOfInvisibleCharactersAction extends Action2 {
|
|
|
524
524
|
constructor() {
|
|
525
525
|
super({
|
|
526
526
|
id: DisableHighlightingOfInvisibleCharactersAction.ID,
|
|
527
|
-
title: localize2(
|
|
527
|
+
title: localize2(1572, "Disable highlighting of invisible characters"),
|
|
528
528
|
precondition: undefined,
|
|
529
529
|
f1: false,
|
|
530
530
|
});
|
|
531
|
-
this.shortLabel = localize(
|
|
531
|
+
this.shortLabel = localize(1564, 'Disable Invisible Highlight');
|
|
532
532
|
}
|
|
533
533
|
async run(accessor, editor) {
|
|
534
534
|
const configurationService = accessor.get(IConfigurationService);
|
|
@@ -545,11 +545,11 @@ class DisableHighlightingOfNonBasicAsciiCharactersAction extends Action2 {
|
|
|
545
545
|
constructor() {
|
|
546
546
|
super({
|
|
547
547
|
id: DisableHighlightingOfNonBasicAsciiCharactersAction.ID,
|
|
548
|
-
title: localize2(
|
|
548
|
+
title: localize2(1573, "Disable highlighting of non basic ASCII characters"),
|
|
549
549
|
precondition: undefined,
|
|
550
550
|
f1: false,
|
|
551
551
|
});
|
|
552
|
-
this.shortLabel = localize(
|
|
552
|
+
this.shortLabel = localize(1565, 'Disable Non ASCII Highlight');
|
|
553
553
|
}
|
|
554
554
|
async run(accessor, editor) {
|
|
555
555
|
const configurationService = accessor.get(IConfigurationService);
|
|
@@ -566,7 +566,7 @@ class ShowExcludeOptions extends Action2 {
|
|
|
566
566
|
constructor() {
|
|
567
567
|
super({
|
|
568
568
|
id: ShowExcludeOptions.ID,
|
|
569
|
-
title: localize2(
|
|
569
|
+
title: localize2(1574, "Show Exclude Options"),
|
|
570
570
|
precondition: undefined,
|
|
571
571
|
f1: false,
|
|
572
572
|
});
|
|
@@ -578,15 +578,15 @@ class ShowExcludeOptions extends Action2 {
|
|
|
578
578
|
const configurationService = accessor.get(IConfigurationService);
|
|
579
579
|
function getExcludeCharFromBeingHighlightedLabel(codePoint) {
|
|
580
580
|
if (InvisibleCharacters.isInvisibleCharacter(codePoint)) {
|
|
581
|
-
return localize(
|
|
581
|
+
return localize(1566, 'Exclude {0} (invisible character) from being highlighted', codePointToHex(codePoint));
|
|
582
582
|
}
|
|
583
|
-
return localize(
|
|
583
|
+
return localize(1567, 'Exclude {0} from being highlighted', `${codePointToHex(codePoint)} "${char}"`);
|
|
584
584
|
}
|
|
585
585
|
const options = [];
|
|
586
586
|
if (reason.kind === 0 /* UnicodeHighlighterReasonKind.Ambiguous */) {
|
|
587
587
|
for (const locale of reason.notAmbiguousInLocales) {
|
|
588
588
|
options.push({
|
|
589
|
-
label: localize(
|
|
589
|
+
label: localize(1568, "Allow unicode characters that are more common in the language \"{0}\".", locale),
|
|
590
590
|
run: async () => {
|
|
591
591
|
excludeLocaleFromBeingHighlighted(configurationService, [locale]);
|
|
592
592
|
},
|
|
@@ -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(1575, "Unusual Line Terminators"),
|
|
90
|
+
message: localize(1576, "Detected unusual line terminators"),
|
|
91
|
+
detail: localize(1577, "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(1578, "&&Remove Unusual Line Terminators"),
|
|
93
|
+
cancelButton: localize(1579, "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(1580, '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(1581, '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(1582, '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(1583, '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(1584, 'Border color of a symbol during write-access, like writing to a variable.'));
|
|
28
|
+
registerColor('editor.wordHighlightTextBorder', wordHighlightBorder, localize(1585, "Border color of a textual occurrence for a symbol."));
|
|
29
|
+
const overviewRulerWordHighlightForeground = registerColor('editorOverviewRuler.wordHighlightForeground', '#A0A0A0CC', localize(1586, '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(1587, '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(1588, '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(1589, "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(1590, "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(1591, "Trigger Symbol Highlight"),
|
|
774
774
|
precondition: undefined,
|
|
775
775
|
kbOpts: {
|
|
776
776
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -396,9 +396,9 @@ class DeleteInsideWord extends EditorAction {
|
|
|
396
396
|
super({
|
|
397
397
|
id: 'deleteInsideWord',
|
|
398
398
|
precondition: EditorContextKeys.writable,
|
|
399
|
-
label: localize2(
|
|
399
|
+
label: localize2(1593, "Delete Word"),
|
|
400
400
|
metadata: {
|
|
401
|
-
description: localize2(
|
|
401
|
+
description: localize2(1594, "Delete the word at the cursor"),
|
|
402
402
|
args: [{
|
|
403
403
|
name: 'args',
|
|
404
404
|
schema: {
|
|
@@ -407,7 +407,7 @@ class DeleteInsideWord extends EditorAction {
|
|
|
407
407
|
'onlyWord': {
|
|
408
408
|
type: 'boolean',
|
|
409
409
|
default: false,
|
|
410
|
-
description: localize(
|
|
410
|
+
description: localize(1592, "Delete only the word and leave surrounding whitespace")
|
|
411
411
|
}
|
|
412
412
|
}
|
|
413
413
|
}
|
|
@@ -19,8 +19,9 @@ class StandaloneWebWorkerService extends WebWorkerService {
|
|
|
19
19
|
return super._createWorker(descriptor);
|
|
20
20
|
}
|
|
21
21
|
_getWorkerLoadingFailedErrorMessage(descriptor) {
|
|
22
|
+
const examplePath = '\'...?esm\''; // Broken up to avoid detection by bundler plugin
|
|
22
23
|
return `Failed to load worker script for label: ${descriptor.label}.
|
|
23
|
-
Ensure your bundler properly bundles modules referenced by "new URL(
|
|
24
|
+
Ensure your bundler properly bundles modules referenced by "new URL(${examplePath}, import.meta.url)".`;
|
|
24
25
|
}
|
|
25
26
|
getWorkerUrl(descriptor) {
|
|
26
27
|
const monacoEnvironment = getMonacoEnvironment();
|
|
@@ -15,6 +15,7 @@ import { ImmortalReference, combinedDisposable, toDisposable, DisposableStore, D
|
|
|
15
15
|
import { OS, isLinux, isMacintosh } from '../../../base/common/platform.js';
|
|
16
16
|
import Severity from '../../../base/common/severity.js';
|
|
17
17
|
import { URI } from '../../../base/common/uri.js';
|
|
18
|
+
import { NullRenameSymbolTrackerService, IRenameSymbolTrackerService } from '../../browser/services/renameSymbolTrackerService.js';
|
|
18
19
|
import { ResourceEdit, ResourceTextEdit, IBulkEditService } from '../../browser/services/bulkEditService.js';
|
|
19
20
|
import { isEditorConfigurationKey, isDiffEditorConfigurationKey } from '../../common/config/editorConfigurationSchema.js';
|
|
20
21
|
import { EditOperation } from '../../common/core/editOperation.js';
|
|
@@ -693,6 +694,7 @@ registerSingleton(ITreeSitterLibraryService, StandaloneTreeSitterLibraryService,
|
|
|
693
694
|
registerSingleton(ILoggerService, NullLoggerService, 0 /* InstantiationType.Eager */);
|
|
694
695
|
registerSingleton(IDataChannelService, NullDataChannelService, 0 /* InstantiationType.Eager */);
|
|
695
696
|
registerSingleton(IDefaultAccountService, StandaloneDefaultAccountService, 0 /* InstantiationType.Eager */);
|
|
697
|
+
registerSingleton(IRenameSymbolTrackerService, NullRenameSymbolTrackerService, 0 /* InstantiationType.Eager */);
|
|
696
698
|
/**
|
|
697
699
|
* We don't want to eagerly instantiate services because embedders get a one time chance
|
|
698
700
|
* to override services when they create the first editor.
|