File tree

8 files changed

+5
-78
lines changed

8 files changed

+5
-78
lines changed
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"publisher": "ms-vscode",
77
"description": "(Preview) Develop PowerShell modules, commands and scripts in Visual Studio Code!",
88
"engines": {
9-
"vscode": "^1.65.0"
9+
"vscode": "^1.67.0"
1010
},
1111
"license": "SEE LICENSE IN LICENSE.txt",
1212
"homepage": "https://.com/PowerShell/vscode-powershell/blob/main/README.md",
@@ -280,29 +280,19 @@
280280
{
281281
"command": "PowerShell.ClosePanel",
282282
"title": "Close panel",
283-
"category": "PowerShell",
284-
"icon": {
285-
"light": "media/resources/light/ClosePanel.svg",
286-
"dark": "media/resources/dark/ClosePanel.svg"
287-
}
283+
"category": "PowerShell"
288284
},
289285
{
290286
"command": "PowerShell.PositionPanelLeft",
291287
"title": "Move panel left",
292288
"category": "PowerShell",
293-
"icon": {
294-
"light": "media/resources/light/MovePanelLeft.svg",
295-
"dark": "media/resources/dark/MovePanelLeft.svg"
296-
}
289+
"icon": "$(layout-sidebar-left)"
297290
},
298291
{
299292
"command": "PowerShell.PositionPanelBottom",
300293
"title": "Move panel to bottom",
301294
"category": "PowerShell",
302-
"icon": {
303-
"light": "media/resources/light/MovePanelBottom.svg",
304-
"dark": "media/resources/dark/MovePanelBottom.svg"
305-
}
295+
"icon": "$(layout-panel-right)"
306296
}
307297
],
308298
"menus": {
@@ -353,11 +343,6 @@
353343
"command": "PowerShell.PositionPanelLeft",
354344
"group": "navigation@98"
355345
},
356-
{
357-
"when": "editorLangId == powershell && config.powershell.buttons.showPanelMovementButtons",
358-
"command": "PowerShell.ClosePanel",
359-
"group": "navigation@99"
360-
},
361346
{
362347
"when": "editorLangId == powershell && config.powershell.buttons.showRunButtons",
363348
"command": "PowerShell.Debug.Start",
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export class ExtensionCommandsFeature extends LanguageClientConsumer {
177177
}),
178178

179179
vscode.commands.registerCommand("PowerShell.ClosePanel",
180-
async () => { await vscode.commands.executeCommand("workbench.action.closePanel"); }),
180+
async () => { await vscode.commands.executeCommand("workbench.action.togglePanel"); }),
181181

182182
vscode.commands.registerCommand("PowerShell.PositionPanelLeft",
183183
async () => { await vscode.commands.executeCommand("workbench.action.positionPanelLeft"); }),

0 commit comments

Comments
 (0)