File size: 6,298 Bytes
6202252
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
{
	"name": "getting-started-sample",
	"displayName": "getting-started-sample",
	"description": "Example extension contribution to Getting Started page",
	"version": "0.0.1",
	"publisher": "vscode-samples",
	"private": true,
	"license": "MIT",
	"repository": "https://github.com/Microsoft/vscode-extension-samples/getting-started-sample",
	"engines": {
		"vscode": "^1.100.0"
	},
	"categories": [
		"Other"
	],
	"activationEvents": [
		"onCommand:getting-started-sample.runCommand",
		"onCommand:getting-started-sample.changeSetting",
		"onCommand:getting-started-sample.setContext",
		"onCommand:getting-started-sample.sayHello",
		"onCommand:getting-started-sample.viewSources"
	],
	"main": "./out/extension.js",
	"contributes": {
		"menus": {
			"file/newFile": [
				{
					"command": "getting-started-sample.sayHello"
				}
			]
		},
		"commands": [
			{
				"title": "Getting Started Sample: Say Hello",
				"shortTitle": "Say Hello (This is the name used in the New File quick pick)",
				"command": "getting-started-sample.sayHello"
			}
		],
		"walkthroughs": [
			{
				"id": "sample",
				"title": "Sample",
				"description": "A sample walkthrough",
				"steps": [
					{
						"id": "runcommand",
						"title": "Run Command",
						"description": "This step will run a command and check off once it has been run.\n[Run Command](command:getting-started-sample.runCommand)",
						"media": {
							"image": "media/image.png",
							"altText": "Empty image"
						},
						"completionEvents": [
							"onCommand:getting-started-sample.runCommand"
						]
					},
					{
						"id": "changesetting",
						"title": "Change Setting",
						"description": "This step will change a setting and check off when the setting has changed\n[Change Setting](command:getting-started-sample.changeSetting)",
						"media": {
							"image": "media/image.png",
							"altText": "Empty image"
						},
						"completionEvents": [
							"onSettingChanged:getting-started-sample.sampleSetting"
						]
					},
					{
						"id": "setcontext",
						"title": "Set Context",
						"description": "This step will set a context key, and check off when that context has been set\n[Set Context](command:getting-started-sample.setContext)",
						"media": {
							"image": "media/image.png",
							"altText": "Empty image"
						},
						"completionEvents": [
							"onContext:gettingStartedContextKey"
						]
					},
					{
						"id": "install python extension",
						"title": "Install Python Extension",
						"description": "Click here to install the Python Extension. This step will complete once it has been installed.\n[Here](command:workbench.extensions.installExtension?%22ms-python.python%22)",
						"media": {
							"image": "media/image.png",
							"altText": "Empty image"
						},
						"completionEvents": [
							"extensionInstalled:ms-python.python"
						]
					},
					{
						"id": "open terminal view",
						"title": "Open Terminal",
						"description": "Click [here](command:workbench.action.terminal.toggleTerminal) to open terminal. This step will complete once the terminal has been opened.",
						"media": {
							"image": "media/image.png",
							"altText": "Empty image"
						},
						"completionEvents": [
							"onView:terminal"
						]
					},
					{
						"id": "usesvg",
						"title": "Use SVG's",
						"description": "Try out using SVG's in your content, they can react to the theme (try: ``var(--vscode-foreground)``) and even host command links (try: ``xlink:href=\"command:``)",
						"media": {
							"svg": "media/image.svg",
							"altText": "Empty svg image"
						}
					},
					{
						"id": "mac",
						"title": "UI Platform: Mac",
						"description": "This step will only show on a Mac.",
						"when": "isMac",
						"media": {
							"markdown": "media/mac.md"
						}
					},
					{
						"id": "windows",
						"title": "UI Platform: Windows",
						"description": "This step will only show on Windows",
						"when": "isWindows",
						"media": {
							"markdown": "media/windows.md"
						}
					},
					{
						"id": "linux",
						"title": "UI Platform: Linux",
						"description": "This step will only show on Linux",
						"when": "isLinux",
						"media": {
							"markdown": "media/linux.md"
						}
					},
					{
						"id": "macRemote",
						"title": "Workspace Platform: Mac",
						"description": "This step will only show on Mac remotes.",
						"when": "workspacePlatform == 'mac'",
						"media": {
							"markdown": "media/mac.md"
						}
					},
					{
						"id": "windowsRemote",
						"title": "Workspace Platform: Windows",
						"description": "This step will only show on Windows remotes",
						"when": "workspacePlatform == 'windows'",
						"media": {
							"markdown": "media/windows.md"
						}
					},
					{
						"id": "linuxRemote",
						"title": "Workspace Platform: Linux",
						"description": "This step will only show on Linux remotes",
						"when": "workspacePlatform == 'linux'",
						"media": {
							"markdown": "media/linux.md"
						}
					},
					{
						"id": "webRemote",
						"title": "Workspace Platform: Web",
						"description": "This step will only show on webworker remotes",
						"when": "workspacePlatform == 'webworker'",
						"media": {
							"markdown": "media/linux.md"
						}
					},
					{
						"id": "showSources",
						"title": "View Sources",
						"description": "Open a folder containg the sources of this extension.\n[View Sources](command:getting-started-sample.viewSources)",
						"media": {
							"image": "media/image.png",
							"altText": "Empty image"
						}
					}
				]
			}
		],
		"configuration": {
			"title": "Getting Started Sample",
			"properties": {
				"getting-started-sample.sampleSetting": {
					"description": "Sample setting",
					"type": "boolean"
				}
			}
		}
	},
	"scripts": {
		"vscode:prepublish": "npm run compile",
		"compile": "tsc -p ./",
		"lint": "eslint",
		"watch": "tsc -watch -p ./",
		"pretest": "npm run compile && npm run lint",
		"test": "node ./out/test/runTest.js"
	},
	"devDependencies": {
		"@eslint/js": "^9.13.0",
		"@stylistic/eslint-plugin": "^2.9.0",
		"@types/node": "^22",
		"@types/vscode": "^1.100.0",
		"eslint": "^9.13.0",
		"typescript": "^5.9.2",
		"typescript-eslint": "^8.39.0"
	}
}