@codingame/monaco-vscode-walkthrough-service-override 8.0.4 → 9.0.0
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.
- package/package.json +3 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js +26 -24
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.js +27 -27
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedColors.js +7 -7
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedDetailsRenderer.js +11 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExtensionPoint.js +37 -37
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedIcons.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService._contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/startupPage.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.js +264 -120
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookProfile.js +5 -5
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker.js +7 -7
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.js +7 -5
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThrough.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughInput.js +6 -6
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/common/walkThroughContentProvider.js +28 -13
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/common/walkThroughUtils.js +1 -1
- package/walkthrough.js +0 -4
package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.js
CHANGED
|
@@ -1,17 +1,32 @@
|
|
|
1
|
-
import '
|
|
1
|
+
import themePickerContent from './media/theme_picker.js';
|
|
2
|
+
import notebookProfileContent from './media/notebookProfile.js';
|
|
2
3
|
import { localize } from 'vscode/vscode/vs/nls';
|
|
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
|
+
import { CONTEXT_ACCESSIBILITY_MODE_ENABLED } from 'vscode/vscode/vs/platform/accessibility/common/accessibility';
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
class GettingStartedContentProviderRegistry {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.providers = ( (new Map()));
|
|
12
|
+
}
|
|
13
|
+
registerProvider(moduleId, provider) {
|
|
14
|
+
this.providers.set(moduleId, provider);
|
|
15
|
+
}
|
|
16
|
+
getProvider(moduleId) {
|
|
17
|
+
return this.providers.get(moduleId);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
const gettingStartedContentRegistry = ( (new GettingStartedContentProviderRegistry()));
|
|
21
|
+
gettingStartedContentRegistry.registerProvider('vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker', themePickerContent);
|
|
22
|
+
gettingStartedContentRegistry.registerProvider('vs/workbench/contrib/welcomeGettingStarted/common/media/notebookProfile', notebookProfileContent);
|
|
23
|
+
const setupIcon = registerIcon('getting-started-setup', Codicon.zap, ( localize(7300, "Icon used for the setup category of welcome page")));
|
|
24
|
+
const beginnerIcon = registerIcon('getting-started-beginner', Codicon.lightbulb, ( localize(7301, "Icon used for the beginner category of welcome page")));
|
|
10
25
|
const startEntries = [
|
|
11
26
|
{
|
|
12
27
|
id: 'welcome.showNewFileEntries',
|
|
13
|
-
title: ( localize(
|
|
14
|
-
description: ( localize(
|
|
28
|
+
title: ( localize(7302, "New File...")),
|
|
29
|
+
description: ( localize(7303, "Open a new untitled text file, notebook, or custom editor.")),
|
|
15
30
|
icon: Codicon.newFile,
|
|
16
31
|
content: {
|
|
17
32
|
type: 'startEntry',
|
|
@@ -20,8 +35,8 @@ const startEntries = [
|
|
|
20
35
|
},
|
|
21
36
|
{
|
|
22
37
|
id: 'topLevelOpenMac',
|
|
23
|
-
title: ( localize(
|
|
24
|
-
description: ( localize(
|
|
38
|
+
title: ( localize(7304, "Open...")),
|
|
39
|
+
description: ( localize(7305, "Open a file or folder to start working")),
|
|
25
40
|
icon: Codicon.folderOpened,
|
|
26
41
|
when: '!isWeb && isMac',
|
|
27
42
|
content: {
|
|
@@ -31,8 +46,8 @@ const startEntries = [
|
|
|
31
46
|
},
|
|
32
47
|
{
|
|
33
48
|
id: 'topLevelOpenFile',
|
|
34
|
-
title: ( localize(
|
|
35
|
-
description: ( localize(
|
|
49
|
+
title: ( localize(7306, "Open File...")),
|
|
50
|
+
description: ( localize(7307, "Open a file to start working")),
|
|
36
51
|
icon: Codicon.goToFile,
|
|
37
52
|
when: 'isWeb || !isMac',
|
|
38
53
|
content: {
|
|
@@ -42,8 +57,8 @@ const startEntries = [
|
|
|
42
57
|
},
|
|
43
58
|
{
|
|
44
59
|
id: 'topLevelOpenFolder',
|
|
45
|
-
title: ( localize(
|
|
46
|
-
description: ( localize(
|
|
60
|
+
title: ( localize(7308, "Open Folder...")),
|
|
61
|
+
description: ( localize(7309, "Open a folder to start working")),
|
|
47
62
|
icon: Codicon.folderOpened,
|
|
48
63
|
when: '!isWeb && !isMac',
|
|
49
64
|
content: {
|
|
@@ -53,8 +68,8 @@ const startEntries = [
|
|
|
53
68
|
},
|
|
54
69
|
{
|
|
55
70
|
id: 'topLevelOpenFolderWeb',
|
|
56
|
-
title: ( localize(
|
|
57
|
-
description: ( localize(
|
|
71
|
+
title: ( localize(7308, "Open Folder...")),
|
|
72
|
+
description: ( localize(7309, "Open a folder to start working")),
|
|
58
73
|
icon: Codicon.folderOpened,
|
|
59
74
|
when: '!openFolderWorkspaceSupport && workbenchState == \'workspace\'',
|
|
60
75
|
content: {
|
|
@@ -64,8 +79,8 @@ const startEntries = [
|
|
|
64
79
|
},
|
|
65
80
|
{
|
|
66
81
|
id: 'topLevelGitClone',
|
|
67
|
-
title: ( localize(
|
|
68
|
-
description: ( localize(
|
|
82
|
+
title: ( localize(7310, "Clone Git Repository...")),
|
|
83
|
+
description: ( localize(7311, "Clone a remote repository to a local folder")),
|
|
69
84
|
when: 'config.git.enabled && !git.missing',
|
|
70
85
|
icon: Codicon.sourceControl,
|
|
71
86
|
content: {
|
|
@@ -75,9 +90,9 @@ const startEntries = [
|
|
|
75
90
|
},
|
|
76
91
|
{
|
|
77
92
|
id: 'topLevelGitOpen',
|
|
78
|
-
title: ( localize(
|
|
93
|
+
title: ( localize(7312, "Open Repository...")),
|
|
79
94
|
description: ( localize(
|
|
80
|
-
|
|
95
|
+
7313,
|
|
81
96
|
"Connect to a remote repository or pull request to browse, search, edit, and commit"
|
|
82
97
|
)),
|
|
83
98
|
when: 'workspacePlatform == \'webworker\'',
|
|
@@ -89,8 +104,8 @@ const startEntries = [
|
|
|
89
104
|
},
|
|
90
105
|
{
|
|
91
106
|
id: 'topLevelShowWalkthroughs',
|
|
92
|
-
title: ( localize(
|
|
93
|
-
description: ( localize(
|
|
107
|
+
title: ( localize(7314, "Open a Walkthrough...")),
|
|
108
|
+
description: ( localize(7315, "View a walkthrough on the editor or an extension")),
|
|
94
109
|
icon: Codicon.checklist,
|
|
95
110
|
when: 'allWalkthroughsHidden',
|
|
96
111
|
content: {
|
|
@@ -100,8 +115,8 @@ const startEntries = [
|
|
|
100
115
|
},
|
|
101
116
|
{
|
|
102
117
|
id: 'topLevelRemoteOpen',
|
|
103
|
-
title: ( localize(
|
|
104
|
-
description: ( localize(
|
|
118
|
+
title: ( localize(7316, "Connect to...")),
|
|
119
|
+
description: ( localize(7317, "Connect to remote development workspaces.")),
|
|
105
120
|
when: '!isWeb',
|
|
106
121
|
icon: Codicon.remote,
|
|
107
122
|
content: {
|
|
@@ -111,8 +126,8 @@ const startEntries = [
|
|
|
111
126
|
},
|
|
112
127
|
{
|
|
113
128
|
id: 'topLevelOpenTunnel',
|
|
114
|
-
title: ( localize(
|
|
115
|
-
description: ( localize(
|
|
129
|
+
title: ( localize(7318, "Open Tunnel...")),
|
|
130
|
+
description: ( localize(7319, "Connect to a remote machine through a Tunnel")),
|
|
116
131
|
when: 'isWeb && showRemoteStartEntryInWeb',
|
|
117
132
|
icon: Codicon.remote,
|
|
118
133
|
content: {
|
|
@@ -125,8 +140,8 @@ const Button = (title, href) => `[${title}](${href})`;
|
|
|
125
140
|
const walkthroughs = [
|
|
126
141
|
{
|
|
127
142
|
id: 'Setup',
|
|
128
|
-
title: ( localize(
|
|
129
|
-
description: ( localize(
|
|
143
|
+
title: ( localize(7320, "Get Started with VS Code")),
|
|
144
|
+
description: ( localize(7321, "Customize your editor, learn the basics, and start coding")),
|
|
130
145
|
isFeatured: true,
|
|
131
146
|
icon: setupIcon,
|
|
132
147
|
when: '!isWeb',
|
|
@@ -136,25 +151,26 @@ const walkthroughs = [
|
|
|
136
151
|
steps: [
|
|
137
152
|
{
|
|
138
153
|
id: 'pickColorTheme',
|
|
139
|
-
title: ( localize(
|
|
154
|
+
title: ( localize(7322, "Choose your theme")),
|
|
140
155
|
description: ( localize(
|
|
141
|
-
|
|
156
|
+
7323,
|
|
142
157
|
"The right theme helps you focus on your code, is easy on your eyes, and is simply more fun to use.\n{0}",
|
|
143
|
-
Button(( localize(
|
|
158
|
+
Button(( localize(7324, "Browse Color Themes")), 'command:workbench.action.selectTheme')
|
|
144
159
|
)),
|
|
145
160
|
completionEvents: [
|
|
146
161
|
'onSettingChanged:workbench.colorTheme',
|
|
147
162
|
'onCommand:workbench.action.selectTheme'
|
|
148
163
|
],
|
|
164
|
+
when: '!accessibilityModeEnabled',
|
|
149
165
|
media: { type: 'markdown', path: 'theme_picker', }
|
|
150
166
|
},
|
|
151
167
|
{
|
|
152
168
|
id: 'extensionsWeb',
|
|
153
|
-
title: ( localize(
|
|
169
|
+
title: ( localize(7325, "Code with extensions")),
|
|
154
170
|
description: ( localize(
|
|
155
|
-
|
|
171
|
+
7326,
|
|
156
172
|
"Extensions are VS Code's power-ups. A growing number are becoming available in the web.\n{0}",
|
|
157
|
-
Button(( localize(
|
|
173
|
+
Button(( localize(7327, "Browse Popular Web Extensions")), 'command:workbench.extensions.action.showPopularExtensions')
|
|
158
174
|
)),
|
|
159
175
|
when: 'workspacePlatform == \'webworker\'',
|
|
160
176
|
media: {
|
|
@@ -163,11 +179,11 @@ const walkthroughs = [
|
|
|
163
179
|
},
|
|
164
180
|
{
|
|
165
181
|
id: 'findLanguageExtensions',
|
|
166
|
-
title: ( localize(
|
|
182
|
+
title: ( localize(7328, "Rich support for all your languages")),
|
|
167
183
|
description: ( localize(
|
|
168
|
-
|
|
184
|
+
7329,
|
|
169
185
|
"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}",
|
|
170
|
-
Button(( localize(
|
|
186
|
+
Button(( localize(7330, "Browse Language Extensions")), 'command:workbench.extensions.action.showLanguageExtensions')
|
|
171
187
|
)),
|
|
172
188
|
when: 'workspacePlatform != \'webworker\'',
|
|
173
189
|
media: {
|
|
@@ -176,11 +192,11 @@ const walkthroughs = [
|
|
|
176
192
|
},
|
|
177
193
|
{
|
|
178
194
|
id: 'settings',
|
|
179
|
-
title: ( localize(
|
|
195
|
+
title: ( localize(7331, "Tune your settings")),
|
|
180
196
|
description: ( localize(
|
|
181
|
-
|
|
197
|
+
7332,
|
|
182
198
|
"Customize every aspect of VS Code and your extensions to your liking. Commonly used settings are listed first to get you started.\n{0}",
|
|
183
|
-
Button(( localize(
|
|
199
|
+
Button(( localize(7333, "Open Settings")), 'command:toSide:workbench.action.openSettings')
|
|
184
200
|
)),
|
|
185
201
|
media: {
|
|
186
202
|
type: 'svg', altText: 'VS Code Settings', path: 'settings.svg'
|
|
@@ -188,11 +204,11 @@ const walkthroughs = [
|
|
|
188
204
|
},
|
|
189
205
|
{
|
|
190
206
|
id: 'settingsSync',
|
|
191
|
-
title: ( localize(
|
|
207
|
+
title: ( localize(7334, "Sync settings across devices")),
|
|
192
208
|
description: ( localize(
|
|
193
|
-
|
|
209
|
+
7335,
|
|
194
210
|
"Keep your essential customizations backed up and updated across all your devices.\n{0}",
|
|
195
|
-
Button(( localize(
|
|
211
|
+
Button(( localize(7336, "Backup and Sync Settings")), 'command:workbench.userDataSync.actions.turnOn')
|
|
196
212
|
)),
|
|
197
213
|
when: 'syncStatus != uninitialized',
|
|
198
214
|
completionEvents: ['onEvent:sync-enabled'],
|
|
@@ -202,21 +218,21 @@ const walkthroughs = [
|
|
|
202
218
|
},
|
|
203
219
|
{
|
|
204
220
|
id: 'commandPaletteTask',
|
|
205
|
-
title: ( localize(
|
|
221
|
+
title: ( localize(7337, "Unlock productivity with the Command Palette ")),
|
|
206
222
|
description: ( localize(
|
|
207
|
-
|
|
223
|
+
7338,
|
|
208
224
|
"Run commands without reaching for your mouse to accomplish any task in VS Code.\n{0}",
|
|
209
|
-
Button(( localize(
|
|
225
|
+
Button(( localize(7339, "Open Command Palette")), 'command:workbench.action.showCommands')
|
|
210
226
|
)),
|
|
211
227
|
media: { type: 'svg', altText: 'Command Palette overlay for searching and executing commands.', path: 'commandPalette.svg' },
|
|
212
228
|
},
|
|
213
229
|
{
|
|
214
230
|
id: 'pickAFolderTask-Mac',
|
|
215
|
-
title: ( localize(
|
|
231
|
+
title: ( localize(7340, "Open up your code")),
|
|
216
232
|
description: ( localize(
|
|
217
|
-
|
|
233
|
+
7341,
|
|
218
234
|
"You're all set to start coding. Open a project folder to get your files into VS Code.\n{0}",
|
|
219
|
-
Button(( localize(
|
|
235
|
+
Button(( localize(7342, "Pick a Folder")), 'command:workbench.action.files.openFileFolder')
|
|
220
236
|
)),
|
|
221
237
|
when: 'isMac && workspaceFolderCount == 0',
|
|
222
238
|
media: {
|
|
@@ -225,11 +241,11 @@ const walkthroughs = [
|
|
|
225
241
|
},
|
|
226
242
|
{
|
|
227
243
|
id: 'pickAFolderTask-Other',
|
|
228
|
-
title: ( localize(
|
|
244
|
+
title: ( localize(7340, "Open up your code")),
|
|
229
245
|
description: ( localize(
|
|
230
|
-
|
|
246
|
+
7341,
|
|
231
247
|
"You're all set to start coding. Open a project folder to get your files into VS Code.\n{0}",
|
|
232
|
-
Button(( localize(
|
|
248
|
+
Button(( localize(7342, "Pick a Folder")), 'command:workbench.action.files.openFolder')
|
|
233
249
|
)),
|
|
234
250
|
when: '!isMac && workspaceFolderCount == 0',
|
|
235
251
|
media: {
|
|
@@ -238,11 +254,11 @@ const walkthroughs = [
|
|
|
238
254
|
},
|
|
239
255
|
{
|
|
240
256
|
id: 'quickOpen',
|
|
241
|
-
title: ( localize(
|
|
257
|
+
title: ( localize(7343, "Quickly navigate between your files")),
|
|
242
258
|
description: ( localize(
|
|
243
|
-
|
|
259
|
+
7344,
|
|
244
260
|
"Navigate between files in an instant with one keystroke. Tip: Open multiple files by pressing the right arrow key.\n{0}",
|
|
245
|
-
Button(( localize(
|
|
261
|
+
Button(( localize(7345, "Quick Open a File")), 'command:toSide:workbench.action.quickOpen')
|
|
246
262
|
)),
|
|
247
263
|
when: 'workspaceFolderCount != 0',
|
|
248
264
|
media: {
|
|
@@ -251,11 +267,11 @@ const walkthroughs = [
|
|
|
251
267
|
},
|
|
252
268
|
{
|
|
253
269
|
id: 'videoTutorial',
|
|
254
|
-
title: ( localize(
|
|
270
|
+
title: ( localize(7346, "Watch video tutorials")),
|
|
255
271
|
description: ( localize(
|
|
256
|
-
|
|
272
|
+
7347,
|
|
257
273
|
"Watch the first in a series of short & practical video tutorials for VS Code's key features.\n{0}",
|
|
258
|
-
Button(( localize(
|
|
274
|
+
Button(( localize(7348, "Watch Tutorial")), 'https://aka.ms/vscode-getting-started-video')
|
|
259
275
|
)),
|
|
260
276
|
media: { type: 'svg', altText: 'VS Code Settings', path: 'learn.svg' },
|
|
261
277
|
}
|
|
@@ -264,8 +280,8 @@ const walkthroughs = [
|
|
|
264
280
|
},
|
|
265
281
|
{
|
|
266
282
|
id: 'SetupWeb',
|
|
267
|
-
title: ( localize(
|
|
268
|
-
description: ( localize(
|
|
283
|
+
title: ( localize(7349, "Get Started with VS Code for the Web")),
|
|
284
|
+
description: ( localize(7350, "Customize your editor, learn the basics, and start coding")),
|
|
269
285
|
isFeatured: true,
|
|
270
286
|
icon: setupIcon,
|
|
271
287
|
when: 'isWeb',
|
|
@@ -275,11 +291,11 @@ const walkthroughs = [
|
|
|
275
291
|
steps: [
|
|
276
292
|
{
|
|
277
293
|
id: 'pickColorThemeWeb',
|
|
278
|
-
title: ( localize(
|
|
294
|
+
title: ( localize(7322, "Choose your theme")),
|
|
279
295
|
description: ( localize(
|
|
280
|
-
|
|
296
|
+
7323,
|
|
281
297
|
"The right theme helps you focus on your code, is easy on your eyes, and is simply more fun to use.\n{0}",
|
|
282
|
-
Button(( localize(
|
|
298
|
+
Button(( localize(7324, "Browse Color Themes")), 'command:workbench.action.selectTheme')
|
|
283
299
|
)),
|
|
284
300
|
completionEvents: [
|
|
285
301
|
'onSettingChanged:workbench.colorTheme',
|
|
@@ -289,11 +305,11 @@ const walkthroughs = [
|
|
|
289
305
|
},
|
|
290
306
|
{
|
|
291
307
|
id: 'menuBarWeb',
|
|
292
|
-
title: ( localize(
|
|
308
|
+
title: ( localize(7351, "Just the right amount of UI")),
|
|
293
309
|
description: ( localize(
|
|
294
|
-
|
|
310
|
+
7352,
|
|
295
311
|
"The full menu bar is available in the dropdown menu to make room for your code. Toggle its appearance for faster access. \n{0}",
|
|
296
|
-
Button(( localize(
|
|
312
|
+
Button(( localize(7353, "Toggle Menu Bar")), 'command:workbench.action.toggleMenuBar')
|
|
297
313
|
)),
|
|
298
314
|
when: 'isWeb',
|
|
299
315
|
media: {
|
|
@@ -302,11 +318,11 @@ const walkthroughs = [
|
|
|
302
318
|
},
|
|
303
319
|
{
|
|
304
320
|
id: 'extensionsWebWeb',
|
|
305
|
-
title: ( localize(
|
|
321
|
+
title: ( localize(7325, "Code with extensions")),
|
|
306
322
|
description: ( localize(
|
|
307
|
-
|
|
323
|
+
7326,
|
|
308
324
|
"Extensions are VS Code's power-ups. A growing number are becoming available in the web.\n{0}",
|
|
309
|
-
Button(( localize(
|
|
325
|
+
Button(( localize(7327, "Browse Popular Web Extensions")), 'command:workbench.extensions.action.showPopularExtensions')
|
|
310
326
|
)),
|
|
311
327
|
when: 'workspacePlatform == \'webworker\'',
|
|
312
328
|
media: {
|
|
@@ -315,11 +331,11 @@ const walkthroughs = [
|
|
|
315
331
|
},
|
|
316
332
|
{
|
|
317
333
|
id: 'findLanguageExtensionsWeb',
|
|
318
|
-
title: ( localize(
|
|
334
|
+
title: ( localize(7328, "Rich support for all your languages")),
|
|
319
335
|
description: ( localize(
|
|
320
|
-
|
|
336
|
+
7329,
|
|
321
337
|
"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}",
|
|
322
|
-
Button(( localize(
|
|
338
|
+
Button(( localize(7330, "Browse Language Extensions")), 'command:workbench.extensions.action.showLanguageExtensions')
|
|
323
339
|
)),
|
|
324
340
|
when: 'workspacePlatform != \'webworker\'',
|
|
325
341
|
media: {
|
|
@@ -328,11 +344,11 @@ const walkthroughs = [
|
|
|
328
344
|
},
|
|
329
345
|
{
|
|
330
346
|
id: 'settingsSyncWeb',
|
|
331
|
-
title: ( localize(
|
|
347
|
+
title: ( localize(7334, "Sync settings across devices")),
|
|
332
348
|
description: ( localize(
|
|
333
|
-
|
|
349
|
+
7335,
|
|
334
350
|
"Keep your essential customizations backed up and updated across all your devices.\n{0}",
|
|
335
|
-
Button(( localize(
|
|
351
|
+
Button(( localize(7336, "Backup and Sync Settings")), 'command:workbench.userDataSync.actions.turnOn')
|
|
336
352
|
)),
|
|
337
353
|
when: 'syncStatus != uninitialized',
|
|
338
354
|
completionEvents: ['onEvent:sync-enabled'],
|
|
@@ -342,22 +358,22 @@ const walkthroughs = [
|
|
|
342
358
|
},
|
|
343
359
|
{
|
|
344
360
|
id: 'commandPaletteTaskWeb',
|
|
345
|
-
title: ( localize(
|
|
361
|
+
title: ( localize(7337, "Unlock productivity with the Command Palette ")),
|
|
346
362
|
description: ( localize(
|
|
347
|
-
|
|
363
|
+
7338,
|
|
348
364
|
"Run commands without reaching for your mouse to accomplish any task in VS Code.\n{0}",
|
|
349
|
-
Button(( localize(
|
|
365
|
+
Button(( localize(7339, "Open Command Palette")), 'command:workbench.action.showCommands')
|
|
350
366
|
)),
|
|
351
367
|
media: { type: 'svg', altText: 'Command Palette overlay for searching and executing commands.', path: 'commandPalette.svg' },
|
|
352
368
|
},
|
|
353
369
|
{
|
|
354
370
|
id: 'pickAFolderTask-WebWeb',
|
|
355
|
-
title: ( localize(
|
|
371
|
+
title: ( localize(7340, "Open up your code")),
|
|
356
372
|
description: ( localize(
|
|
357
|
-
|
|
373
|
+
7354,
|
|
358
374
|
"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}",
|
|
359
|
-
Button(( localize(
|
|
360
|
-
Button(( localize(
|
|
375
|
+
Button(( localize(7355, "Open Folder")), 'command:workbench.action.addRootFolder'),
|
|
376
|
+
Button(( localize(7356, "Open Repository")), 'command:remoteHub.openRepository')
|
|
361
377
|
)),
|
|
362
378
|
when: 'workspaceFolderCount == 0',
|
|
363
379
|
media: {
|
|
@@ -366,11 +382,11 @@ const walkthroughs = [
|
|
|
366
382
|
},
|
|
367
383
|
{
|
|
368
384
|
id: 'quickOpenWeb',
|
|
369
|
-
title: ( localize(
|
|
385
|
+
title: ( localize(7343, "Quickly navigate between your files")),
|
|
370
386
|
description: ( localize(
|
|
371
|
-
|
|
387
|
+
7344,
|
|
372
388
|
"Navigate between files in an instant with one keystroke. Tip: Open multiple files by pressing the right arrow key.\n{0}",
|
|
373
|
-
Button(( localize(
|
|
389
|
+
Button(( localize(7345, "Quick Open a File")), 'command:toSide:workbench.action.quickOpen')
|
|
374
390
|
)),
|
|
375
391
|
when: 'workspaceFolderCount != 0',
|
|
376
392
|
media: {
|
|
@@ -380,22 +396,150 @@ const walkthroughs = [
|
|
|
380
396
|
]
|
|
381
397
|
}
|
|
382
398
|
},
|
|
399
|
+
{
|
|
400
|
+
id: 'SetupScreenReader',
|
|
401
|
+
title: ( localize(7357, "Get Started with VS Code using a Screen Reader")),
|
|
402
|
+
description: ( localize(
|
|
403
|
+
7358,
|
|
404
|
+
"Learn the tools and shortcuts that make VS Code accessible. Note that some actions are not actionable from within the context of the walkthrough."
|
|
405
|
+
)),
|
|
406
|
+
isFeatured: true,
|
|
407
|
+
icon: setupIcon,
|
|
408
|
+
when: CONTEXT_ACCESSIBILITY_MODE_ENABLED.key,
|
|
409
|
+
next: 'Setup',
|
|
410
|
+
content: {
|
|
411
|
+
type: 'steps',
|
|
412
|
+
steps: [
|
|
413
|
+
{
|
|
414
|
+
id: 'accessibilityHelp',
|
|
415
|
+
title: ( localize(7359, "Use the accessibility help dialog to learn about features")),
|
|
416
|
+
description: ( localize(
|
|
417
|
+
7360,
|
|
418
|
+
"The accessibility help dialog provides information about what to expect from a feature and the commands/keybindings to operate them.\n With focus in an editor, terminal, notebook, chat response, comment, or debug console, the relevant dialog can be opened with the Open Accessibility Help command.\n{0}",
|
|
419
|
+
Button(( localize(7361, "Open Accessibility Help")), 'command:editor.action.accessibilityHelp')
|
|
420
|
+
)),
|
|
421
|
+
media: {
|
|
422
|
+
type: 'markdown', path: 'empty'
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
id: 'accessibleView',
|
|
427
|
+
title: ( localize(
|
|
428
|
+
7362,
|
|
429
|
+
"Use the accessible view to inspect content line by line, character by character"
|
|
430
|
+
)),
|
|
431
|
+
description: ( localize(
|
|
432
|
+
7363,
|
|
433
|
+
"The accessible view is available for the terminal, hovers, notifications, comments, notebook output, chat responses, inline completions, and debug console output.\n With focus in any of those features, it can be opened with the Open Accessible View command.\n{0}",
|
|
434
|
+
Button(( localize(7364, "Open Accessible View")), 'command:editor.action.accessibleView')
|
|
435
|
+
)),
|
|
436
|
+
media: {
|
|
437
|
+
type: 'markdown', path: 'empty'
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
id: 'verbositySettings',
|
|
442
|
+
title: ( localize(7365, "Control the verbosity of aria labels")),
|
|
443
|
+
description: ( localize(
|
|
444
|
+
7366,
|
|
445
|
+
"Verbosity settings exist for features around the workbench so that once a user is familiar with a feature, they can avoid hearing hints about how to operate it. For example, features for which an accessibility help dialog exists will indicate how to open the dialog until the verbosity setting for that feature has been disabled.\n These and other accessibility settings can be configured by running the Open Accessibility Settings command.\n{0}",
|
|
446
|
+
Button(( localize(7367, "Open Accessibility Settings")), 'command:workbench.action.openAccessibilitySettings')
|
|
447
|
+
)),
|
|
448
|
+
media: {
|
|
449
|
+
type: 'markdown', path: 'empty'
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
id: 'accessibilitySignals',
|
|
454
|
+
title: ( localize(
|
|
455
|
+
7368,
|
|
456
|
+
"Fine tune which accessibility signals you want to receive via audio or a braille device"
|
|
457
|
+
)),
|
|
458
|
+
description: ( localize(
|
|
459
|
+
7369,
|
|
460
|
+
"Accessibility sounds and announcements are played around the workbench for different events.\n These can be discovered and configured using the List Signal Sounds and List Signal Announcements commands.\n{0}\n{1}",
|
|
461
|
+
Button(( localize(7370, "List Signal Sounds")), 'command:signals.sounds.help'),
|
|
462
|
+
Button(( localize(7371, "List Signal Announcements")), 'command:signals.announcements.help')
|
|
463
|
+
)),
|
|
464
|
+
media: {
|
|
465
|
+
type: 'markdown', path: 'empty'
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
id: 'hover',
|
|
470
|
+
title: ( localize(
|
|
471
|
+
7372,
|
|
472
|
+
"Access the hover in the editor to get more information on a variable or symbol"
|
|
473
|
+
)),
|
|
474
|
+
description: ( localize(
|
|
475
|
+
7373,
|
|
476
|
+
"While focus is in the editor on a variable or symbol, a hover can be can be focused with the Show or Open Hover command.\n{0}",
|
|
477
|
+
Button(( localize(7374, "Show or Focus Hover")), 'command:editor.action.showHover')
|
|
478
|
+
)),
|
|
479
|
+
media: {
|
|
480
|
+
type: 'markdown', path: 'empty'
|
|
481
|
+
}
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
id: 'goToSymbol',
|
|
485
|
+
title: ( localize(7375, "Navigate to symbols in a file")),
|
|
486
|
+
description: ( localize(
|
|
487
|
+
7376,
|
|
488
|
+
"The Go to Symbol command is useful for navigating between important landmarks in a document.\n{0}",
|
|
489
|
+
Button(( localize(7377, "Go to Symbol")), 'command:editor.action.goToSymbol')
|
|
490
|
+
)),
|
|
491
|
+
media: {
|
|
492
|
+
type: 'markdown', path: 'empty'
|
|
493
|
+
}
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
id: 'codeFolding',
|
|
497
|
+
title: ( localize(
|
|
498
|
+
7378,
|
|
499
|
+
"Use code folding to collapse blocks of code and focus on the code you're interested in."
|
|
500
|
+
)),
|
|
501
|
+
description: ( localize(
|
|
502
|
+
7379,
|
|
503
|
+
"Fold or unfold a code section with the Toggle Fold command.\n{0}\n Fold or unfold recursively with the Toggle Fold Recursively Command\n{1}\n",
|
|
504
|
+
Button(( localize(7380, "Toggle Fold")), 'command:editor.toggleFold'),
|
|
505
|
+
Button(( localize(7381, "Toggle Fold Recursively")), 'editor.toggleFoldRecursively')
|
|
506
|
+
)),
|
|
507
|
+
media: {
|
|
508
|
+
type: 'markdown', path: 'empty'
|
|
509
|
+
}
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
id: 'intellisense',
|
|
513
|
+
title: ( localize(7382, "Use Intellisense to improve coding efficiency")),
|
|
514
|
+
description: ( localize(
|
|
515
|
+
7383,
|
|
516
|
+
"Intellisense suggestions can be opened with the Trigger Intellisense command.\n{0}\n Inline intellisense suggestions can be triggered with Trigger Inline Suggestion\n{1}\n Useful settings include editor.inlineCompletionsAccessibilityVerbose and editor.screenReaderAnnounceInlineSuggestion.",
|
|
517
|
+
Button(( localize(7384, "Trigger Intellisense")), 'command:editor.action.triggerSuggest'),
|
|
518
|
+
Button(( localize(7385, 'Trigger Inline Suggestion')), 'command:editor.action.inlineSuggest.trigger')
|
|
519
|
+
)),
|
|
520
|
+
media: {
|
|
521
|
+
type: 'markdown', path: 'empty'
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
]
|
|
525
|
+
}
|
|
526
|
+
},
|
|
383
527
|
{
|
|
384
528
|
id: 'Beginner',
|
|
385
529
|
isFeatured: false,
|
|
386
|
-
title: ( localize(
|
|
530
|
+
title: ( localize(7386, "Learn the Fundamentals")),
|
|
387
531
|
icon: beginnerIcon,
|
|
388
|
-
description: ( localize(
|
|
532
|
+
description: ( localize(7387, "Get an overview of the most essential features")),
|
|
389
533
|
content: {
|
|
390
534
|
type: 'steps',
|
|
391
535
|
steps: [
|
|
392
536
|
{
|
|
393
537
|
id: 'extensions',
|
|
394
|
-
title: ( localize(
|
|
538
|
+
title: ( localize(7325, "Code with extensions")),
|
|
395
539
|
description: ( localize(
|
|
396
|
-
|
|
540
|
+
7388,
|
|
397
541
|
"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}",
|
|
398
|
-
Button(( localize(
|
|
542
|
+
Button(( localize(7389, "Browse Popular Extensions")), 'command:workbench.extensions.action.showPopularExtensions')
|
|
399
543
|
)),
|
|
400
544
|
when: 'workspacePlatform != \'webworker\'',
|
|
401
545
|
media: {
|
|
@@ -404,11 +548,11 @@ const walkthroughs = [
|
|
|
404
548
|
},
|
|
405
549
|
{
|
|
406
550
|
id: 'terminal',
|
|
407
|
-
title: ( localize(
|
|
551
|
+
title: ( localize(7390, "Built-in terminal")),
|
|
408
552
|
description: ( localize(
|
|
409
|
-
|
|
553
|
+
7391,
|
|
410
554
|
"Quickly run shell commands and monitor build output, right next to your code.\n{0}",
|
|
411
|
-
Button(( localize(
|
|
555
|
+
Button(( localize(7392, "Open Terminal")), 'command:workbench.action.terminal.toggleTerminal')
|
|
412
556
|
)),
|
|
413
557
|
when: 'workspacePlatform != \'webworker\' && remoteName != codespaces && !terminalIsOpen',
|
|
414
558
|
media: {
|
|
@@ -417,11 +561,11 @@ const walkthroughs = [
|
|
|
417
561
|
},
|
|
418
562
|
{
|
|
419
563
|
id: 'debugging',
|
|
420
|
-
title: ( localize(
|
|
564
|
+
title: ( localize(7393, "Watch your code in action")),
|
|
421
565
|
description: ( localize(
|
|
422
|
-
|
|
566
|
+
7394,
|
|
423
567
|
"Accelerate your edit, build, test, and debug loop by setting up a launch configuration.\n{0}",
|
|
424
|
-
Button(( localize(
|
|
568
|
+
Button(( localize(7395, "Run your Project")), 'command:workbench.action.debug.selectandstart')
|
|
425
569
|
)),
|
|
426
570
|
when: 'workspacePlatform != \'webworker\' && workspaceFolderCount != 0',
|
|
427
571
|
media: {
|
|
@@ -430,11 +574,11 @@ const walkthroughs = [
|
|
|
430
574
|
},
|
|
431
575
|
{
|
|
432
576
|
id: 'scmClone',
|
|
433
|
-
title: ( localize(
|
|
577
|
+
title: ( localize(7396, "Track your code with Git")),
|
|
434
578
|
description: ( localize(
|
|
435
|
-
|
|
579
|
+
7397,
|
|
436
580
|
"Set up the built-in version control for your project to track your changes and collaborate with others.\n{0}",
|
|
437
|
-
Button(( localize(
|
|
581
|
+
Button(( localize(7398, "Clone Repository")), 'command:git.clone')
|
|
438
582
|
)),
|
|
439
583
|
when: 'config.git.enabled && !git.missing && workspaceFolderCount == 0',
|
|
440
584
|
media: {
|
|
@@ -443,11 +587,11 @@ const walkthroughs = [
|
|
|
443
587
|
},
|
|
444
588
|
{
|
|
445
589
|
id: 'scmSetup',
|
|
446
|
-
title: ( localize(
|
|
590
|
+
title: ( localize(7396, "Track your code with Git")),
|
|
447
591
|
description: ( localize(
|
|
448
|
-
|
|
592
|
+
7399,
|
|
449
593
|
"Set up the built-in version control for your project to track your changes and collaborate with others.\n{0}",
|
|
450
|
-
Button(( localize(
|
|
594
|
+
Button(( localize(7400, "Initialize Git Repository")), 'command:git.init')
|
|
451
595
|
)),
|
|
452
596
|
when: 'config.git.enabled && !git.missing && workspaceFolderCount != 0 && gitOpenRepositoryCount == 0',
|
|
453
597
|
media: {
|
|
@@ -456,11 +600,11 @@ const walkthroughs = [
|
|
|
456
600
|
},
|
|
457
601
|
{
|
|
458
602
|
id: 'scm',
|
|
459
|
-
title: ( localize(
|
|
603
|
+
title: ( localize(7396, "Track your code with Git")),
|
|
460
604
|
description: ( localize(
|
|
461
|
-
|
|
605
|
+
7401,
|
|
462
606
|
"No more looking up Git commands! Git and GitHub workflows are seamlessly integrated.\n{0}",
|
|
463
|
-
Button(( localize(
|
|
607
|
+
Button(( localize(7402, "Open Source Control")), 'command:workbench.view.scm')
|
|
464
608
|
)),
|
|
465
609
|
when: 'config.git.enabled && !git.missing && workspaceFolderCount != 0 && gitOpenRepositoryCount != 0 && activeViewlet != \'workbench.view.scm\'',
|
|
466
610
|
media: {
|
|
@@ -469,11 +613,11 @@ const walkthroughs = [
|
|
|
469
613
|
},
|
|
470
614
|
{
|
|
471
615
|
id: 'installGit',
|
|
472
|
-
title: ( localize(
|
|
616
|
+
title: ( localize(7403, "Install Git")),
|
|
473
617
|
description: ( localize(
|
|
474
|
-
|
|
618
|
+
7404,
|
|
475
619
|
"Install Git to track changes in your projects.\n{0}\n{1}Reload window{2} after installation to complete Git setup.",
|
|
476
|
-
Button(( localize(
|
|
620
|
+
Button(( localize(7405, "Install Git")), 'https://aka.ms/vscode-install-git'),
|
|
477
621
|
'[',
|
|
478
622
|
'](command:workbench.action.reloadWindow)'
|
|
479
623
|
)),
|
|
@@ -487,12 +631,12 @@ const walkthroughs = [
|
|
|
487
631
|
},
|
|
488
632
|
{
|
|
489
633
|
id: 'tasks',
|
|
490
|
-
title: ( localize(
|
|
634
|
+
title: ( localize(7406, "Automate your project tasks")),
|
|
491
635
|
when: 'workspaceFolderCount != 0 && workspacePlatform != \'webworker\'',
|
|
492
636
|
description: ( localize(
|
|
493
|
-
|
|
637
|
+
7407,
|
|
494
638
|
"Create tasks for your common workflows and enjoy the integrated experience of running scripts and automatically checking results.\n{0}",
|
|
495
|
-
Button(( localize(
|
|
639
|
+
Button(( localize(7408, "Run Auto-detected Tasks")), 'command:workbench.action.tasks.runTask')
|
|
496
640
|
)),
|
|
497
641
|
media: {
|
|
498
642
|
type: 'svg', altText: 'Task runner.', path: 'runTask.svg',
|
|
@@ -500,11 +644,11 @@ const walkthroughs = [
|
|
|
500
644
|
},
|
|
501
645
|
{
|
|
502
646
|
id: 'shortcuts',
|
|
503
|
-
title: ( localize(
|
|
647
|
+
title: ( localize(7409, "Customize your shortcuts")),
|
|
504
648
|
description: ( localize(
|
|
505
|
-
|
|
649
|
+
7410,
|
|
506
650
|
"Once you have discovered your favorite commands, create custom keyboard shortcuts for instant access.\n{0}",
|
|
507
|
-
Button(( localize(
|
|
651
|
+
Button(( localize(7411, "Keyboard Shortcuts")), 'command:toSide:workbench.action.openGlobalKeybindings')
|
|
508
652
|
)),
|
|
509
653
|
media: {
|
|
510
654
|
type: 'svg', altText: 'Interactive shortcuts.', path: 'shortcuts.svg',
|
|
@@ -512,12 +656,12 @@ const walkthroughs = [
|
|
|
512
656
|
},
|
|
513
657
|
{
|
|
514
658
|
id: 'workspaceTrust',
|
|
515
|
-
title: ( localize(
|
|
659
|
+
title: ( localize(7412, "Safely browse and edit code")),
|
|
516
660
|
description: ( localize(
|
|
517
|
-
|
|
661
|
+
7413,
|
|
518
662
|
"{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.",
|
|
519
|
-
Button(( localize(
|
|
520
|
-
Button(( localize(
|
|
663
|
+
Button(( localize(7414, "Workspace Trust")), 'https://code.visualstudio.com/docs/editor/workspace-trust'),
|
|
664
|
+
Button(( localize(7415, "enable trust")), 'command:toSide:workbench.action.manageTrustedDomain')
|
|
521
665
|
)),
|
|
522
666
|
when: 'workspacePlatform != \'webworker\' && !isWorkspaceTrusted && workspaceFolderCount == 0',
|
|
523
667
|
media: {
|
|
@@ -529,7 +673,7 @@ const walkthroughs = [
|
|
|
529
673
|
},
|
|
530
674
|
{
|
|
531
675
|
id: 'notebooks',
|
|
532
|
-
title: ( localize(
|
|
676
|
+
title: ( localize(7416, "Customize Notebooks")),
|
|
533
677
|
description: '',
|
|
534
678
|
icon: setupIcon,
|
|
535
679
|
isFeatured: false,
|
|
@@ -540,8 +684,8 @@ const walkthroughs = [
|
|
|
540
684
|
{
|
|
541
685
|
completionEvents: ['onCommand:notebook.setProfile'],
|
|
542
686
|
id: 'notebookProfile',
|
|
543
|
-
title: ( localize(
|
|
544
|
-
description: ( localize(
|
|
687
|
+
title: ( localize(7417, "Select the layout for your notebooks")),
|
|
688
|
+
description: ( localize(7418, "Get notebooks to feel just the way you prefer")),
|
|
545
689
|
when: 'userHasOpenedNotebook',
|
|
546
690
|
media: {
|
|
547
691
|
type: 'markdown', path: 'notebookProfile'
|
|
@@ -552,4 +696,4 @@ const walkthroughs = [
|
|
|
552
696
|
}
|
|
553
697
|
];
|
|
554
698
|
|
|
555
|
-
export { startEntries, walkthroughs };
|
|
699
|
+
export { gettingStartedContentRegistry, startEntries, walkthroughs };
|