diff --git a/media/resources/dark/ClosePanel.svg b/media/resources/dark/ClosePanel.svg
deleted file mode 100644
index 2feafe7c06..0000000000
--- a/media/resources/dark/ClosePanel.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
\ No newline at end of file
diff --git a/media/resources/dark/MovePanelBottom.svg b/media/resources/dark/MovePanelBottom.svg
deleted file mode 100644
index 8284a0976d..0000000000
--- a/media/resources/dark/MovePanelBottom.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-
\ No newline at end of file
diff --git a/media/resources/dark/MovePanelLeft.svg b/media/resources/dark/MovePanelLeft.svg
deleted file mode 100644
index d7f7797e4c..0000000000
--- a/media/resources/dark/MovePanelLeft.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-
\ No newline at end of file
diff --git a/media/resources/light/ClosePanel.svg b/media/resources/light/ClosePanel.svg
deleted file mode 100644
index 5db309662e..0000000000
--- a/media/resources/light/ClosePanel.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
\ No newline at end of file
diff --git a/media/resources/light/MovePanelBottom.svg b/media/resources/light/MovePanelBottom.svg
deleted file mode 100644
index 739c933e30..0000000000
--- a/media/resources/light/MovePanelBottom.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-
\ No newline at end of file
diff --git a/media/resources/light/MovePanelLeft.svg b/media/resources/light/MovePanelLeft.svg
deleted file mode 100644
index 06c569437b..0000000000
--- a/media/resources/light/MovePanelLeft.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-
\ No newline at end of file
diff --git a/package.json b/package.json
index 7afb234360..c3223de7dd 100644
--- a/package.json
+++ b/package.json
@@ -6,7 +6,7 @@
"publisher": "ms-vscode",
"description": "(Preview) Develop PowerShell modules, commands and scripts in Visual Studio Code!",
"engines": {
- "vscode": "^1.65.0"
+ "vscode": "^1.67.0"
},
"license": "SEE LICENSE IN LICENSE.txt",
"homepage": "https://github.com/PowerShell/vscode-powershell/blob/main/README.md",
@@ -280,29 +280,19 @@
{
"command": "PowerShell.ClosePanel",
"title": "Close panel",
- "category": "PowerShell",
- "icon": {
- "light": "media/resources/light/ClosePanel.svg",
- "dark": "media/resources/dark/ClosePanel.svg"
- }
+ "category": "PowerShell"
},
{
"command": "PowerShell.PositionPanelLeft",
"title": "Move panel left",
"category": "PowerShell",
- "icon": {
- "light": "media/resources/light/MovePanelLeft.svg",
- "dark": "media/resources/dark/MovePanelLeft.svg"
- }
+ "icon": "$(layout-sidebar-left)"
},
{
"command": "PowerShell.PositionPanelBottom",
"title": "Move panel to bottom",
"category": "PowerShell",
- "icon": {
- "light": "media/resources/light/MovePanelBottom.svg",
- "dark": "media/resources/dark/MovePanelBottom.svg"
- }
+ "icon": "$(layout-panel-right)"
}
],
"menus": {
@@ -353,11 +343,6 @@
"command": "PowerShell.PositionPanelLeft",
"group": "navigation@98"
},
- {
- "when": "editorLangId == powershell && config.powershell.buttons.showPanelMovementButtons",
- "command": "PowerShell.ClosePanel",
- "group": "navigation@99"
- },
{
"when": "editorLangId == powershell && config.powershell.buttons.showRunButtons",
"command": "PowerShell.Debug.Start",
diff --git a/src/features/ExtensionCommands.ts b/src/features/ExtensionCommands.ts
index 8a1862fe53..dd02abf6f5 100644
--- a/src/features/ExtensionCommands.ts
+++ b/src/features/ExtensionCommands.ts
@@ -177,7 +177,7 @@ export class ExtensionCommandsFeature extends LanguageClientConsumer {
}),
vscode.commands.registerCommand("PowerShell.ClosePanel",
- async () => { await vscode.commands.executeCommand("workbench.action.closePanel"); }),
+ async () => { await vscode.commands.executeCommand("workbench.action.togglePanel"); }),
vscode.commands.registerCommand("PowerShell.PositionPanelLeft",
async () => { await vscode.commands.executeCommand("workbench.action.positionPanelLeft"); }),