Skip to content

Commit bf20448

Browse files
committed
Bump engine to 1.67.0 and update panel graphics
1 parent ba430f6 commit bf20448

File tree

8 files changed

+5
-77
lines changed

8 files changed

+5
-77
lines changed

media/resources/dark/ClosePanel.svg

-9
This file was deleted.

media/resources/dark/MovePanelBottom.svg

-10
This file was deleted.

media/resources/dark/MovePanelLeft.svg

-10
This file was deleted.

media/resources/light/ClosePanel.svg

-9
This file was deleted.

media/resources/light/MovePanelBottom.svg

-10
This file was deleted.

media/resources/light/MovePanelLeft.svg

-10
This file was deleted.

package.json

+4-18
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://github.com/PowerShell/vscode-powershell/blob/main/README.md",
@@ -281,28 +281,19 @@
281281
"command": "PowerShell.ClosePanel",
282282
"title": "Close panel",
283283
"category": "PowerShell",
284-
"icon": {
285-
"light": "media/resources/light/ClosePanel.svg",
286-
"dark": "media/resources/dark/ClosePanel.svg"
287-
}
284+
"icon": "$(layout-activitybar-left)"
288285
},
289286
{
290287
"command": "PowerShell.PositionPanelLeft",
291288
"title": "Move panel left",
292289
"category": "PowerShell",
293-
"icon": {
294-
"light": "media/resources/light/MovePanelLeft.svg",
295-
"dark": "media/resources/dark/MovePanelLeft.svg"
296-
}
290+
"icon": "$(layout-sidebar-left)"
297291
},
298292
{
299293
"command": "PowerShell.PositionPanelBottom",
300294
"title": "Move panel to bottom",
301295
"category": "PowerShell",
302-
"icon": {
303-
"light": "media/resources/light/MovePanelBottom.svg",
304-
"dark": "media/resources/dark/MovePanelBottom.svg"
305-
}
296+
"icon": "$(layout-panel-right)"
306297
}
307298
],
308299
"menus": {
@@ -353,11 +344,6 @@
353344
"command": "PowerShell.PositionPanelLeft",
354345
"group": "navigation@98"
355346
},
356-
{
357-
"when": "editorLangId == powershell && config.powershell.buttons.showPanelMovementButtons",
358-
"command": "PowerShell.ClosePanel",
359-
"group": "navigation@99"
360-
},
361347
{
362348
"when": "editorLangId == powershell && config.powershell.buttons.showRunButtons",
363349
"command": "PowerShell.Debug.Start",

src/features/ExtensionCommands.ts

+1-1
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)