@codingame/monaco-vscode-walkthrough-service-override 7.1.0 → 7.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (17) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js +27 -34
  3. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.js +30 -39
  4. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedColors.js +8 -9
  5. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExtensionPoint.js +57 -93
  6. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedIcons.js +3 -12
  7. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedInput.js +2 -3
  8. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService._contribution.js +5 -7
  9. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +6 -7
  10. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/startupPage.js +4 -6
  11. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.js +147 -177
  12. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookProfile.js +4 -5
  13. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker.js +6 -7
  14. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.js +4 -9
  15. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThrough.contribution.js +3 -4
  16. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughPart.js +3 -4
  17. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/common/walkThroughUtils.js +3 -5
@@ -1,18 +1,17 @@
1
1
  import 'vscode/vscode/vs/base/common/strings';
2
- import { localizeWithPath } from 'vscode/vscode/vs/nls';
2
+ import { localize } from 'vscode/vscode/vs/nls';
3
3
  import 'vscode/vscode/vs/workbench/services/themes/common/workbenchThemeService';
4
4
  import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
5
5
  import { registerIcon } from 'vscode/vscode/vs/platform/theme/common/iconRegistry';
6
6
  import { NotebookSetting } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
7
7
 
8
- const _moduleId = "vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent";
9
- const setupIcon = registerIcon('getting-started-setup', Codicon.zap, ( localizeWithPath(_moduleId, 0, "Icon used for the setup category of welcome page")));
10
- const beginnerIcon = registerIcon('getting-started-beginner', Codicon.lightbulb, ( localizeWithPath(_moduleId, 1, "Icon used for the beginner category of welcome page")));
8
+ const setupIcon = registerIcon('getting-started-setup', Codicon.zap, ( localize(7417, "Icon used for the setup category of welcome page")));
9
+ const beginnerIcon = registerIcon('getting-started-beginner', Codicon.lightbulb, ( localize(7418, "Icon used for the beginner category of welcome page")));
11
10
  const startEntries = [
12
11
  {
13
12
  id: 'welcome.showNewFileEntries',
14
- title: ( localizeWithPath(_moduleId, 2, "New File...")),
15
- description: ( localizeWithPath(_moduleId, 3, "Open a new untitled text file, notebook, or custom editor.")),
13
+ title: ( localize(7419, "New File...")),
14
+ description: ( localize(7420, "Open a new untitled text file, notebook, or custom editor.")),
16
15
  icon: Codicon.newFile,
17
16
  content: {
18
17
  type: 'startEntry',
@@ -21,8 +20,8 @@ const startEntries = [
21
20
  },
22
21
  {
23
22
  id: 'topLevelOpenMac',
24
- title: ( localizeWithPath(_moduleId, 4, "Open...")),
25
- description: ( localizeWithPath(_moduleId, 5, "Open a file or folder to start working")),
23
+ title: ( localize(7421, "Open...")),
24
+ description: ( localize(7422, "Open a file or folder to start working")),
26
25
  icon: Codicon.folderOpened,
27
26
  when: '!isWeb && isMac',
28
27
  content: {
@@ -32,8 +31,8 @@ const startEntries = [
32
31
  },
33
32
  {
34
33
  id: 'topLevelOpenFile',
35
- title: ( localizeWithPath(_moduleId, 6, "Open File...")),
36
- description: ( localizeWithPath(_moduleId, 7, "Open a file to start working")),
34
+ title: ( localize(7423, "Open File...")),
35
+ description: ( localize(7424, "Open a file to start working")),
37
36
  icon: Codicon.goToFile,
38
37
  when: 'isWeb || !isMac',
39
38
  content: {
@@ -43,8 +42,8 @@ const startEntries = [
43
42
  },
44
43
  {
45
44
  id: 'topLevelOpenFolder',
46
- title: ( localizeWithPath(_moduleId, 8, "Open Folder...")),
47
- description: ( localizeWithPath(_moduleId, 9, "Open a folder to start working")),
45
+ title: ( localize(7425, "Open Folder...")),
46
+ description: ( localize(7426, "Open a folder to start working")),
48
47
  icon: Codicon.folderOpened,
49
48
  when: '!isWeb && !isMac',
50
49
  content: {
@@ -54,8 +53,8 @@ const startEntries = [
54
53
  },
55
54
  {
56
55
  id: 'topLevelOpenFolderWeb',
57
- title: ( localizeWithPath(_moduleId, 8, "Open Folder...")),
58
- description: ( localizeWithPath(_moduleId, 9, "Open a folder to start working")),
56
+ title: ( localize(7426, "Open Folder...")),
57
+ description: ( localize(7426, "Open a folder to start working")),
59
58
  icon: Codicon.folderOpened,
60
59
  when: '!openFolderWorkspaceSupport && workbenchState == \'workspace\'',
61
60
  content: {
@@ -65,8 +64,8 @@ const startEntries = [
65
64
  },
66
65
  {
67
66
  id: 'topLevelGitClone',
68
- title: ( localizeWithPath(_moduleId, 10, "Clone Git Repository...")),
69
- description: ( localizeWithPath(_moduleId, 11, "Clone a remote repository to a local folder")),
67
+ title: ( localize(7427, "Clone Git Repository...")),
68
+ description: ( localize(7428, "Clone a remote repository to a local folder")),
70
69
  when: 'config.git.enabled && !git.missing',
71
70
  icon: Codicon.sourceControl,
72
71
  content: {
@@ -76,10 +75,9 @@ const startEntries = [
76
75
  },
77
76
  {
78
77
  id: 'topLevelGitOpen',
79
- title: ( localizeWithPath(_moduleId, 12, "Open Repository...")),
80
- description: ( localizeWithPath(
81
- _moduleId,
82
- 13,
78
+ title: ( localize(7429, "Open Repository...")),
79
+ description: ( localize(
80
+ 7430,
83
81
  "Connect to a remote repository or pull request to browse, search, edit, and commit"
84
82
  )),
85
83
  when: 'workspacePlatform == \'webworker\'',
@@ -91,8 +89,8 @@ const startEntries = [
91
89
  },
92
90
  {
93
91
  id: 'topLevelShowWalkthroughs',
94
- title: ( localizeWithPath(_moduleId, 14, "Open a Walkthrough...")),
95
- description: ( localizeWithPath(_moduleId, 15, "View a walkthrough on the editor or an extension")),
92
+ title: ( localize(7431, "Open a Walkthrough...")),
93
+ description: ( localize(7432, "View a walkthrough on the editor or an extension")),
96
94
  icon: Codicon.checklist,
97
95
  when: 'allWalkthroughsHidden',
98
96
  content: {
@@ -102,8 +100,8 @@ const startEntries = [
102
100
  },
103
101
  {
104
102
  id: 'topLevelRemoteOpen',
105
- title: ( localizeWithPath(_moduleId, 16, "Connect to...")),
106
- description: ( localizeWithPath(_moduleId, 17, "Connect to remote development workspaces.")),
103
+ title: ( localize(7433, "Connect to...")),
104
+ description: ( localize(7434, "Connect to remote development workspaces.")),
107
105
  when: '!isWeb',
108
106
  icon: Codicon.remote,
109
107
  content: {
@@ -113,8 +111,8 @@ const startEntries = [
113
111
  },
114
112
  {
115
113
  id: 'topLevelOpenTunnel',
116
- title: ( localizeWithPath(_moduleId, 18, "Open Tunnel...")),
117
- description: ( localizeWithPath(_moduleId, 19, "Connect to a remote machine through a Tunnel")),
114
+ title: ( localize(7435, "Open Tunnel...")),
115
+ description: ( localize(7436, "Connect to a remote machine through a Tunnel")),
118
116
  when: 'isWeb && showRemoteStartEntryInWeb',
119
117
  icon: Codicon.remote,
120
118
  content: {
@@ -127,8 +125,8 @@ const Button = (title, href) => `[${title}](${href})`;
127
125
  const walkthroughs = [
128
126
  {
129
127
  id: 'Setup',
130
- title: ( localizeWithPath(_moduleId, 20, "Get Started with VS Code")),
131
- description: ( localizeWithPath(_moduleId, 21, "Customize your editor, learn the basics, and start coding")),
128
+ title: ( localize(7437, "Get Started with VS Code")),
129
+ description: ( localize(7438, "Customize your editor, learn the basics, and start coding")),
132
130
  isFeatured: true,
133
131
  icon: setupIcon,
134
132
  when: '!isWeb',
@@ -138,12 +136,11 @@ const walkthroughs = [
138
136
  steps: [
139
137
  {
140
138
  id: 'pickColorTheme',
141
- title: ( localizeWithPath(_moduleId, 22, "Choose your theme")),
142
- description: ( localizeWithPath(
143
- _moduleId,
144
- 23,
139
+ title: ( localize(7439, "Choose your theme")),
140
+ description: ( localize(
141
+ 7440,
145
142
  "The right theme helps you focus on your code, is easy on your eyes, and is simply more fun to use.\n{0}",
146
- Button(( localizeWithPath(_moduleId, 24, "Browse Color Themes")), 'command:workbench.action.selectTheme')
143
+ Button(( localize(7441, "Browse Color Themes")), 'command:workbench.action.selectTheme')
147
144
  )),
148
145
  completionEvents: [
149
146
  'onSettingChanged:workbench.colorTheme',
@@ -153,12 +150,11 @@ const walkthroughs = [
153
150
  },
154
151
  {
155
152
  id: 'extensionsWeb',
156
- title: ( localizeWithPath(_moduleId, 25, "Code with extensions")),
157
- description: ( localizeWithPath(
158
- _moduleId,
159
- 26,
153
+ title: ( localize(7442, "Code with extensions")),
154
+ description: ( localize(
155
+ 7443,
160
156
  "Extensions are VS Code's power-ups. A growing number are becoming available in the web.\n{0}",
161
- Button(( localizeWithPath(_moduleId, 27, "Browse Popular Web Extensions")), 'command:workbench.extensions.action.showPopularExtensions')
157
+ Button(( localize(7444, "Browse Popular Web Extensions")), 'command:workbench.extensions.action.showPopularExtensions')
162
158
  )),
163
159
  when: 'workspacePlatform == \'webworker\'',
164
160
  media: {
@@ -167,12 +163,11 @@ const walkthroughs = [
167
163
  },
168
164
  {
169
165
  id: 'findLanguageExtensions',
170
- title: ( localizeWithPath(_moduleId, 28, "Rich support for all your languages")),
171
- description: ( localizeWithPath(
172
- _moduleId,
173
- 29,
166
+ title: ( localize(7445, "Rich support for all your languages")),
167
+ description: ( localize(
168
+ 7446,
174
169
  "Code smarter with syntax highlighting, code completion, linting and debugging. While many languages are built-in, many more can be added as extensions.\n{0}",
175
- Button(( localizeWithPath(_moduleId, 30, "Browse Language Extensions")), 'command:workbench.extensions.action.showLanguageExtensions')
170
+ Button(( localize(7447, "Browse Language Extensions")), 'command:workbench.extensions.action.showLanguageExtensions')
176
171
  )),
177
172
  when: 'workspacePlatform != \'webworker\'',
178
173
  media: {
@@ -181,12 +176,11 @@ const walkthroughs = [
181
176
  },
182
177
  {
183
178
  id: 'settings',
184
- title: ( localizeWithPath(_moduleId, 31, "Tune your settings")),
185
- description: ( localizeWithPath(
186
- _moduleId,
187
- 32,
179
+ title: ( localize(7448, "Tune your settings")),
180
+ description: ( localize(
181
+ 7449,
188
182
  "Customize every aspect of VS Code and your extensions to your liking. Commonly used settings are listed first to get you started.\n{0}",
189
- Button(( localizeWithPath(_moduleId, 33, "Open Settings")), 'command:toSide:workbench.action.openSettings')
183
+ Button(( localize(7450, "Open Settings")), 'command:toSide:workbench.action.openSettings')
190
184
  )),
191
185
  media: {
192
186
  type: 'svg', altText: 'VS Code Settings', path: 'settings.svg'
@@ -194,12 +188,11 @@ const walkthroughs = [
194
188
  },
195
189
  {
196
190
  id: 'settingsSync',
197
- title: ( localizeWithPath(_moduleId, 34, "Sync settings across devices")),
198
- description: ( localizeWithPath(
199
- _moduleId,
200
- 35,
191
+ title: ( localize(7451, "Sync settings across devices")),
192
+ description: ( localize(
193
+ 7452,
201
194
  "Keep your essential customizations backed up and updated across all your devices.\n{0}",
202
- Button(( localizeWithPath(_moduleId, 36, "Backup and Sync Settings")), 'command:workbench.userDataSync.actions.turnOn')
195
+ Button(( localize(7453, "Backup and Sync Settings")), 'command:workbench.userDataSync.actions.turnOn')
203
196
  )),
204
197
  when: 'syncStatus != uninitialized',
205
198
  completionEvents: ['onEvent:sync-enabled'],
@@ -209,23 +202,21 @@ const walkthroughs = [
209
202
  },
210
203
  {
211
204
  id: 'commandPaletteTask',
212
- title: ( localizeWithPath(_moduleId, 37, "Unlock productivity with the Command Palette ")),
213
- description: ( localizeWithPath(
214
- _moduleId,
215
- 38,
205
+ title: ( localize(7454, "Unlock productivity with the Command Palette ")),
206
+ description: ( localize(
207
+ 7455,
216
208
  "Run commands without reaching for your mouse to accomplish any task in VS Code.\n{0}",
217
- Button(( localizeWithPath(_moduleId, 39, "Open Command Palette")), 'command:workbench.action.showCommands')
209
+ Button(( localize(7456, "Open Command Palette")), 'command:workbench.action.showCommands')
218
210
  )),
219
211
  media: { type: 'svg', altText: 'Command Palette overlay for searching and executing commands.', path: 'commandPalette.svg' },
220
212
  },
221
213
  {
222
214
  id: 'pickAFolderTask-Mac',
223
- title: ( localizeWithPath(_moduleId, 40, "Open up your code")),
224
- description: ( localizeWithPath(
225
- _moduleId,
226
- 41,
215
+ title: ( localize(7457, "Open up your code")),
216
+ description: ( localize(
217
+ 7458,
227
218
  "You're all set to start coding. Open a project folder to get your files into VS Code.\n{0}",
228
- Button(( localizeWithPath(_moduleId, 42, "Pick a Folder")), 'command:workbench.action.files.openFileFolder')
219
+ Button(( localize(7459, "Pick a Folder")), 'command:workbench.action.files.openFileFolder')
229
220
  )),
230
221
  when: 'isMac && workspaceFolderCount == 0',
231
222
  media: {
@@ -234,12 +225,11 @@ const walkthroughs = [
234
225
  },
235
226
  {
236
227
  id: 'pickAFolderTask-Other',
237
- title: ( localizeWithPath(_moduleId, 40, "Open up your code")),
238
- description: ( localizeWithPath(
239
- _moduleId,
240
- 41,
228
+ title: ( localize(7459, "Open up your code")),
229
+ description: ( localize(
230
+ 7459,
241
231
  "You're all set to start coding. Open a project folder to get your files into VS Code.\n{0}",
242
- Button(( localizeWithPath(_moduleId, 42, "Pick a Folder")), 'command:workbench.action.files.openFolder')
232
+ Button(( localize(7459, "Pick a Folder")), 'command:workbench.action.files.openFolder')
243
233
  )),
244
234
  when: '!isMac && workspaceFolderCount == 0',
245
235
  media: {
@@ -248,12 +238,11 @@ const walkthroughs = [
248
238
  },
249
239
  {
250
240
  id: 'quickOpen',
251
- title: ( localizeWithPath(_moduleId, 43, "Quickly navigate between your files")),
252
- description: ( localizeWithPath(
253
- _moduleId,
254
- 44,
241
+ title: ( localize(7460, "Quickly navigate between your files")),
242
+ description: ( localize(
243
+ 7461,
255
244
  "Navigate between files in an instant with one keystroke. Tip: Open multiple files by pressing the right arrow key.\n{0}",
256
- Button(( localizeWithPath(_moduleId, 45, "Quick Open a File")), 'command:toSide:workbench.action.quickOpen')
245
+ Button(( localize(7462, "Quick Open a File")), 'command:toSide:workbench.action.quickOpen')
257
246
  )),
258
247
  when: 'workspaceFolderCount != 0',
259
248
  media: {
@@ -262,12 +251,11 @@ const walkthroughs = [
262
251
  },
263
252
  {
264
253
  id: 'videoTutorial',
265
- title: ( localizeWithPath(_moduleId, 46, "Watch video tutorials")),
266
- description: ( localizeWithPath(
267
- _moduleId,
268
- 47,
254
+ title: ( localize(7463, "Watch video tutorials")),
255
+ description: ( localize(
256
+ 7464,
269
257
  "Watch the first in a series of short & practical video tutorials for VS Code's key features.\n{0}",
270
- Button(( localizeWithPath(_moduleId, 48, "Watch Tutorial")), 'https://aka.ms/vscode-getting-started-video')
258
+ Button(( localize(7465, "Watch Tutorial")), 'https://aka.ms/vscode-getting-started-video')
271
259
  )),
272
260
  media: { type: 'svg', altText: 'VS Code Settings', path: 'learn.svg' },
273
261
  }
@@ -276,8 +264,8 @@ const walkthroughs = [
276
264
  },
277
265
  {
278
266
  id: 'SetupWeb',
279
- title: ( localizeWithPath(_moduleId, 49, "Get Started with VS Code for the Web")),
280
- description: ( localizeWithPath(_moduleId, 50, "Customize your editor, learn the basics, and start coding")),
267
+ title: ( localize(7466, "Get Started with VS Code for the Web")),
268
+ description: ( localize(7467, "Customize your editor, learn the basics, and start coding")),
281
269
  isFeatured: true,
282
270
  icon: setupIcon,
283
271
  when: 'isWeb',
@@ -287,12 +275,11 @@ const walkthroughs = [
287
275
  steps: [
288
276
  {
289
277
  id: 'pickColorThemeWeb',
290
- title: ( localizeWithPath(_moduleId, 22, "Choose your theme")),
291
- description: ( localizeWithPath(
292
- _moduleId,
293
- 23,
278
+ title: ( localize(7467, "Choose your theme")),
279
+ description: ( localize(
280
+ 7467,
294
281
  "The right theme helps you focus on your code, is easy on your eyes, and is simply more fun to use.\n{0}",
295
- Button(( localizeWithPath(_moduleId, 24, "Browse Color Themes")), 'command:workbench.action.selectTheme')
282
+ Button(( localize(7467, "Browse Color Themes")), 'command:workbench.action.selectTheme')
296
283
  )),
297
284
  completionEvents: [
298
285
  'onSettingChanged:workbench.colorTheme',
@@ -302,12 +289,11 @@ const walkthroughs = [
302
289
  },
303
290
  {
304
291
  id: 'menuBarWeb',
305
- title: ( localizeWithPath(_moduleId, 51, "Just the right amount of UI")),
306
- description: ( localizeWithPath(
307
- _moduleId,
308
- 52,
292
+ title: ( localize(7468, "Just the right amount of UI")),
293
+ description: ( localize(
294
+ 7469,
309
295
  "The full menu bar is available in the dropdown menu to make room for your code. Toggle its appearance for faster access. \n{0}",
310
- Button(( localizeWithPath(_moduleId, 53, "Toggle Menu Bar")), 'command:workbench.action.toggleMenuBar')
296
+ Button(( localize(7470, "Toggle Menu Bar")), 'command:workbench.action.toggleMenuBar')
311
297
  )),
312
298
  when: 'isWeb',
313
299
  media: {
@@ -316,12 +302,11 @@ const walkthroughs = [
316
302
  },
317
303
  {
318
304
  id: 'extensionsWebWeb',
319
- title: ( localizeWithPath(_moduleId, 25, "Code with extensions")),
320
- description: ( localizeWithPath(
321
- _moduleId,
322
- 26,
305
+ title: ( localize(7470, "Code with extensions")),
306
+ description: ( localize(
307
+ 7470,
323
308
  "Extensions are VS Code's power-ups. A growing number are becoming available in the web.\n{0}",
324
- Button(( localizeWithPath(_moduleId, 27, "Browse Popular Web Extensions")), 'command:workbench.extensions.action.showPopularExtensions')
309
+ Button(( localize(7470, "Browse Popular Web Extensions")), 'command:workbench.extensions.action.showPopularExtensions')
325
310
  )),
326
311
  when: 'workspacePlatform == \'webworker\'',
327
312
  media: {
@@ -330,12 +315,11 @@ const walkthroughs = [
330
315
  },
331
316
  {
332
317
  id: 'findLanguageExtensionsWeb',
333
- title: ( localizeWithPath(_moduleId, 28, "Rich support for all your languages")),
334
- description: ( localizeWithPath(
335
- _moduleId,
336
- 29,
318
+ title: ( localize(7470, "Rich support for all your languages")),
319
+ description: ( localize(
320
+ 7470,
337
321
  "Code smarter with syntax highlighting, code completion, linting and debugging. While many languages are built-in, many more can be added as extensions.\n{0}",
338
- Button(( localizeWithPath(_moduleId, 30, "Browse Language Extensions")), 'command:workbench.extensions.action.showLanguageExtensions')
322
+ Button(( localize(7470, "Browse Language Extensions")), 'command:workbench.extensions.action.showLanguageExtensions')
339
323
  )),
340
324
  when: 'workspacePlatform != \'webworker\'',
341
325
  media: {
@@ -344,12 +328,11 @@ const walkthroughs = [
344
328
  },
345
329
  {
346
330
  id: 'settingsSyncWeb',
347
- title: ( localizeWithPath(_moduleId, 34, "Sync settings across devices")),
348
- description: ( localizeWithPath(
349
- _moduleId,
350
- 35,
331
+ title: ( localize(7470, "Sync settings across devices")),
332
+ description: ( localize(
333
+ 7470,
351
334
  "Keep your essential customizations backed up and updated across all your devices.\n{0}",
352
- Button(( localizeWithPath(_moduleId, 36, "Backup and Sync Settings")), 'command:workbench.userDataSync.actions.turnOn')
335
+ Button(( localize(7470, "Backup and Sync Settings")), 'command:workbench.userDataSync.actions.turnOn')
353
336
  )),
354
337
  when: 'syncStatus != uninitialized',
355
338
  completionEvents: ['onEvent:sync-enabled'],
@@ -359,24 +342,22 @@ const walkthroughs = [
359
342
  },
360
343
  {
361
344
  id: 'commandPaletteTaskWeb',
362
- title: ( localizeWithPath(_moduleId, 37, "Unlock productivity with the Command Palette ")),
363
- description: ( localizeWithPath(
364
- _moduleId,
365
- 38,
345
+ title: ( localize(7470, "Unlock productivity with the Command Palette ")),
346
+ description: ( localize(
347
+ 7470,
366
348
  "Run commands without reaching for your mouse to accomplish any task in VS Code.\n{0}",
367
- Button(( localizeWithPath(_moduleId, 39, "Open Command Palette")), 'command:workbench.action.showCommands')
349
+ Button(( localize(7470, "Open Command Palette")), 'command:workbench.action.showCommands')
368
350
  )),
369
351
  media: { type: 'svg', altText: 'Command Palette overlay for searching and executing commands.', path: 'commandPalette.svg' },
370
352
  },
371
353
  {
372
354
  id: 'pickAFolderTask-WebWeb',
373
- title: ( localizeWithPath(_moduleId, 40, "Open up your code")),
374
- description: ( localizeWithPath(
375
- _moduleId,
376
- 54,
355
+ title: ( localize(7470, "Open up your code")),
356
+ description: ( localize(
357
+ 7471,
377
358
  "You're all set to start coding. You can open a local project or a remote repository to get your files into VS Code.\n{0}\n{1}",
378
- Button(( localizeWithPath(_moduleId, 55, "Open Folder")), 'command:workbench.action.addRootFolder'),
379
- Button(( localizeWithPath(_moduleId, 56, "Open Repository")), 'command:remoteHub.openRepository')
359
+ Button(( localize(7472, "Open Folder")), 'command:workbench.action.addRootFolder'),
360
+ Button(( localize(7473, "Open Repository")), 'command:remoteHub.openRepository')
380
361
  )),
381
362
  when: 'workspaceFolderCount == 0',
382
363
  media: {
@@ -385,12 +366,11 @@ const walkthroughs = [
385
366
  },
386
367
  {
387
368
  id: 'quickOpenWeb',
388
- title: ( localizeWithPath(_moduleId, 43, "Quickly navigate between your files")),
389
- description: ( localizeWithPath(
390
- _moduleId,
391
- 44,
369
+ title: ( localize(7473, "Quickly navigate between your files")),
370
+ description: ( localize(
371
+ 7473,
392
372
  "Navigate between files in an instant with one keystroke. Tip: Open multiple files by pressing the right arrow key.\n{0}",
393
- Button(( localizeWithPath(_moduleId, 45, "Quick Open a File")), 'command:toSide:workbench.action.quickOpen')
373
+ Button(( localize(7473, "Quick Open a File")), 'command:toSide:workbench.action.quickOpen')
394
374
  )),
395
375
  when: 'workspaceFolderCount != 0',
396
376
  media: {
@@ -403,20 +383,19 @@ const walkthroughs = [
403
383
  {
404
384
  id: 'Beginner',
405
385
  isFeatured: false,
406
- title: ( localizeWithPath(_moduleId, 57, "Learn the Fundamentals")),
386
+ title: ( localize(7474, "Learn the Fundamentals")),
407
387
  icon: beginnerIcon,
408
- description: ( localizeWithPath(_moduleId, 58, "Get an overview of the most essential features")),
388
+ description: ( localize(7475, "Get an overview of the most essential features")),
409
389
  content: {
410
390
  type: 'steps',
411
391
  steps: [
412
392
  {
413
393
  id: 'extensions',
414
- title: ( localizeWithPath(_moduleId, 25, "Code with extensions")),
415
- description: ( localizeWithPath(
416
- _moduleId,
417
- 59,
394
+ title: ( localize(7475, "Code with extensions")),
395
+ description: ( localize(
396
+ 7476,
418
397
  "Extensions are VS Code's power-ups. They range from handy productivity hacks, expanding out-of-the-box features, to adding completely new capabilities.\n{0}",
419
- Button(( localizeWithPath(_moduleId, 60, "Browse Popular Extensions")), 'command:workbench.extensions.action.showPopularExtensions')
398
+ Button(( localize(7477, "Browse Popular Extensions")), 'command:workbench.extensions.action.showPopularExtensions')
420
399
  )),
421
400
  when: 'workspacePlatform != \'webworker\'',
422
401
  media: {
@@ -425,12 +404,11 @@ const walkthroughs = [
425
404
  },
426
405
  {
427
406
  id: 'terminal',
428
- title: ( localizeWithPath(_moduleId, 61, "Built-in terminal")),
429
- description: ( localizeWithPath(
430
- _moduleId,
431
- 62,
407
+ title: ( localize(7478, "Built-in terminal")),
408
+ description: ( localize(
409
+ 7479,
432
410
  "Quickly run shell commands and monitor build output, right next to your code.\n{0}",
433
- Button(( localizeWithPath(_moduleId, 63, "Open Terminal")), 'command:workbench.action.terminal.toggleTerminal')
411
+ Button(( localize(7480, "Open Terminal")), 'command:workbench.action.terminal.toggleTerminal')
434
412
  )),
435
413
  when: 'workspacePlatform != \'webworker\' && remoteName != codespaces && !terminalIsOpen',
436
414
  media: {
@@ -439,12 +417,11 @@ const walkthroughs = [
439
417
  },
440
418
  {
441
419
  id: 'debugging',
442
- title: ( localizeWithPath(_moduleId, 64, "Watch your code in action")),
443
- description: ( localizeWithPath(
444
- _moduleId,
445
- 65,
420
+ title: ( localize(7481, "Watch your code in action")),
421
+ description: ( localize(
422
+ 7482,
446
423
  "Accelerate your edit, build, test, and debug loop by setting up a launch configuration.\n{0}",
447
- Button(( localizeWithPath(_moduleId, 66, "Run your Project")), 'command:workbench.action.debug.selectandstart')
424
+ Button(( localize(7483, "Run your Project")), 'command:workbench.action.debug.selectandstart')
448
425
  )),
449
426
  when: 'workspacePlatform != \'webworker\' && workspaceFolderCount != 0',
450
427
  media: {
@@ -453,12 +430,11 @@ const walkthroughs = [
453
430
  },
454
431
  {
455
432
  id: 'scmClone',
456
- title: ( localizeWithPath(_moduleId, 67, "Track your code with Git")),
457
- description: ( localizeWithPath(
458
- _moduleId,
459
- 68,
433
+ title: ( localize(7484, "Track your code with Git")),
434
+ description: ( localize(
435
+ 7485,
460
436
  "Set up the built-in version control for your project to track your changes and collaborate with others.\n{0}",
461
- Button(( localizeWithPath(_moduleId, 69, "Clone Repository")), 'command:git.clone')
437
+ Button(( localize(7486, "Clone Repository")), 'command:git.clone')
462
438
  )),
463
439
  when: 'config.git.enabled && !git.missing && workspaceFolderCount == 0',
464
440
  media: {
@@ -467,12 +443,11 @@ const walkthroughs = [
467
443
  },
468
444
  {
469
445
  id: 'scmSetup',
470
- title: ( localizeWithPath(_moduleId, 67, "Track your code with Git")),
471
- description: ( localizeWithPath(
472
- _moduleId,
473
- 70,
446
+ title: ( localize(7486, "Track your code with Git")),
447
+ description: ( localize(
448
+ 7487,
474
449
  "Set up the built-in version control for your project to track your changes and collaborate with others.\n{0}",
475
- Button(( localizeWithPath(_moduleId, 71, "Initialize Git Repository")), 'command:git.init')
450
+ Button(( localize(7488, "Initialize Git Repository")), 'command:git.init')
476
451
  )),
477
452
  when: 'config.git.enabled && !git.missing && workspaceFolderCount != 0 && gitOpenRepositoryCount == 0',
478
453
  media: {
@@ -481,12 +456,11 @@ const walkthroughs = [
481
456
  },
482
457
  {
483
458
  id: 'scm',
484
- title: ( localizeWithPath(_moduleId, 67, "Track your code with Git")),
485
- description: ( localizeWithPath(
486
- _moduleId,
487
- 72,
459
+ title: ( localize(7488, "Track your code with Git")),
460
+ description: ( localize(
461
+ 7489,
488
462
  "No more looking up Git commands! Git and GitHub workflows are seamlessly integrated.\n{0}",
489
- Button(( localizeWithPath(_moduleId, 73, "Open Source Control")), 'command:workbench.view.scm')
463
+ Button(( localize(7490, "Open Source Control")), 'command:workbench.view.scm')
490
464
  )),
491
465
  when: 'config.git.enabled && !git.missing && workspaceFolderCount != 0 && gitOpenRepositoryCount != 0 && activeViewlet != \'workbench.view.scm\'',
492
466
  media: {
@@ -495,12 +469,11 @@ const walkthroughs = [
495
469
  },
496
470
  {
497
471
  id: 'installGit',
498
- title: ( localizeWithPath(_moduleId, 74, "Install Git")),
499
- description: ( localizeWithPath(
500
- _moduleId,
501
- 75,
472
+ title: ( localize(7491, "Install Git")),
473
+ description: ( localize(
474
+ 7492,
502
475
  "Install Git to track changes in your projects.\n{0}\n{1}Reload window{2} after installation to complete Git setup.",
503
- Button(( localizeWithPath(_moduleId, 76, "Install Git")), 'https://aka.ms/vscode-install-git'),
476
+ Button(( localize(7493, "Install Git")), 'https://aka.ms/vscode-install-git'),
504
477
  '[',
505
478
  '](command:workbench.action.reloadWindow)'
506
479
  )),
@@ -514,13 +487,12 @@ const walkthroughs = [
514
487
  },
515
488
  {
516
489
  id: 'tasks',
517
- title: ( localizeWithPath(_moduleId, 77, "Automate your project tasks")),
490
+ title: ( localize(7494, "Automate your project tasks")),
518
491
  when: 'workspaceFolderCount != 0 && workspacePlatform != \'webworker\'',
519
- description: ( localizeWithPath(
520
- _moduleId,
521
- 78,
492
+ description: ( localize(
493
+ 7495,
522
494
  "Create tasks for your common workflows and enjoy the integrated experience of running scripts and automatically checking results.\n{0}",
523
- Button(( localizeWithPath(_moduleId, 79, "Run Auto-detected Tasks")), 'command:workbench.action.tasks.runTask')
495
+ Button(( localize(7496, "Run Auto-detected Tasks")), 'command:workbench.action.tasks.runTask')
524
496
  )),
525
497
  media: {
526
498
  type: 'svg', altText: 'Task runner.', path: 'runTask.svg',
@@ -528,12 +500,11 @@ const walkthroughs = [
528
500
  },
529
501
  {
530
502
  id: 'shortcuts',
531
- title: ( localizeWithPath(_moduleId, 80, "Customize your shortcuts")),
532
- description: ( localizeWithPath(
533
- _moduleId,
534
- 81,
503
+ title: ( localize(7497, "Customize your shortcuts")),
504
+ description: ( localize(
505
+ 7498,
535
506
  "Once you have discovered your favorite commands, create custom keyboard shortcuts for instant access.\n{0}",
536
- Button(( localizeWithPath(_moduleId, 82, "Keyboard Shortcuts")), 'command:toSide:workbench.action.openGlobalKeybindings')
507
+ Button(( localize(7499, "Keyboard Shortcuts")), 'command:toSide:workbench.action.openGlobalKeybindings')
537
508
  )),
538
509
  media: {
539
510
  type: 'svg', altText: 'Interactive shortcuts.', path: 'shortcuts.svg',
@@ -541,13 +512,12 @@ const walkthroughs = [
541
512
  },
542
513
  {
543
514
  id: 'workspaceTrust',
544
- title: ( localizeWithPath(_moduleId, 83, "Safely browse and edit code")),
545
- description: ( localizeWithPath(
546
- _moduleId,
547
- 84,
515
+ title: ( localize(7500, "Safely browse and edit code")),
516
+ description: ( localize(
517
+ 7501,
548
518
  "{0} lets you decide whether your project folders should **allow or restrict** automatic code execution __(required for extensions, debugging, etc)__.\nOpening a file/folder will prompt to grant trust. You can always {1} later.",
549
- Button(( localizeWithPath(_moduleId, 85, "Workspace Trust")), 'https://github.com/microsoft/vscode-docs/blob/workspaceTrust/docs/editor/workspace-trust.md'),
550
- Button(( localizeWithPath(_moduleId, 86, "enable trust")), 'command:toSide:workbench.action.manageTrustedDomain')
519
+ Button(( localize(7502, "Workspace Trust")), 'https://github.com/microsoft/vscode-docs/blob/workspaceTrust/docs/editor/workspace-trust.md'),
520
+ Button(( localize(7503, "enable trust")), 'command:toSide:workbench.action.manageTrustedDomain')
551
521
  )),
552
522
  when: 'workspacePlatform != \'webworker\' && !isWorkspaceTrusted && workspaceFolderCount == 0',
553
523
  media: {
@@ -559,7 +529,7 @@ const walkthroughs = [
559
529
  },
560
530
  {
561
531
  id: 'notebooks',
562
- title: ( localizeWithPath(_moduleId, 87, "Customize Notebooks")),
532
+ title: ( localize(7504, "Customize Notebooks")),
563
533
  description: '',
564
534
  icon: setupIcon,
565
535
  isFeatured: false,
@@ -570,8 +540,8 @@ const walkthroughs = [
570
540
  {
571
541
  completionEvents: ['onCommand:notebook.setProfile'],
572
542
  id: 'notebookProfile',
573
- title: ( localizeWithPath(_moduleId, 88, "Select the layout for your notebooks")),
574
- description: ( localizeWithPath(_moduleId, 89, "Get notebooks to feel just the way you prefer")),
543
+ title: ( localize(7505, "Select the layout for your notebooks")),
544
+ description: ( localize(7506, "Get notebooks to feel just the way you prefer")),
575
545
  when: 'userHasOpenedNotebook',
576
546
  media: {
577
547
  type: 'markdown', path: 'notebookProfile'