Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 00502b6

Browse files
Bump engine to 1.67.0 and update panel graphics (#4307)
1 parent ba430f6 commit 00502b6

File tree

8 files changed

+5
-78
lines changed

8 files changed

+5
-78
lines changed

‎media/resources/dark/ClosePanel.svg‎

Lines changed: 0 additions & 9 deletions
This file was deleted.

‎media/resources/dark/MovePanelBottom.svg‎

Lines changed: 0 additions & 10 deletions
This file was deleted.

‎media/resources/dark/MovePanelLeft.svg‎

Lines changed: 0 additions & 10 deletions
This file was deleted.

‎media/resources/light/ClosePanel.svg‎

Lines changed: 0 additions & 9 deletions
This file was deleted.

‎media/resources/light/MovePanelBottom.svg‎

Lines changed: 0 additions & 10 deletions
This file was deleted.

‎media/resources/light/MovePanelLeft.svg‎

Lines changed: 0 additions & 10 deletions
This file was deleted.

‎package.json‎

Lines changed: 4 additions & 19 deletions
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",
@@ -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",

‎src/features/ExtensionCommands.ts‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /