diff --git a/package.json b/package.json
index fbb93d38d8..8524e19808 100644
--- a/package.json
+++ b/package.json
@@ -161,10 +161,23 @@
},
"category": "PowerShell"
},
+ {
+ "command": "workbench.action.debug.start",
+ "title": "Run",
+ "category": "PowerShell",
+ "icon": {
+ "light": "resources/light/run.svg",
+ "dark": "resources/dark/run.svg"
+ }
+ },
{
"command": "PowerShell.RunSelection",
"title": "Run Selection",
- "category": "PowerShell"
+ "category": "PowerShell",
+ "icon": {
+ "light": "resources/light/play.svg",
+ "dark": "resources/dark/play.svg"
+ }
},
{
"command": "PowerShell.RestartSession",
@@ -260,6 +273,18 @@
"group": "2_powershell"
}
],
+ "editor/title": [
+ {
+ "when": "resourceLangId == powershell",
+ "command": "workbench.action.debug.start",
+ "group": "navigation@100"
+ },
+ {
+ "when": "resourceLangId == powershell",
+ "command": "PowerShell.RunSelection",
+ "group": "navigation@101"
+ }
+ ],
"editor/title/context": [
{
"when": "resourceFilename =~ /\\.tests\\.ps1$/i",
diff --git a/resources/dark/play.svg b/resources/dark/play.svg
new file mode 100644
index 0000000000..464ef5147e
--- /dev/null
+++ b/resources/dark/play.svg
@@ -0,0 +1,5 @@
+
diff --git a/resources/dark/run.svg b/resources/dark/run.svg
new file mode 100644
index 0000000000..8b0a58eca9
--- /dev/null
+++ b/resources/dark/run.svg
@@ -0,0 +1,3 @@
+
diff --git a/resources/light/play.svg b/resources/light/play.svg
new file mode 100644
index 0000000000..6f479653b5
--- /dev/null
+++ b/resources/light/play.svg
@@ -0,0 +1,5 @@
+
diff --git a/resources/light/run.svg b/resources/light/run.svg
new file mode 100644
index 0000000000..2563bfa114
--- /dev/null
+++ b/resources/light/run.svg
@@ -0,0 +1,3 @@
+