Skip to content

Commit aba483b

Browse files
committed
Add right-click context menu for Run Selection command
This change adds a new context menu action in the editor pane for the Run Selection command. Resolves PowerShell#581.
1 parent 96ef322 commit aba483b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

package.json

+9
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,15 @@
149149
"category": "PowerShell"
150150
}
151151
],
152+
"menus": {
153+
"editor/context": [
154+
{
155+
"when": "resourceLangId == powershell",
156+
"command": "PowerShell.RunSelection",
157+
"group": "2_powershell"
158+
}
159+
]
160+
},
152161
"snippets": [
153162
{
154163
"language": "powershell",

0 commit comments

Comments
 (0)