Skip to content

Commit efaf591

Browse files
committed
WIP: Add create file step
1 parent 4c107dd commit efaf591

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

package.json

+21-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@
4444
"onCommand:PowerShell.EnableISEMode",
4545
"onCommand:PowerShell.DisableISEMode",
4646
"onCommand:PowerShell.ToggleISEMode",
47-
"onView:PowerShellCommands"
47+
"onView:PowerShellCommands",
48+
"onWalkthrough:powershellWalkthrough"
4849
],
4950
"dependencies": {
5051
"@vscode/extension-telemetry": "~0.6.2",
@@ -89,6 +90,25 @@
8990
"publish": "vsce publish"
9091
},
9192
"contributes": {
93+
"walkthroughs": [
94+
{
95+
"id": "powershellWalkthrough",
96+
"title": "PowerShell Walkthrough",
97+
"description": "Learn how to use PowerShell in Visual Studio Code",
98+
"steps": [
99+
{
100+
"id": "powershell.createPowerShellFile",
101+
"title": "Create a PowerShell file",
102+
"description": "[Create](command:toSide:workbench.action.files.newUntitledFile?%7B%22languageId%22%3A%22powershell%22%7D) a Python file - make sure to save it as \".py\".\n[Create PowerShell File](command:toSide:workbench.action.files.newUntitledFile?%7B%22languageId%22%3A%22powershell%22%7D)",
103+
"media": {
104+
"image": "media/PowerShell_Preview_Icon.png",
105+
"altText": "PowerShell Icon"
106+
},
107+
"when": ""
108+
}
109+
]
110+
}
111+
],
92112
"breakpoints": [
93113
{
94114
"language": "powershell"

0 commit comments

Comments
 (0)