From cd5d92a80ce1c5671367823a420dbc016ecdf212 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Mangeonjean?= Date: Tue, 12 Mar 2024 11:43:38 +0100 Subject: [PATCH] feat: add explorer service override --- package-lock.json | 10 ++++++++++ package.json | 1 + src/features/viewPanels.ts | 4 +++- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index b0e5244..84cc0d6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,6 +21,7 @@ "@codingame/monaco-vscode-diff-default-extension": "^3.1.0", "@codingame/monaco-vscode-editor-service-override": "^3.1.0", "@codingame/monaco-vscode-emmet-service-override": "^3.1.0", + "@codingame/monaco-vscode-explorer-service-override": "^3.1.0", "@codingame/monaco-vscode-extension-gallery-service-override": "^3.1.0", "@codingame/monaco-vscode-extensions-service-override": "^3.1.0", "@codingame/monaco-vscode-files-service-override": "^3.1.0", @@ -466,6 +467,15 @@ "vscode": "npm:@codingame/monaco-vscode-api@3.1.0" } }, + "node_modules/@codingame/monaco-vscode-explorer-service-override": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@codingame/monaco-vscode-explorer-service-override/-/monaco-vscode-explorer-service-override-3.1.0.tgz", + "integrity": "sha512-S7YVEHGN1a1vHwKBHf+Z2DYgstnhViwOOBqfw5J2itPvvR2WWBnkDMPpB+n5lYdWOSvkoovXnOwJwuXAnJe7RQ==", + "dependencies": { + "vscode": "npm:@codingame/monaco-vscode-api@3.1.0", + "vscode-marked": "npm:marked@=3.0.2" + } + }, "node_modules/@codingame/monaco-vscode-extension-gallery-service-override": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/@codingame/monaco-vscode-extension-gallery-service-override/-/monaco-vscode-extension-gallery-service-override-3.1.0.tgz", diff --git a/package.json b/package.json index 0590ef6..0044693 100644 --- a/package.json +++ b/package.json @@ -100,6 +100,7 @@ "@codingame/monaco-vscode-diff-default-extension": "^3.1.0", "@codingame/monaco-vscode-editor-service-override": "^3.1.0", "@codingame/monaco-vscode-emmet-service-override": "^3.1.0", + "@codingame/monaco-vscode-explorer-service-override": "^3.1.0", "@codingame/monaco-vscode-extension-gallery-service-override": "^3.1.0", "@codingame/monaco-vscode-extensions-service-override": "^3.1.0", "@codingame/monaco-vscode-files-service-override": "^3.1.0", diff --git a/src/features/viewPanels.ts b/src/features/viewPanels.ts index d9199d4..a06786d 100644 --- a/src/features/viewPanels.ts +++ b/src/features/viewPanels.ts @@ -2,6 +2,7 @@ import getMarkersServiceOverride from '@codingame/monaco-vscode-markers-service- import getOutputServiceOverride from '@codingame/monaco-vscode-output-service-override' import getTimelineServiceOverride from '@codingame/monaco-vscode-timeline-service-override' import getOutlineServiceOverride from '@codingame/monaco-vscode-outline-service-override' +import getExplorerServiceOverride from '@codingame/monaco-vscode-explorer-service-override' import { registerServices } from '../services' import { registerWorkerLoader } from '../worker' import { Worker } from '../tools/crossOriginWorker' @@ -13,5 +14,6 @@ registerServices({ ...getTimelineServiceOverride(), ...getOutlineServiceOverride(), ...getOutputServiceOverride(), - ...getMarkersServiceOverride() + ...getMarkersServiceOverride(), + ...getExplorerServiceOverride() })