From 6abc78400ad6d43f587e6c55bb44e6e0eceb6b12 Mon Sep 17 00:00:00 2001 From: shuyaqian <717749594@qq.com> Date: Fri, 24 Sep 2021 11:16:04 +0800 Subject: [PATCH] Change panel location of viewsContainers to align to vscode. Signed-off-by: shuyaqian 717749594@qq.com --- packages/plugin-ext/src/hosted/node/scanners/scanner-theia.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugin-ext/src/hosted/node/scanners/scanner-theia.ts b/packages/plugin-ext/src/hosted/node/scanners/scanner-theia.ts index 5513ff6fa82cd..ac1fa46d27c65 100644 --- a/packages/plugin-ext/src/hosted/node/scanners/scanner-theia.ts +++ b/packages/plugin-ext/src/hosted/node/scanners/scanner-theia.ts @@ -218,7 +218,7 @@ export class TheiaPluginScanner implements PluginScanner { for (const location of Object.keys(viewsContainers)) { const containers = this.readViewsContainers(viewsContainers[location], rawPlugin); - const loc = location === 'activitybar' ? 'left' : location; + const loc = location === 'activitybar' ? 'left' : location === 'panel' ? 'bottom' : location; if (contributions.viewsContainers[loc]) { contributions.viewsContainers[loc] = contributions.viewsContainers[loc].concat(containers); } else {