@codingame/monaco-vscode-api 6.0.2 → 7.0.0
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/README.md +93 -73
- package/api.js +1 -1
- package/debugProtocol.d.ts +10 -1
- package/extensions.d.ts +2 -0
- package/missing-services.js +21 -2
- package/monaco.d.ts +1 -1
- package/monaco.js +1 -1
- package/package.json +9 -9
- package/service-override/extensions.d.ts +1 -2
- package/services.js +4 -2
- package/vscode/src/vs/base/browser/dnd.js +1 -1
- package/vscode/src/vs/base/browser/dom.js +116 -5
- package/vscode/src/vs/base/browser/domObservable.js +16 -0
- package/vscode/src/vs/base/browser/markdownRenderer.js +5 -3
- package/vscode/src/vs/base/browser/trustedTypes.js +1 -2
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +1 -1
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +1 -1
- package/vscode/src/vs/base/browser/ui/button/button.js +2 -2
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +1 -4
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +1 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.js +1 -1
- package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +32 -16
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate2.js +2 -2
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -0
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +1 -1
- package/vscode/src/vs/base/browser/ui/iconLabel/simpleIconLabel.js +1 -1
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +1 -1
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +1 -1
- package/vscode/src/vs/base/browser/ui/list/listView.js +3 -5
- package/vscode/src/vs/base/browser/ui/list/rowCache.js +1 -8
- package/vscode/src/vs/base/browser/ui/sash/sash.js +1 -1
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +7 -11
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +1 -1
- package/vscode/src/vs/base/browser/ui/splitview/splitview.js +1 -1
- package/vscode/src/vs/base/browser/ui/table/tableWidget.js +1 -1
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +8 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +2 -3
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +0 -3
- package/vscode/src/vs/base/common/assert.js +1 -1
- package/vscode/src/vs/base/common/collections.js +49 -1
- package/vscode/src/vs/base/common/equals.js +55 -5
- package/vscode/src/vs/base/common/errors.js +14 -1
- package/vscode/src/vs/base/common/event.js +2 -1
- package/vscode/src/vs/base/common/history.js +7 -4
- package/vscode/src/vs/base/common/iterator.js +9 -1
- package/vscode/src/vs/base/common/map.d.ts +41 -0
- package/vscode/src/vs/base/common/numbers.js +18 -1
- package/vscode/src/vs/base/common/observableInternal/api.js +11 -0
- package/vscode/src/vs/base/common/observableInternal/autorun.js +18 -1
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +8 -1
- package/vscode/src/vs/base/common/observableInternal/base.js +2 -5
- package/vscode/src/vs/base/common/observableInternal/derived.js +13 -3
- package/vscode/src/vs/base/common/observableInternal/lazyObservableValue.js +109 -0
- package/vscode/src/vs/base/common/observableInternal/promise.js +3 -0
- package/vscode/src/vs/base/common/observableInternal/utils.d.ts +7 -0
- package/vscode/src/vs/base/common/observableInternal/utils.js +64 -12
- package/vscode/src/vs/base/common/prefixTree.d.ts +52 -0
- package/vscode/src/vs/base/common/product.d.ts +1 -0
- package/vscode/src/vs/base/parts/ipc/common/ipc.js +1 -1
- package/vscode/src/vs/editor/browser/config/charWidthReader.js +1 -1
- package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +1 -1
- package/vscode/src/vs/editor/browser/coreCommands.js +2 -1
- package/vscode/src/vs/editor/browser/observableCodeEditor.js +230 -0
- package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.js +26 -26
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +2 -2
- package/vscode/src/vs/editor/browser/view/domLineBreaksComputer.js +1 -1
- package/vscode/src/vs/editor/browser/view/viewLayer.js +4 -12
- package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.js +2 -2
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +15 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +8 -8
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +14 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +3 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +2 -2
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +1 -1
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +5 -0
- package/vscode/src/vs/editor/common/config/editorOptions.js +83 -65
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +43 -43
- package/vscode/src/vs/editor/common/cursor/cursor.js +3 -2
- package/vscode/src/vs/editor/common/cursor/cursorTypeEditOperations.js +911 -0
- package/vscode/src/vs/editor/common/cursor/cursorTypeOperations.js +36 -799
- package/vscode/src/vs/editor/common/cursor/cursorWordOperations.js +6 -5
- package/vscode/src/vs/editor/common/languageFeatureRegistry.d.ts +1 -0
- package/vscode/src/vs/editor/common/languageFeatureRegistry.js +3 -0
- package/vscode/src/vs/editor/common/languages/autoIndent.js +23 -1
- package/vscode/src/vs/editor/common/languages.d.ts +20 -3
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.js +6 -6
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase.js +19 -0
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.js +3 -0
- package/vscode/src/vs/editor/common/model/textModel.js +6 -2
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +5 -5
- package/vscode/src/vs/editor/common/model.d.ts +4 -0
- package/vscode/src/vs/editor/common/services/getIconClasses.js +1 -1
- package/vscode/src/vs/editor/common/services/semanticTokensProviderStyling.js +2 -15
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +63 -62
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +11 -8
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +2 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.css.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +18 -5
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +55 -27
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +7 -4
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +103 -47
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +18 -10
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +2 -4
- package/vscode/src/vs/editor/contrib/folding/browser/folding.css.js +1 -1
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +33 -13
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +12 -7
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +161 -185
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +321 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverStatusBar.js +4 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverTypes.js +6 -21
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.js +39 -40
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +55 -46
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +12 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverController.js +15 -9
- package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.js +11 -1
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +141 -93
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +24 -7
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +36 -1
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +5 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostTextWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +25 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +88 -118
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.js +34 -33
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsSource.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/provideInlineCompletions.js +11 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/suggestWidgetInlineCompletionProvider.js +10 -19
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/ghostTextWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/hoverParticipant.js +45 -27
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditController.js +4 -4
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/commands.js +126 -0
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/consts.js +9 -0
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEdits.contribution.js +9 -0
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsController.js +82 -0
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsModel.js +240 -0
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsWidget.css.js +4 -0
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsWidget.js +322 -0
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgress.js +8 -4
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +3 -2
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +2 -2
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +60 -0
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.css.js +4 -0
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScroll.css.js +1 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +38 -20
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +3 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetStatus.js +10 -32
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +23 -138
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +3 -0
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +5 -5
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +13 -12
- package/vscode/src/vs/editor/contrib/wordPartOperations/browser/wordPartOperations.js +3 -3
- package/vscode/src/vs/editor/editor.api.d.ts +31 -5
- package/vscode/src/vs/platform/accessibility/browser/accessibilityService.js +21 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +5 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +1 -1
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +27 -6
- package/vscode/src/vs/platform/actions/browser/floatingMenu.js +1 -1
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.css.js +1 -1
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +33 -3
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -1
- package/vscode/src/vs/platform/actions/common/actions.d.ts +3 -0
- package/vscode/src/vs/platform/actions/common/actions.js +3 -0
- package/vscode/src/vs/platform/actions/common/menuService.js +3 -2
- package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +1 -1
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +7 -5
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +109 -13
- package/vscode/src/vs/platform/diagnostics/common/diagnostics.d.ts +2 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +12 -6
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +3 -3
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +20 -10
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +46 -8
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +1 -1
- package/vscode/src/vs/platform/extensions/common/extensions.js +12 -3
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +368 -0
- package/vscode/src/vs/platform/files/common/watcher.js +21 -24
- package/vscode/src/vs/platform/list/browser/listService.js +2 -1
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.js +2 -2
- package/vscode/src/vs/platform/opener/browser/link.js +1 -1
- package/vscode/src/vs/platform/product/common/product.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
- package/vscode/src/vs/platform/remote/common/remoteExtensionsScanner.service.d.ts +0 -2
- package/vscode/src/vs/platform/request/common/request.js +18 -8
- package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.d.ts +2 -6
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/promptInputModel.d.ts +8 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.d.ts +1 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.js +25 -5
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +1 -1
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +6 -6
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +35 -35
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +4 -4
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +5 -5
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +1 -1
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +5 -5
- package/vscode/src/vs/platform/tunnel/common/tunnel.js +4 -1
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +75 -19
- package/vscode/src/vs/platform/window/common/window.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +32 -25
- package/vscode/src/vs/workbench/api/common/extHost.common.services.js +2 -0
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +2 -0
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +5 -11
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +5 -15
- package/vscode/src/vs/workbench/api/common/extHostChatVariables.js +2 -5
- package/vscode/src/vs/workbench/api/common/extHostComments.js +9 -3
- package/vscode/src/vs/workbench/api/common/extHostDebugService.js +32 -22
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +109 -40
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +46 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +84 -35
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +50 -41
- package/vscode/src/vs/workbench/api/common/extHostSearch.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostSecrets.js +11 -8
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +7 -6
- package/vscode/src/vs/workbench/api/common/extHostTesting.js +63 -70
- package/vscode/src/vs/workbench/api/common/extHostTextEditors.js +5 -3
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +75 -16
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +29 -4
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +127 -107
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +33 -21
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +23 -6
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +3 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +1 -1
- package/vscode/src/vs/workbench/browser/web.api.js +8 -0
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +199 -194
- package/vscode/src/vs/workbench/common/configuration.js +1 -1
- package/vscode/src/vs/workbench/common/contributions.js +8 -1
- package/vscode/src/vs/workbench/common/editor.js +5 -1
- package/vscode/src/vs/workbench/common/theme.js +79 -454
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +221 -239
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +17 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCollections.js +27 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js +35 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.js +51 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatConfirmationWidget.js → chatContentParts/chatConfirmationWidget.js} +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownContentPart.js +131 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatProgressContentPart.js +37 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.js +263 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTaskContentPart.js +37 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +160 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +171 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatWarningContentPart.js +34 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/{media → chatContentParts/media}/chatConfirmationWidget.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +91 -44
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +292 -1019
- package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +22 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +61 -54
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +23 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatAgentHover.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.js +5 -4
- package/vscode/src/vs/workbench/contrib/chat/common/codeBlockModelCollection.js +16 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.js +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +43 -16
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +1 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +7 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +2 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +2 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +8 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/media/panel.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/media/review.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/timestamp.js +1 -1
- package/vscode/src/vs/workbench/contrib/contextmenu/browser/contextmenu.contribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +14 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +8 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +19 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +13 -12
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +19 -2
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +9 -4
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +10 -5
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +4 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +235 -173
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionActions.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +2 -1
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +17 -5
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +62 -44
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +114 -107
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatContentWidget.js +33 -25
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +71 -101
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +38 -43
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +11 -33
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +3 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +49 -86
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +60 -71
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChatContentWidget.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +116 -113
- package/vscode/src/vs/workbench/contrib/markdown/browser/markdownDocumentRenderer.js +6 -10
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +1 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findFilters.js +12 -23
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findMatchDecorationModel.js +0 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findModel.js +7 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +88 -61
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +1 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +39 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +2 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +12 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellChat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.js +3 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +40 -105
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +27 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.js +14 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +43 -46
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDnd.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.js +12 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.js +19 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +9 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +5 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +16 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSourceFactory.service.js +3 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +11 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +12 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.js +5 -3
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +9 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +37 -36
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +18 -8
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +1 -1
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +14 -5
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +17 -22
- package/vscode/src/vs/workbench/contrib/remote/browser/media/tunnelView.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +7 -10
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +7 -27
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +3 -4
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchService.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +4 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +13 -37
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.d.ts +88 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.js +48 -31
- package/vscode/src/vs/workbench/contrib/testing/common/testId.d.ts +115 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.d.ts +226 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.d.ts +319 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +2 -3
- package/vscode/src/vs/workbench/contrib/testing/common/testingStates.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewWindowDragMonitor.js +21 -2
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewIconManager.js +7 -8
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +3 -3
- package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +10 -5
- package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.js +54 -21
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts +1 -0
- package/vscode/src/vs/workbench/services/extensions/browser/extensionService.d.ts +1 -2
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.d.ts +2 -4
- package/vscode/src/vs/workbench/services/extensions/common/extensions.js +5 -3
- package/vscode/src/vs/workbench/services/extensions/common/extensions.service.d.ts +3 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +59 -41
- package/vscode/src/vs/workbench/services/extensions/common/rpcProtocol.js +1 -1
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +3 -2
- package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +1 -0
- package/vscode/src/vs/workbench/services/language/common/languageService.js +7 -0
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +1 -1
- package/vscode/src/vs/workbench/services/preferences/common/preferences.d.ts +2 -2
- package/vscode/src/vs/workbench/services/search/common/search.js +2 -1
- package/vscode/src/vs/workbench/services/search/common/textSearchManager.js +2 -2
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +2 -2
- package/vscode/src/vs/workbench/services/textfile/common/encoding.js +69 -26
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +23 -4
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +5 -1
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +12 -5
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +38 -19
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +2 -1
- package/vscode-dts/vscode.proposed.aiTextSearchProvider.d.ts +0 -196
- package/vscode-dts/vscode.proposed.attributableCoverage.d.ts +28 -10
- package/vscode-dts/vscode.proposed.authGetSessions.d.ts +30 -22
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +17 -8
- package/vscode-dts/vscode.proposed.chatVariableResolver.d.ts +0 -9
- package/vscode-dts/vscode.proposed.commentReveal.d.ts +32 -0
- package/vscode-dts/vscode.proposed.commentThreadApplicability.d.ts +10 -0
- package/vscode-dts/vscode.proposed.createFileSystemWatcher.d.ts +1 -1
- package/vscode-dts/vscode.proposed.fileComments.d.ts +12 -53
- package/vscode-dts/vscode.proposed.fileSearchProvider.d.ts +6 -0
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +6 -0
- package/vscode-dts/vscode.proposed.lmTools.d.ts +91 -0
- package/vscode-dts/vscode.proposed.mappedEditsProvider.d.ts +1 -1
- package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +10 -6
- package/vscode-dts/vscode.proposed.terminalShellIntegration.d.ts +38 -13
- package/vscode/src/vs/editor/browser/observableUtilities.js +0 -58
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineProviderFactory.service.js +0 -3
- package/vscode/src/vs/workbench/services/extensions/common/extensionsApiProposals.js +0 -122
|
@@ -5,8 +5,7 @@ import '../../../base/common/platform.js';
|
|
|
5
5
|
import { URI } from '../../../base/common/uri.js';
|
|
6
6
|
import './files.js';
|
|
7
7
|
class AbstractWatcherClient extends Disposable {
|
|
8
|
-
static { this.
|
|
9
|
-
static { this.MAX_RESTARTS_PER_UNKNOWN_ERROR = 10; }
|
|
8
|
+
static { this.MAX_RESTARTS = 5; }
|
|
10
9
|
constructor(onFileChanges, onLogMessage, verboseLogging, options) {
|
|
11
10
|
super();
|
|
12
11
|
this.onFileChanges = onFileChanges;
|
|
@@ -15,8 +14,7 @@ class AbstractWatcherClient extends Disposable {
|
|
|
15
14
|
this.options = options;
|
|
16
15
|
this.watcherDisposables = this._register(( new MutableDisposable()));
|
|
17
16
|
this.requests = undefined;
|
|
18
|
-
this.
|
|
19
|
-
this.restartsPerUnknownError = 0;
|
|
17
|
+
this.restartCounter = 0;
|
|
20
18
|
}
|
|
21
19
|
init() {
|
|
22
20
|
const disposables = ( new DisposableStore());
|
|
@@ -28,35 +26,34 @@ class AbstractWatcherClient extends Disposable {
|
|
|
28
26
|
disposables.add(this.watcher.onDidError(e => this.onError(e.error, e.request)));
|
|
29
27
|
}
|
|
30
28
|
onError(error, failedRequest) {
|
|
31
|
-
if (this.
|
|
32
|
-
if (
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
this.error(`restarting watcher from error in watch request (retrying request): ${error} (${JSON.stringify(failedRequest)})`);
|
|
36
|
-
this.restartsPerRequestError.set(failedRequest.path, restartsPerRequestError + 1);
|
|
37
|
-
this.restart(this.requests);
|
|
38
|
-
}
|
|
39
|
-
else {
|
|
40
|
-
this.error(`restarting watcher from error in watch request (skipping request): ${error} (${JSON.stringify(failedRequest)})`);
|
|
41
|
-
this.restart(this.requests.filter(request => request.path !== failedRequest.path));
|
|
42
|
-
}
|
|
29
|
+
if (this.canRestart(error, failedRequest)) {
|
|
30
|
+
if (this.restartCounter < AbstractWatcherClient.MAX_RESTARTS && this.requests) {
|
|
31
|
+
this.error(`restarting watcher after unexpected error: ${error}`);
|
|
32
|
+
this.restart(this.requests);
|
|
43
33
|
}
|
|
44
34
|
else {
|
|
45
|
-
|
|
46
|
-
this.error(`restarting watcher after unknown global error: ${error}`);
|
|
47
|
-
this.restartsPerUnknownError++;
|
|
48
|
-
this.restart(this.requests);
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
this.error(`giving up attempting to restart watcher after error: ${error}`);
|
|
52
|
-
}
|
|
35
|
+
this.error(`gave up attempting to restart watcher after unexpected error: ${error}`);
|
|
53
36
|
}
|
|
54
37
|
}
|
|
55
38
|
else {
|
|
56
39
|
this.error(error);
|
|
57
40
|
}
|
|
58
41
|
}
|
|
42
|
+
canRestart(error, failedRequest) {
|
|
43
|
+
if (!this.options.restartOnError) {
|
|
44
|
+
return false;
|
|
45
|
+
}
|
|
46
|
+
if (failedRequest) {
|
|
47
|
+
return false;
|
|
48
|
+
}
|
|
49
|
+
if (error.indexOf('No space left on device') !== -1 ||
|
|
50
|
+
error.indexOf('EMFILE') !== -1) {
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
return true;
|
|
54
|
+
}
|
|
59
55
|
restart(requests) {
|
|
56
|
+
this.restartCounter++;
|
|
60
57
|
this.init();
|
|
61
58
|
this.watch(requests);
|
|
62
59
|
}
|
|
@@ -1131,7 +1131,8 @@ configurationRegistry.registerConfiguration({
|
|
|
1131
1131
|
markdownDescription: ( localizeWithPath(
|
|
1132
1132
|
_moduleId,
|
|
1133
1133
|
25,
|
|
1134
|
-
"Controls the number of sticky elements displayed in the tree when
|
|
1134
|
+
"Controls the number of sticky elements displayed in the tree when {0} is enabled.",
|
|
1135
|
+
'`#workbench.tree.enableStickyScroll#`'
|
|
1135
1136
|
)),
|
|
1136
1137
|
},
|
|
1137
1138
|
[typeNavigationModeSettingKey]: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import '../../../base/common/arrays.js';
|
|
2
2
|
import '../../../base/common/observableInternal/derived.js';
|
|
3
3
|
import { autorunOpts } from '../../../base/common/observableInternal/autorun.js';
|
|
4
|
-
import {
|
|
4
|
+
import { observableFromEventOpts } from '../../../base/common/observableInternal/utils.js';
|
|
5
5
|
import '../../../base/common/cancellation.js';
|
|
6
6
|
function observableConfigValue(key, defaultValue, configurationService) {
|
|
7
|
-
return
|
|
7
|
+
return observableFromEventOpts({ debugName: () => `Configuration Key "${key}"`, }, (handleChange) => configurationService.onDidChangeConfiguration(e => {
|
|
8
8
|
if (e.affectsConfiguration(key)) {
|
|
9
9
|
handleChange(e);
|
|
10
10
|
}
|
|
@@ -86,7 +86,7 @@ let Link = class Link extends Disposable {
|
|
|
86
86
|
this.el.title = title ?? '';
|
|
87
87
|
}
|
|
88
88
|
else if (!this.hover && title) {
|
|
89
|
-
this.hover = this._register(this._hoverService.
|
|
89
|
+
this.hover = this._register(this._hoverService.setupManagedHover(this.hoverDelegate, this.el, title));
|
|
90
90
|
}
|
|
91
91
|
else if (this.hover) {
|
|
92
92
|
this.hover.update(title);
|
|
@@ -842,7 +842,7 @@ let QuickInputTree = class QuickInputTree extends Disposable {
|
|
|
842
842
|
const parent = focusedElement?.parentNode;
|
|
843
843
|
if (focusedElement && parent) {
|
|
844
844
|
const nextSibling = focusedElement.nextSibling;
|
|
845
|
-
|
|
845
|
+
focusedElement.remove();
|
|
846
846
|
parent.insertBefore(focusedElement, nextSibling);
|
|
847
847
|
}
|
|
848
848
|
}, 0);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ServiceIdentifier } from '../../instantiation/common/instantiation.js';
|
|
2
|
-
import { URI } from '../../../base/common/uri.js';
|
|
3
2
|
import { IExtensionDescription } from '../../extensions/common/extensions.js';
|
|
4
3
|
|
|
5
4
|
declare const IRemoteExtensionsScannerService: ServiceIdentifier<IRemoteExtensionsScannerService>;
|
|
@@ -7,7 +6,6 @@ interface IRemoteExtensionsScannerService {
|
|
|
7
6
|
readonly _serviceBrand: undefined;
|
|
8
7
|
whenExtensionsReady(): Promise<void>;
|
|
9
8
|
scanExtensions(): Promise<IExtensionDescription[]>;
|
|
10
|
-
scanSingleExtension(extensionLocation: URI, isBuiltin: boolean): Promise<IExtensionDescription | null>;
|
|
11
9
|
}
|
|
12
10
|
|
|
13
11
|
export { IRemoteExtensionsScannerService };
|
|
@@ -127,12 +127,22 @@ function registerProxyConfigurations(scope) {
|
|
|
127
127
|
)),
|
|
128
128
|
restricted: true
|
|
129
129
|
},
|
|
130
|
+
'http.noProxy': {
|
|
131
|
+
type: 'array',
|
|
132
|
+
items: { type: 'string' },
|
|
133
|
+
markdownDescription: ( localizeWithPath(
|
|
134
|
+
_moduleId,
|
|
135
|
+
5,
|
|
136
|
+
"Specifies domain names for which proxy settings should be ignored for HTTP/HTTPS requests."
|
|
137
|
+
)),
|
|
138
|
+
restricted: true
|
|
139
|
+
},
|
|
130
140
|
'http.proxyAuthorization': {
|
|
131
141
|
type: ['null', 'string'],
|
|
132
142
|
default: null,
|
|
133
143
|
markdownDescription: ( localizeWithPath(
|
|
134
144
|
_moduleId,
|
|
135
|
-
|
|
145
|
+
6,
|
|
136
146
|
"The value to send as the `Proxy-Authorization` header for every network request."
|
|
137
147
|
)),
|
|
138
148
|
restricted: true
|
|
@@ -141,21 +151,21 @@ function registerProxyConfigurations(scope) {
|
|
|
141
151
|
type: 'string',
|
|
142
152
|
enum: ['off', 'on', 'fallback', 'override'],
|
|
143
153
|
enumDescriptions: [
|
|
144
|
-
( localizeWithPath(_moduleId,
|
|
145
|
-
( localizeWithPath(_moduleId,
|
|
154
|
+
( localizeWithPath(_moduleId, 7, "Disable proxy support for extensions.")),
|
|
155
|
+
( localizeWithPath(_moduleId, 8, "Enable proxy support for extensions.")),
|
|
146
156
|
( localizeWithPath(
|
|
147
157
|
_moduleId,
|
|
148
|
-
|
|
158
|
+
9,
|
|
149
159
|
"Enable proxy support for extensions, fall back to request options, when no proxy found."
|
|
150
160
|
)),
|
|
151
161
|
( localizeWithPath(
|
|
152
162
|
_moduleId,
|
|
153
|
-
|
|
163
|
+
10,
|
|
154
164
|
"Enable proxy support for extensions, override request options."
|
|
155
165
|
)),
|
|
156
166
|
],
|
|
157
167
|
default: 'override',
|
|
158
|
-
description: ( localizeWithPath(_moduleId,
|
|
168
|
+
description: ( localizeWithPath(_moduleId, 11, "Use the proxy support for extensions.")),
|
|
159
169
|
restricted: true
|
|
160
170
|
},
|
|
161
171
|
'http.systemCertificates': {
|
|
@@ -163,7 +173,7 @@ function registerProxyConfigurations(scope) {
|
|
|
163
173
|
default: true,
|
|
164
174
|
description: ( localizeWithPath(
|
|
165
175
|
_moduleId,
|
|
166
|
-
|
|
176
|
+
12,
|
|
167
177
|
"Controls whether CA certificates should be loaded from the OS. (On Windows and macOS, a reload of the window is required after turning this off.)"
|
|
168
178
|
)),
|
|
169
179
|
restricted: true
|
|
@@ -174,7 +184,7 @@ function registerProxyConfigurations(scope) {
|
|
|
174
184
|
default: false,
|
|
175
185
|
description: ( localizeWithPath(
|
|
176
186
|
_moduleId,
|
|
177
|
-
|
|
187
|
+
13,
|
|
178
188
|
"Controls whether experimental loading of CA certificates from the OS should be enabled. This uses a more general approach than the default implemenation."
|
|
179
189
|
)),
|
|
180
190
|
restricted: true
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Event } from '../../../../base/common/event.js';
|
|
2
2
|
import { IDisposable } from '../../../../base/common/lifecycle.js';
|
|
3
|
-
import { IPromptInputModel } from './commandDetection/promptInputModel.js';
|
|
3
|
+
import { IPromptInputModel, ISerializedPromptInputModel } from './commandDetection/promptInputModel.js';
|
|
4
4
|
import { ICurrentPartialCommand } from './commandDetection/terminalCommand.js';
|
|
5
5
|
import { ITerminalOutputMatcher, ITerminalOutputMatch } from '../terminal.js';
|
|
6
6
|
|
|
@@ -142,11 +142,6 @@ interface ICommandDetectionCapability {
|
|
|
142
142
|
readonly executingCommandObject: ITerminalCommand | undefined;
|
|
143
143
|
/** The current cwd at the cursor's position. */
|
|
144
144
|
readonly cwd: string | undefined;
|
|
145
|
-
/**
|
|
146
|
-
* Whether a command is currently being input. If the a command is current not being input or
|
|
147
|
-
* the state cannot reliably be detected the fallback of undefined will be used.
|
|
148
|
-
*/
|
|
149
|
-
readonly hasInput: boolean | undefined;
|
|
150
145
|
readonly currentCommand: ICurrentPartialCommand | undefined;
|
|
151
146
|
readonly onCommandStarted: Event<ITerminalCommand>;
|
|
152
147
|
readonly onCommandFinished: Event<ITerminalCommand>;
|
|
@@ -266,6 +261,7 @@ interface IMarkProperties {
|
|
|
266
261
|
interface ISerializedCommandDetectionCapability {
|
|
267
262
|
isWindowsPty: boolean;
|
|
268
263
|
commands: ISerializedTerminalCommand[];
|
|
264
|
+
promptInputModel: ISerializedPromptInputModel | undefined;
|
|
269
265
|
}
|
|
270
266
|
|
|
271
267
|
export { CommandInvalidationReason, type IBufferMarkCapability, type ICommandDetectionCapability, type ICommandInvalidationRequest, type ICwdDetectionCapability, type IHandleCommandOptions, type IMarkProperties, type IMarker, type INaiveCwdDetectionCapability, type IPartialCommandDetectionCapability, type ISerializedCommandDetectionCapability, type ISerializedTerminalCommand, type ITerminalCapabilityImplMap, type ITerminalCapabilityStore, type ITerminalCommand, type IXtermMarker, TerminalCapability, type TerminalCapabilityChangeEvent };
|
package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/promptInputModel.d.ts
CHANGED
|
@@ -26,5 +26,12 @@ interface IPromptInputModelState {
|
|
|
26
26
|
readonly cursorIndex: number;
|
|
27
27
|
readonly ghostTextIndex: number;
|
|
28
28
|
}
|
|
29
|
+
interface ISerializedPromptInputModel {
|
|
30
|
+
readonly modelState: IPromptInputModelState;
|
|
31
|
+
readonly commandStartX: number;
|
|
32
|
+
readonly lastPromptLine: string | undefined;
|
|
33
|
+
readonly continuationPrompt: string | undefined;
|
|
34
|
+
readonly lastUserInput: string;
|
|
35
|
+
}
|
|
29
36
|
|
|
30
|
-
export type { IPromptInputModel, IPromptInputModelState };
|
|
37
|
+
export type { IPromptInputModel, IPromptInputModelState, ISerializedPromptInputModel };
|
|
@@ -51,6 +51,6 @@ interface ColorDefaults {
|
|
|
51
51
|
* A Color Value is either a color literal, a reference to an other color or a derived color
|
|
52
52
|
*/
|
|
53
53
|
type ColorValue = Color | string | ColorIdentifier | ColorTransform;
|
|
54
|
-
declare function registerColor(id: string, defaults: ColorDefaults | null, description: string, needsTransparency?: boolean, deprecationMessage?: string): ColorIdentifier;
|
|
54
|
+
declare function registerColor(id: string, defaults: ColorDefaults | ColorValue | null, description: string, needsTransparency?: boolean, deprecationMessage?: string): ColorIdentifier;
|
|
55
55
|
|
|
56
56
|
export { type ColorDefaults, type ColorIdentifier, type ColorTransform, ColorTransformType, type ColorValue, registerColor };
|
|
@@ -4,6 +4,8 @@ import { Color } from '../../../base/common/color.js';
|
|
|
4
4
|
import { Emitter } from '../../../base/common/event.js';
|
|
5
5
|
import { Extensions as Extensions$1 } from '../../jsonschemas/common/jsonContributionRegistry.js';
|
|
6
6
|
import { Registry } from '../../registry/common/platform.js';
|
|
7
|
+
import { localizeWithPath } from '../../../nls.js';
|
|
8
|
+
const _moduleId = "vs/platform/theme/common/colorUtils";
|
|
7
9
|
function asCssVariableName(colorIdent) {
|
|
8
10
|
return `--vscode-${colorIdent.replace(/\./g, '-')}`;
|
|
9
11
|
}
|
|
@@ -23,9 +25,13 @@ var ColorTransformType;
|
|
|
23
25
|
ColorTransformType[ColorTransformType["LessProminent"] = 5] = "LessProminent";
|
|
24
26
|
ColorTransformType[ColorTransformType["IfDefinedThenElse"] = 6] = "IfDefinedThenElse";
|
|
25
27
|
})(ColorTransformType || (ColorTransformType = {}))));
|
|
28
|
+
function isColorDefaults(value) {
|
|
29
|
+
return value !== null && typeof value === 'object' && 'light' in value && 'dark' in value;
|
|
30
|
+
}
|
|
26
31
|
const Extensions = {
|
|
27
32
|
ColorContribution: 'base.contributions.colors'
|
|
28
33
|
};
|
|
34
|
+
const DEFAULT_COLOR_CONFIG_VALUE = 'default';
|
|
29
35
|
class ColorRegistry {
|
|
30
36
|
constructor() {
|
|
31
37
|
this._onDidChangeSchema = ( (new Emitter()));
|
|
@@ -34,6 +40,15 @@ class ColorRegistry {
|
|
|
34
40
|
this.colorReferenceSchema = { type: 'string', enum: [], enumDescriptions: [] };
|
|
35
41
|
this.colorsById = {};
|
|
36
42
|
}
|
|
43
|
+
notifyThemeUpdate(colorThemeData) {
|
|
44
|
+
for (const key of ( (Object.keys(this.colorsById)))) {
|
|
45
|
+
const color = colorThemeData.getColor(key);
|
|
46
|
+
if (color) {
|
|
47
|
+
this.colorSchema.properties[key].oneOf[0].defaultSnippets[0].body = `\${1:${( (color.toString()))}}`;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
this._onDidChangeSchema.fire();
|
|
51
|
+
}
|
|
37
52
|
registerColor(id, defaults, description, needsTransparency = false, deprecationMessage) {
|
|
38
53
|
const colorContribution = { id, description, defaults, needsTransparency, deprecationMessage };
|
|
39
54
|
this.colorsById[id] = colorContribution;
|
|
@@ -43,9 +58,14 @@ class ColorRegistry {
|
|
|
43
58
|
}
|
|
44
59
|
if (needsTransparency) {
|
|
45
60
|
propertySchema.pattern = '^#(?:(?<rgba>[0-9a-fA-f]{3}[0-9a-eA-E])|(?:[0-9a-fA-F]{6}(?:(?![fF]{2})(?:[0-9a-fA-F]{2}))))?$';
|
|
46
|
-
propertySchema.patternErrorMessage = 'This color must be transparent or it will obscure content';
|
|
61
|
+
propertySchema.patternErrorMessage = ( localizeWithPath(_moduleId, 0, 'This color must be transparent or it will obscure content'));
|
|
47
62
|
}
|
|
48
|
-
this.colorSchema.properties[id] =
|
|
63
|
+
this.colorSchema.properties[id] = {
|
|
64
|
+
oneOf: [
|
|
65
|
+
propertySchema,
|
|
66
|
+
{ type: 'string', const: DEFAULT_COLOR_CONFIG_VALUE, description: ( localizeWithPath(_moduleId, 1, 'Use the default color.')) }
|
|
67
|
+
]
|
|
68
|
+
};
|
|
49
69
|
this.colorReferenceSchema.enum.push(id);
|
|
50
70
|
this.colorReferenceSchema.enumDescriptions.push(description);
|
|
51
71
|
this._onDidChangeSchema.fire();
|
|
@@ -68,8 +88,8 @@ class ColorRegistry {
|
|
|
68
88
|
}
|
|
69
89
|
resolveDefaultColor(id, theme) {
|
|
70
90
|
const colorDesc = this.colorsById[id];
|
|
71
|
-
if (colorDesc
|
|
72
|
-
const colorValue = colorDesc.defaults[theme.type];
|
|
91
|
+
if (colorDesc?.defaults) {
|
|
92
|
+
const colorValue = isColorDefaults(colorDesc.defaults) ? colorDesc.defaults[theme.type] : colorDesc.defaults;
|
|
73
93
|
return resolveColorValue(colorValue, theme);
|
|
74
94
|
}
|
|
75
95
|
return undefined;
|
|
@@ -194,4 +214,4 @@ colorRegistry.onDidChangeSchema(() => {
|
|
|
194
214
|
delayer.schedule();
|
|
195
215
|
}
|
|
196
216
|
});
|
|
197
|
-
export { ColorTransformType, Extensions, asCssVariable, asCssVariableName, asCssVariableWithDefault, darken, executeTransform, getColorRegistry, ifDefinedThenElse, lessProminent, lighten, oneOf, opaque, registerColor, resolveColorValue, transparent, workbenchColorsSchemaId };
|
|
217
|
+
export { ColorTransformType, DEFAULT_COLOR_CONFIG_VALUE, Extensions, asCssVariable, asCssVariableName, asCssVariableWithDefault, darken, executeTransform, getColorRegistry, ifDefinedThenElse, isColorDefaults, lessProminent, lighten, oneOf, opaque, registerColor, resolveColorValue, transparent, workbenchColorsSchemaId };
|
|
@@ -38,7 +38,7 @@ const activeContrastBorder = registerColor('contrastActiveBorder', { light: null
|
|
|
38
38
|
7,
|
|
39
39
|
"An extra border around active elements to separate them from others for greater contrast."
|
|
40
40
|
)));
|
|
41
|
-
const selectionBackground = registerColor('selection.background',
|
|
41
|
+
const selectionBackground = registerColor('selection.background', null, ( localizeWithPath(
|
|
42
42
|
_moduleId,
|
|
43
43
|
8,
|
|
44
44
|
"The background color of text selections in the workbench (e.g. for input fields or text areas). Note that this does not apply to selections within the editor."
|
|
@@ -4,12 +4,12 @@ import { foreground } from './baseColors.js';
|
|
|
4
4
|
import { editorErrorForeground, editorInfoForeground, editorWarningForeground } from './editorColors.js';
|
|
5
5
|
import { minimapFindMatch } from './minimapColors.js';
|
|
6
6
|
const _moduleId = "vs/platform/theme/common/colors/chartsColors";
|
|
7
|
-
registerColor('charts.foreground',
|
|
8
|
-
registerColor('charts.lines',
|
|
9
|
-
const chartsRed = registerColor('charts.red',
|
|
10
|
-
registerColor('charts.blue',
|
|
11
|
-
const chartsYellow = registerColor('charts.yellow',
|
|
12
|
-
registerColor('charts.orange',
|
|
7
|
+
registerColor('charts.foreground', foreground, ( localizeWithPath(_moduleId, 0, "The foreground color used in charts.")));
|
|
8
|
+
registerColor('charts.lines', ( (transparent(foreground, .5))), ( localizeWithPath(_moduleId, 1, "The color used for horizontal lines in charts.")));
|
|
9
|
+
const chartsRed = registerColor('charts.red', editorErrorForeground, ( localizeWithPath(_moduleId, 2, "The red color used in chart visualizations.")));
|
|
10
|
+
registerColor('charts.blue', editorInfoForeground, ( localizeWithPath(_moduleId, 3, "The blue color used in chart visualizations.")));
|
|
11
|
+
const chartsYellow = registerColor('charts.yellow', editorWarningForeground, ( localizeWithPath(_moduleId, 4, "The yellow color used in chart visualizations.")));
|
|
12
|
+
registerColor('charts.orange', minimapFindMatch, ( localizeWithPath(_moduleId, 5, "The orange color used in chart visualizations.")));
|
|
13
13
|
const chartsGreen = registerColor('charts.green', { dark: '#89D185', light: '#388A34', hcDark: '#89D185', hcLight: '#374e06' }, ( localizeWithPath(_moduleId, 6, "The green color used in chart visualizations.")));
|
|
14
14
|
registerColor('charts.purple', { dark: '#B180D7', light: '#652D90', hcDark: '#B180D7', hcLight: '#652D90' }, ( localizeWithPath(_moduleId, 7, "The purple color used in chart visualizations.")));
|
|
15
15
|
export { chartsGreen, chartsRed, chartsYellow };
|
|
@@ -6,23 +6,23 @@ import { scrollbarShadow, badgeBackground } from './miscColors.js';
|
|
|
6
6
|
const _moduleId = "vs/platform/theme/common/colors/editorColors";
|
|
7
7
|
const editorBackground = registerColor('editor.background', { light: '#ffffff', dark: '#1E1E1E', hcDark: Color.black, hcLight: Color.white }, ( localizeWithPath(_moduleId, 0, "Editor background color.")));
|
|
8
8
|
const editorForeground = registerColor('editor.foreground', { light: '#333333', dark: '#BBBBBB', hcDark: Color.white, hcLight: foreground }, ( localizeWithPath(_moduleId, 1, "Editor default foreground color.")));
|
|
9
|
-
registerColor('editorStickyScroll.background',
|
|
9
|
+
registerColor('editorStickyScroll.background', editorBackground, ( localizeWithPath(_moduleId, 2, "Background color of sticky scroll in the editor")));
|
|
10
10
|
registerColor('editorStickyScrollHover.background', { dark: '#2A2D2E', light: '#F0F0F0', hcDark: null, hcLight: ( (( (Color.fromHex('#0F4A85'))).transparent(0.1))) }, ( localizeWithPath(_moduleId, 3, "Background color of sticky scroll on hover in the editor")));
|
|
11
11
|
registerColor('editorStickyScroll.border', { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, ( localizeWithPath(_moduleId, 4, "Border color of sticky scroll in the editor")));
|
|
12
|
-
registerColor('editorStickyScroll.shadow',
|
|
12
|
+
registerColor('editorStickyScroll.shadow', scrollbarShadow, ( localizeWithPath(_moduleId, 5, " Shadow color of sticky scroll in the editor")));
|
|
13
13
|
const editorWidgetBackground = registerColor('editorWidget.background', { dark: '#252526', light: '#F3F3F3', hcDark: '#0C141F', hcLight: Color.white }, ( localizeWithPath(_moduleId, 6, 'Background color of editor widgets, such as find/replace.')));
|
|
14
|
-
const editorWidgetForeground = registerColor('editorWidget.foreground',
|
|
14
|
+
const editorWidgetForeground = registerColor('editorWidget.foreground', foreground, ( localizeWithPath(_moduleId, 7, 'Foreground color of editor widgets, such as find/replace.')));
|
|
15
15
|
const editorWidgetBorder = registerColor('editorWidget.border', { dark: '#454545', light: '#C8C8C8', hcDark: contrastBorder, hcLight: contrastBorder }, ( localizeWithPath(
|
|
16
16
|
_moduleId,
|
|
17
17
|
8,
|
|
18
18
|
'Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.'
|
|
19
19
|
)));
|
|
20
|
-
registerColor('editorWidget.resizeBorder',
|
|
20
|
+
registerColor('editorWidget.resizeBorder', null, ( localizeWithPath(
|
|
21
21
|
_moduleId,
|
|
22
22
|
9,
|
|
23
23
|
"Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget."
|
|
24
24
|
)));
|
|
25
|
-
registerColor('editorError.background',
|
|
25
|
+
registerColor('editorError.background', null, ( localizeWithPath(
|
|
26
26
|
_moduleId,
|
|
27
27
|
10,
|
|
28
28
|
'Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations.'
|
|
@@ -33,7 +33,7 @@ const editorErrorBorder = registerColor('editorError.border', { dark: null, ligh
|
|
|
33
33
|
12,
|
|
34
34
|
'If set, color of double underlines for errors in the editor.'
|
|
35
35
|
)));
|
|
36
|
-
const editorWarningBackground = registerColor('editorWarning.background',
|
|
36
|
+
const editorWarningBackground = registerColor('editorWarning.background', null, ( localizeWithPath(
|
|
37
37
|
_moduleId,
|
|
38
38
|
13,
|
|
39
39
|
'Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations.'
|
|
@@ -44,7 +44,7 @@ const editorWarningBorder = registerColor('editorWarning.border', { dark: null,
|
|
|
44
44
|
15,
|
|
45
45
|
'If set, color of double underlines for warnings in the editor.'
|
|
46
46
|
)));
|
|
47
|
-
registerColor('editorInfo.background',
|
|
47
|
+
registerColor('editorInfo.background', null, ( localizeWithPath(
|
|
48
48
|
_moduleId,
|
|
49
49
|
16,
|
|
50
50
|
'Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations.'
|
|
@@ -80,13 +80,13 @@ registerColor('editor.selectionHighlightBorder', { light: null, dark: null, hcDa
|
|
|
80
80
|
"Border color for regions with the same content as the selection."
|
|
81
81
|
)));
|
|
82
82
|
const editorFindMatch = registerColor('editor.findMatchBackground', { light: '#A8AC94', dark: '#515C6A', hcDark: null, hcLight: null }, ( localizeWithPath(_moduleId, 27, "Color of the current search match.")));
|
|
83
|
-
const editorFindMatchForeground = registerColor('editor.findMatchForeground',
|
|
83
|
+
const editorFindMatchForeground = registerColor('editor.findMatchForeground', null, ( localizeWithPath(_moduleId, 28, "Text color of the current search match.")));
|
|
84
84
|
const editorFindMatchHighlight = registerColor('editor.findMatchHighlightBackground', { light: '#EA5C0055', dark: '#EA5C0055', hcDark: null, hcLight: null }, ( localizeWithPath(
|
|
85
85
|
_moduleId,
|
|
86
86
|
29,
|
|
87
87
|
"Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."
|
|
88
88
|
)), true);
|
|
89
|
-
const editorFindMatchHighlightForeground = registerColor('editor.findMatchHighlightForeground',
|
|
89
|
+
const editorFindMatchHighlightForeground = registerColor('editor.findMatchHighlightForeground', null, ( localizeWithPath(_moduleId, 30, "Foreground color of the other search matches.")), true);
|
|
90
90
|
const editorFindRangeHighlight = registerColor('editor.findRangeHighlightBackground', { dark: '#3a3d4166', light: '#b4b4b44d', hcDark: null, hcLight: null }, ( localizeWithPath(
|
|
91
91
|
_moduleId,
|
|
92
92
|
31,
|
|
@@ -104,22 +104,22 @@ const editorHoverHighlight = registerColor('editor.hoverHighlightBackground', {
|
|
|
104
104
|
35,
|
|
105
105
|
'Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations.'
|
|
106
106
|
)), true);
|
|
107
|
-
const editorHoverBackground = registerColor('editorHoverWidget.background',
|
|
108
|
-
const editorHoverForeground = registerColor('editorHoverWidget.foreground',
|
|
109
|
-
const editorHoverBorder = registerColor('editorHoverWidget.border',
|
|
107
|
+
const editorHoverBackground = registerColor('editorHoverWidget.background', editorWidgetBackground, ( localizeWithPath(_moduleId, 36, 'Background color of the editor hover.')));
|
|
108
|
+
const editorHoverForeground = registerColor('editorHoverWidget.foreground', editorWidgetForeground, ( localizeWithPath(_moduleId, 37, 'Foreground color of the editor hover.')));
|
|
109
|
+
const editorHoverBorder = registerColor('editorHoverWidget.border', editorWidgetBorder, ( localizeWithPath(_moduleId, 38, 'Border color of the editor hover.')));
|
|
110
110
|
registerColor('editorHoverWidget.statusBarBackground', { dark: ( (lighten(editorHoverBackground, 0.2))), light: ( (darken(editorHoverBackground, 0.05))), hcDark: editorWidgetBackground, hcLight: editorWidgetBackground }, ( localizeWithPath(_moduleId, 39, "Background color of the editor hover status bar.")));
|
|
111
111
|
const editorInlayHintForeground = registerColor('editorInlayHint.foreground', { dark: '#969696', light: '#969696', hcDark: Color.white, hcLight: Color.black }, ( localizeWithPath(_moduleId, 40, 'Foreground color of inline hints')));
|
|
112
112
|
const editorInlayHintBackground = registerColor('editorInlayHint.background', { dark: ( (transparent(badgeBackground, .10))), light: ( (transparent(badgeBackground, .10))), hcDark: ( (transparent(Color.white, .10))), hcLight: ( (transparent(badgeBackground, .10))) }, ( localizeWithPath(_moduleId, 41, 'Background color of inline hints')));
|
|
113
|
-
const editorInlayHintTypeForeground = registerColor('editorInlayHint.typeForeground',
|
|
114
|
-
const editorInlayHintTypeBackground = registerColor('editorInlayHint.typeBackground',
|
|
115
|
-
const editorInlayHintParameterForeground = registerColor('editorInlayHint.parameterForeground',
|
|
116
|
-
const editorInlayHintParameterBackground = registerColor('editorInlayHint.parameterBackground',
|
|
113
|
+
const editorInlayHintTypeForeground = registerColor('editorInlayHint.typeForeground', editorInlayHintForeground, ( localizeWithPath(_moduleId, 42, 'Foreground color of inline hints for types')));
|
|
114
|
+
const editorInlayHintTypeBackground = registerColor('editorInlayHint.typeBackground', editorInlayHintBackground, ( localizeWithPath(_moduleId, 43, 'Background color of inline hints for types')));
|
|
115
|
+
const editorInlayHintParameterForeground = registerColor('editorInlayHint.parameterForeground', editorInlayHintForeground, ( localizeWithPath(_moduleId, 44, 'Foreground color of inline hints for parameters')));
|
|
116
|
+
const editorInlayHintParameterBackground = registerColor('editorInlayHint.parameterBackground', editorInlayHintBackground, ( localizeWithPath(_moduleId, 45, 'Background color of inline hints for parameters')));
|
|
117
117
|
const editorLightBulbForeground = registerColor('editorLightBulb.foreground', { dark: '#FFCC00', light: '#DDB100', hcDark: '#FFCC00', hcLight: '#007ACC' }, ( localizeWithPath(_moduleId, 46, "The color used for the lightbulb actions icon.")));
|
|
118
118
|
registerColor('editorLightBulbAutoFix.foreground', { dark: '#75BEFF', light: '#007ACC', hcDark: '#75BEFF', hcLight: '#007ACC' }, ( localizeWithPath(_moduleId, 47, "The color used for the lightbulb auto fix actions icon.")));
|
|
119
|
-
registerColor('editorLightBulbAi.foreground',
|
|
119
|
+
registerColor('editorLightBulbAi.foreground', editorLightBulbForeground, ( localizeWithPath(_moduleId, 48, "The color used for the lightbulb AI icon.")));
|
|
120
120
|
registerColor('editor.snippetTabstopHighlightBackground', { dark: ( (new Color( (new RGBA(124, 124, 124, 0.3))))), light: ( (new Color( (new RGBA(10, 50, 100, 0.2))))), hcDark: ( (new Color( (new RGBA(124, 124, 124, 0.3))))), hcLight: ( (new Color( (new RGBA(10, 50, 100, 0.2))))) }, ( localizeWithPath(_moduleId, 49, "Highlight background color of a snippet tabstop.")));
|
|
121
|
-
registerColor('editor.snippetTabstopHighlightBorder',
|
|
122
|
-
registerColor('editor.snippetFinalTabstopHighlightBackground',
|
|
121
|
+
registerColor('editor.snippetTabstopHighlightBorder', null, ( localizeWithPath(_moduleId, 50, "Highlight border color of a snippet tabstop.")));
|
|
122
|
+
registerColor('editor.snippetFinalTabstopHighlightBackground', null, ( localizeWithPath(
|
|
123
123
|
_moduleId,
|
|
124
124
|
51,
|
|
125
125
|
"Highlight background color of the final tabstop of a snippet."
|
|
@@ -147,10 +147,10 @@ registerColor('diffEditor.removedLineBackground', { dark: defaultRemoveColor, li
|
|
|
147
147
|
56,
|
|
148
148
|
'Background color for lines that got removed. The color must not be opaque so as not to hide underlying decorations.'
|
|
149
149
|
)), true);
|
|
150
|
-
registerColor('diffEditorGutter.insertedLineBackground',
|
|
151
|
-
registerColor('diffEditorGutter.removedLineBackground',
|
|
152
|
-
const diffOverviewRulerInserted = registerColor('diffEditorOverview.insertedForeground',
|
|
153
|
-
const diffOverviewRulerRemoved = registerColor('diffEditorOverview.removedForeground',
|
|
150
|
+
registerColor('diffEditorGutter.insertedLineBackground', null, ( localizeWithPath(_moduleId, 57, 'Background color for the margin where lines got inserted.')));
|
|
151
|
+
registerColor('diffEditorGutter.removedLineBackground', null, ( localizeWithPath(_moduleId, 58, 'Background color for the margin where lines got removed.')));
|
|
152
|
+
const diffOverviewRulerInserted = registerColor('diffEditorOverview.insertedForeground', null, ( localizeWithPath(_moduleId, 59, 'Diff overview ruler foreground for inserted content.')));
|
|
153
|
+
const diffOverviewRulerRemoved = registerColor('diffEditorOverview.removedForeground', null, ( localizeWithPath(_moduleId, 60, 'Diff overview ruler foreground for removed content.')));
|
|
154
154
|
registerColor('diffEditor.insertedTextBorder', { dark: null, light: null, hcDark: '#33ff2eff', hcLight: '#374E06' }, ( localizeWithPath(_moduleId, 61, 'Outline color for the text that got inserted.')));
|
|
155
155
|
registerColor('diffEditor.removedTextBorder', { dark: null, light: null, hcDark: '#FF008F', hcLight: '#AD0707' }, ( localizeWithPath(_moduleId, 62, 'Outline color for text that got removed.')));
|
|
156
156
|
registerColor('diffEditor.border', { dark: null, light: null, hcDark: contrastBorder, hcLight: contrastBorder }, ( localizeWithPath(_moduleId, 63, 'Border color between the two text editors.')));
|
|
@@ -159,12 +159,12 @@ const diffDiagonalFill = registerColor('diffEditor.diagonalFill', { dark: '#cccc
|
|
|
159
159
|
64,
|
|
160
160
|
"Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views."
|
|
161
161
|
)));
|
|
162
|
-
registerColor('diffEditor.unchangedRegionBackground',
|
|
162
|
+
registerColor('diffEditor.unchangedRegionBackground', 'sideBar.background', ( localizeWithPath(
|
|
163
163
|
_moduleId,
|
|
164
164
|
65,
|
|
165
165
|
"The background color of unchanged blocks in the diff editor."
|
|
166
166
|
)));
|
|
167
|
-
registerColor('diffEditor.unchangedRegionForeground',
|
|
167
|
+
registerColor('diffEditor.unchangedRegionForeground', 'foreground', ( localizeWithPath(
|
|
168
168
|
_moduleId,
|
|
169
169
|
66,
|
|
170
170
|
"The foreground color of unchanged blocks in the diff editor."
|
|
@@ -195,11 +195,11 @@ registerColor('toolbar.hoverOutline', { dark: null, light: null, hcDark: activeC
|
|
|
195
195
|
"Toolbar outline when hovering over actions using the mouse"
|
|
196
196
|
)));
|
|
197
197
|
registerColor('toolbar.activeBackground', { dark: ( (lighten(toolbarHoverBackground, 0.1))), light: ( (darken(toolbarHoverBackground, 0.1))), hcDark: null, hcLight: null }, ( localizeWithPath(_moduleId, 72, "Toolbar background when holding the mouse over actions")));
|
|
198
|
-
const breadcrumbsForeground = registerColor('breadcrumb.foreground',
|
|
199
|
-
const breadcrumbsBackground = registerColor('breadcrumb.background',
|
|
198
|
+
const breadcrumbsForeground = registerColor('breadcrumb.foreground', ( (transparent(foreground, 0.8))), ( localizeWithPath(_moduleId, 73, "Color of focused breadcrumb items.")));
|
|
199
|
+
const breadcrumbsBackground = registerColor('breadcrumb.background', editorBackground, ( localizeWithPath(_moduleId, 74, "Background color of breadcrumb items.")));
|
|
200
200
|
const breadcrumbsFocusForeground = registerColor('breadcrumb.focusForeground', { light: ( (darken(foreground, 0.2))), dark: ( (lighten(foreground, 0.1))), hcDark: ( (lighten(foreground, 0.1))), hcLight: ( (lighten(foreground, 0.1))) }, ( localizeWithPath(_moduleId, 73, "Color of focused breadcrumb items.")));
|
|
201
201
|
const breadcrumbsActiveSelectionForeground = registerColor('breadcrumb.activeSelectionForeground', { light: ( (darken(foreground, 0.2))), dark: ( (lighten(foreground, 0.1))), hcDark: ( (lighten(foreground, 0.1))), hcLight: ( (lighten(foreground, 0.1))) }, ( localizeWithPath(_moduleId, 75, "Color of selected breadcrumb items.")));
|
|
202
|
-
const breadcrumbsPickerBackground = registerColor('breadcrumbPicker.background',
|
|
202
|
+
const breadcrumbsPickerBackground = registerColor('breadcrumbPicker.background', editorWidgetBackground, ( localizeWithPath(_moduleId, 76, "Background color of breadcrumb item picker.")));
|
|
203
203
|
const headerTransparency = 0.5;
|
|
204
204
|
const currentBaseColor = ( (( (Color.fromHex('#40C8AE'))).transparent(headerTransparency)));
|
|
205
205
|
const incomingBaseColor = ( (( (Color.fromHex('#40A6FF'))).transparent(headerTransparency)));
|
|
@@ -211,7 +211,7 @@ const mergeCurrentHeaderBackground = registerColor('merge.currentHeaderBackgroun
|
|
|
211
211
|
77,
|
|
212
212
|
'Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.'
|
|
213
213
|
)), true);
|
|
214
|
-
registerColor('merge.currentContentBackground',
|
|
214
|
+
registerColor('merge.currentContentBackground', ( (transparent(mergeCurrentHeaderBackground, contentTransparency))), ( localizeWithPath(
|
|
215
215
|
_moduleId,
|
|
216
216
|
78,
|
|
217
217
|
'Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.'
|
|
@@ -221,7 +221,7 @@ const mergeIncomingHeaderBackground = registerColor('merge.incomingHeaderBackgro
|
|
|
221
221
|
79,
|
|
222
222
|
'Incoming header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.'
|
|
223
223
|
)), true);
|
|
224
|
-
registerColor('merge.incomingContentBackground',
|
|
224
|
+
registerColor('merge.incomingContentBackground', ( (transparent(mergeIncomingHeaderBackground, contentTransparency))), ( localizeWithPath(
|
|
225
225
|
_moduleId,
|
|
226
226
|
80,
|
|
227
227
|
'Incoming content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.'
|
|
@@ -231,7 +231,7 @@ const mergeCommonHeaderBackground = registerColor('merge.commonHeaderBackground'
|
|
|
231
231
|
81,
|
|
232
232
|
'Common ancestor header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.'
|
|
233
233
|
)), true);
|
|
234
|
-
registerColor('merge.commonContentBackground',
|
|
234
|
+
registerColor('merge.commonContentBackground', ( (transparent(mergeCommonHeaderBackground, contentTransparency))), ( localizeWithPath(
|
|
235
235
|
_moduleId,
|
|
236
236
|
82,
|
|
237
237
|
'Common ancestor content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations.'
|
|
@@ -261,12 +261,12 @@ const overviewRulerFindMatchForeground = registerColor('editorOverviewRuler.find
|
|
|
261
261
|
87,
|
|
262
262
|
'Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations.'
|
|
263
263
|
)), true);
|
|
264
|
-
const overviewRulerSelectionHighlightForeground = registerColor('editorOverviewRuler.selectionHighlightForeground',
|
|
264
|
+
const overviewRulerSelectionHighlightForeground = registerColor('editorOverviewRuler.selectionHighlightForeground', '#A0A0A0CC', ( localizeWithPath(
|
|
265
265
|
_moduleId,
|
|
266
266
|
88,
|
|
267
267
|
'Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations.'
|
|
268
268
|
)), true);
|
|
269
|
-
const problemsErrorIconForeground = registerColor('problemsErrorIcon.foreground',
|
|
270
|
-
const problemsWarningIconForeground = registerColor('problemsWarningIcon.foreground',
|
|
271
|
-
const problemsInfoIconForeground = registerColor('problemsInfoIcon.foreground',
|
|
269
|
+
const problemsErrorIconForeground = registerColor('problemsErrorIcon.foreground', editorErrorForeground, ( localizeWithPath(_moduleId, 89, "The color used for the problems error icon.")));
|
|
270
|
+
const problemsWarningIconForeground = registerColor('problemsWarningIcon.foreground', editorWarningForeground, ( localizeWithPath(_moduleId, 90, "The color used for the problems warning icon.")));
|
|
271
|
+
const problemsInfoIconForeground = registerColor('problemsInfoIcon.foreground', editorInfoForeground, ( localizeWithPath(_moduleId, 91, "The color used for the problems info icon.")));
|
|
272
272
|
export { breadcrumbsActiveSelectionForeground, breadcrumbsBackground, breadcrumbsFocusForeground, breadcrumbsForeground, breadcrumbsPickerBackground, defaultInsertColor, defaultRemoveColor, diffDiagonalFill, diffInserted, diffOverviewRulerInserted, diffOverviewRulerRemoved, diffRemoved, editorActiveLinkForeground, editorBackground, editorErrorBorder, editorErrorForeground, editorFindMatch, editorFindMatchForeground, editorFindMatchHighlight, editorFindMatchHighlightBorder, editorFindMatchHighlightForeground, editorFindRangeHighlight, editorFindRangeHighlightBorder, editorForeground, editorHintForeground, editorHoverBackground, editorHoverBorder, editorHoverForeground, editorHoverHighlight, editorInactiveSelection, editorInfoBorder, editorInfoForeground, editorInlayHintBackground, editorInlayHintForeground, editorInlayHintParameterBackground, editorInlayHintParameterForeground, editorInlayHintTypeBackground, editorInlayHintTypeForeground, editorLightBulbForeground, editorSelectionBackground, editorSelectionForeground, editorSelectionHighlight, editorWarningBackground, editorWarningBorder, editorWarningForeground, editorWidgetBackground, editorWidgetBorder, editorWidgetForeground, mergeBorder, mergeCommonHeaderBackground, mergeCurrentHeaderBackground, mergeIncomingHeaderBackground, overviewRulerFindMatchForeground, overviewRulerSelectionHighlightForeground, problemsErrorIconForeground, problemsInfoIconForeground, problemsWarningIconForeground, toolbarHoverBackground, widgetBorder, widgetShadow };
|