@codingame/monaco-vscode-walkthrough-service-override 11.0.2 → 11.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 (18) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js +20 -20
  3. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.js +30 -30
  4. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedAccessibleView.js +3 -3
  5. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedColors.js +7 -7
  6. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExtensionPoint.js +37 -37
  7. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedIcons.js +2 -2
  8. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedInput.js +1 -1
  9. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService._contribution.js +3 -3
  10. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +1 -1
  11. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/startupPage.js +2 -2
  12. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.js +160 -160
  13. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookProfile.js +3 -3
  14. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker.js +5 -5
  15. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.js +3 -3
  16. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThrough.contribution.js +2 -2
  17. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughPart.js +2 -2
  18. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/common/walkThroughUtils.js +1 -1
@@ -1,12 +1,12 @@
1
1
  import { localize } from 'vscode/vscode/vs/nls';
2
2
  import { ExtensionsRegistry } from 'vscode/vscode/vs/workbench/services/extensions/common/extensionsRegistry';
3
3
 
4
- const titleTranslated = ( localize(7309, "Title"));
4
+ const titleTranslated = ( localize(7244, "Title"));
5
5
  const walkthroughsExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
6
6
  extensionPoint: 'walkthroughs',
7
7
  jsonSchema: {
8
8
  description: ( localize(
9
- 7310,
9
+ 7245,
10
10
  "Contribute walkthroughs to help users getting started with your extension."
11
11
  )),
12
12
  type: 'array',
@@ -17,27 +17,27 @@ const walkthroughsExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
17
17
  properties: {
18
18
  id: {
19
19
  type: 'string',
20
- description: ( localize(7311, "Unique identifier for this walkthrough.")),
20
+ description: ( localize(7246, "Unique identifier for this walkthrough.")),
21
21
  },
22
22
  title: {
23
23
  type: 'string',
24
- description: ( localize(7312, "Title of walkthrough."))
24
+ description: ( localize(7247, "Title of walkthrough."))
25
25
  },
26
26
  icon: {
27
27
  type: 'string',
28
28
  description: ( localize(
29
- 7313,
29
+ 7248,
30
30
  "Relative path to the icon of the walkthrough. The path is relative to the extension location. If not specified, the icon defaults to the extension icon if available."
31
31
  )),
32
32
  },
33
33
  description: {
34
34
  type: 'string',
35
- description: ( localize(7314, "Description of walkthrough."))
35
+ description: ( localize(7249, "Description of walkthrough."))
36
36
  },
37
37
  featuredFor: {
38
38
  type: 'array',
39
39
  description: ( localize(
40
- 7315,
40
+ 7250,
41
41
  "Walkthroughs that match one of these glob patterns appear as 'featured' in workspaces with the specified files. For example, a walkthrough for TypeScript projects might specify `tsconfig.json` here."
42
42
  )),
43
43
  items: {
@@ -47,13 +47,13 @@ const walkthroughsExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
47
47
  when: {
48
48
  type: 'string',
49
49
  description: ( localize(
50
- 7316,
50
+ 7251,
51
51
  "Context key expression to control the visibility of this walkthrough."
52
52
  ))
53
53
  },
54
54
  steps: {
55
55
  type: 'array',
56
- description: ( localize(7317, "Steps to complete as part of this walkthrough.")),
56
+ description: ( localize(7252, "Steps to complete as part of this walkthrough.")),
57
57
  items: {
58
58
  type: 'object',
59
59
  required: ['id', 'title', 'media'],
@@ -68,18 +68,18 @@ const walkthroughsExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
68
68
  id: {
69
69
  type: 'string',
70
70
  description: ( localize(
71
- 7318,
71
+ 7253,
72
72
  "Unique identifier for this step. This is used to keep track of which steps have been completed."
73
73
  )),
74
74
  },
75
75
  title: {
76
76
  type: 'string',
77
- description: ( localize(7319, "Title of step."))
77
+ description: ( localize(7254, "Title of step."))
78
78
  },
79
79
  description: {
80
80
  type: 'string',
81
81
  description: ( localize(
82
- 7320,
82
+ 7255,
83
83
  "Description of step. Supports ``preformatted``, __italic__, and **bold** text. Use markdown-style links for commands or external links: {0}, {1}, or {2}. Links on their own line will be rendered as buttons.",
84
84
  `[${titleTranslated}](command:myext.command)`,
85
85
  `[${titleTranslated}](command:toSide:myext.command)`,
@@ -88,7 +88,7 @@ const walkthroughsExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
88
88
  },
89
89
  button: {
90
90
  deprecationMessage: ( localize(
91
- 7321,
91
+ 7256,
92
92
  "Deprecated. Use markdown links in the description instead, i.e. {0}, {1}, or {2}",
93
93
  `[${titleTranslated}](command:myext.command)`,
94
94
  `[${titleTranslated}](command:toSide:myext.command)`,
@@ -98,7 +98,7 @@ const walkthroughsExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
98
98
  media: {
99
99
  type: 'object',
100
100
  description: ( localize(
101
- 7322,
101
+ 7257,
102
102
  "Media to show alongside this step, either an image or markdown content."
103
103
  )),
104
104
  oneOf: [
@@ -107,11 +107,11 @@ const walkthroughsExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
107
107
  additionalProperties: false,
108
108
  properties: {
109
109
  path: {
110
- deprecationMessage: ( localize(7323, "Deprecated. Please use `image` or `markdown` instead"))
110
+ deprecationMessage: ( localize(7258, "Deprecated. Please use `image` or `markdown` instead"))
111
111
  },
112
112
  image: {
113
113
  description: ( localize(
114
- 7324,
114
+ 7259,
115
115
  "Path to an image - or object consisting of paths to light, dark, and hc images - relative to extension directory. Depending on context, the image will be displayed from 400px to 800px wide, with similar bounds on height. To support HIDPI displays, the image will be rendered at 1.5x scaling, for example a 900 physical pixels wide image will be displayed as 600 logical pixels wide."
116
116
  )),
117
117
  oneOf: [
@@ -124,25 +124,25 @@ const walkthroughsExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
124
124
  properties: {
125
125
  dark: {
126
126
  description: ( localize(
127
- 7325,
127
+ 7260,
128
128
  "Path to the image for dark themes, relative to extension directory."
129
129
  )),
130
130
  type: 'string',
131
131
  },
132
132
  light: {
133
133
  description: ( localize(
134
- 7326,
134
+ 7261,
135
135
  "Path to the image for light themes, relative to extension directory."
136
136
  )),
137
137
  type: 'string',
138
138
  },
139
139
  hc: {
140
- description: ( localize(7327, "Path to the image for hc themes, relative to extension directory.")),
140
+ description: ( localize(7262, "Path to the image for hc themes, relative to extension directory.")),
141
141
  type: 'string',
142
142
  },
143
143
  hcLight: {
144
144
  description: ( localize(
145
- 7328,
145
+ 7263,
146
146
  "Path to the image for hc light themes, relative to extension directory."
147
147
  )),
148
148
  type: 'string',
@@ -154,7 +154,7 @@ const walkthroughsExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
154
154
  altText: {
155
155
  type: 'string',
156
156
  description: ( localize(
157
- 7329,
157
+ 7264,
158
158
  "Alternate text to display when the image cannot be loaded or in screen readers."
159
159
  ))
160
160
  }
@@ -166,7 +166,7 @@ const walkthroughsExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
166
166
  properties: {
167
167
  svg: {
168
168
  description: ( localize(
169
- 7330,
169
+ 7265,
170
170
  "Path to an svg, color tokens are supported in variables to support theming to match the workbench."
171
171
  )),
172
172
  type: 'string',
@@ -174,7 +174,7 @@ const walkthroughsExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
174
174
  altText: {
175
175
  type: 'string',
176
176
  description: ( localize(
177
- 7329,
177
+ 7264,
178
178
  "Alternate text to display when the image cannot be loaded or in screen readers."
179
179
  ))
180
180
  },
@@ -185,10 +185,10 @@ const walkthroughsExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
185
185
  additionalProperties: false,
186
186
  properties: {
187
187
  path: {
188
- deprecationMessage: ( localize(7323, "Deprecated. Please use `image` or `markdown` instead"))
188
+ deprecationMessage: ( localize(7258, "Deprecated. Please use `image` or `markdown` instead"))
189
189
  },
190
190
  markdown: {
191
- description: ( localize(7331, "Path to the markdown document, relative to extension directory.")),
191
+ description: ( localize(7266, "Path to the markdown document, relative to extension directory.")),
192
192
  type: 'string',
193
193
  }
194
194
  }
@@ -197,7 +197,7 @@ const walkthroughsExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
197
197
  },
198
198
  completionEvents: {
199
199
  description: ( localize(
200
- 7332,
200
+ 7267,
201
201
  "Events that should trigger this step to become checked off. If empty or not defined, the step will check off when any of the step's buttons or links are clicked; if the step has no buttons or links it will check on when it is selected."
202
202
  )),
203
203
  type: 'array',
@@ -207,51 +207,51 @@ const walkthroughsExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
207
207
  {
208
208
  label: 'onCommand',
209
209
  description: ( localize(
210
- 7333,
210
+ 7268,
211
211
  'Check off step when a given command is executed anywhere in VS Code.'
212
212
  )),
213
213
  body: 'onCommand:${1:commandId}'
214
214
  },
215
215
  {
216
216
  label: 'onLink',
217
- description: ( localize(7334, 'Check off step when a given link is opened via a walkthrough step.')),
217
+ description: ( localize(7269, 'Check off step when a given link is opened via a walkthrough step.')),
218
218
  body: 'onLink:${2:linkId}'
219
219
  },
220
220
  {
221
221
  label: 'onView',
222
- description: ( localize(7335, 'Check off step when a given view is opened')),
222
+ description: ( localize(7270, 'Check off step when a given view is opened')),
223
223
  body: 'onView:${2:viewId}'
224
224
  },
225
225
  {
226
226
  label: 'onSettingChanged',
227
- description: ( localize(7336, 'Check off step when a given setting is changed')),
227
+ description: ( localize(7271, 'Check off step when a given setting is changed')),
228
228
  body: 'onSettingChanged:${2:settingName}'
229
229
  },
230
230
  {
231
231
  label: 'onContext',
232
- description: ( localize(7337, 'Check off step when a context key expression is true.')),
232
+ description: ( localize(7272, 'Check off step when a context key expression is true.')),
233
233
  body: 'onContext:${2:key}'
234
234
  },
235
235
  {
236
236
  label: 'onExtensionInstalled',
237
237
  description: ( localize(
238
- 7338,
238
+ 7273,
239
239
  'Check off step when an extension with the given id is installed. If the extension is already installed, the step will start off checked.'
240
240
  )),
241
241
  body: 'onExtensionInstalled:${3:extensionId}'
242
242
  },
243
243
  {
244
244
  label: 'onStepSelected',
245
- description: ( localize(7339, 'Check off step as soon as it is selected.')),
245
+ description: ( localize(7274, 'Check off step as soon as it is selected.')),
246
246
  body: 'onStepSelected'
247
247
  },
248
248
  ]
249
249
  }
250
250
  },
251
251
  doneOn: {
252
- description: ( localize(7340, "Signal to mark step as complete.")),
252
+ description: ( localize(7275, "Signal to mark step as complete.")),
253
253
  deprecationMessage: ( localize(
254
- 7341,
254
+ 7276,
255
255
  "doneOn is deprecated. By default steps will be checked off when their buttons are clicked, to configure further use completionEvents"
256
256
  )),
257
257
  type: 'object',
@@ -259,14 +259,14 @@ const walkthroughsExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
259
259
  defaultSnippets: [{ 'body': { command: '$1' } }],
260
260
  properties: {
261
261
  'command': {
262
- description: ( localize(7342, "Mark step done when the specified command is executed.")),
262
+ description: ( localize(7277, "Mark step done when the specified command is executed.")),
263
263
  type: 'string'
264
264
  }
265
265
  },
266
266
  },
267
267
  when: {
268
268
  type: 'string',
269
- description: ( localize(7343, "Context key expression to control the visibility of this step."))
269
+ description: ( localize(7278, "Context key expression to control the visibility of this step."))
270
270
  }
271
271
  }
272
272
  }
@@ -2,7 +2,7 @@ import { localize } from 'vscode/vscode/vs/nls';
2
2
  import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
3
3
  import { registerIcon } from 'vscode/vscode/vs/platform/theme/common/iconRegistry';
4
4
 
5
- const gettingStartedUncheckedCodicon = registerIcon('getting-started-step-unchecked', Codicon.circleLargeOutline, ( localize(7388, "Used to represent walkthrough steps which have not been completed")));
6
- const gettingStartedCheckedCodicon = registerIcon('getting-started-step-checked', Codicon.passFilled, ( localize(7389, "Used to represent walkthrough steps which have been completed")));
5
+ const gettingStartedUncheckedCodicon = registerIcon('getting-started-step-unchecked', Codicon.circleLargeOutline, ( localize(7323, "Used to represent walkthrough steps which have not been completed")));
6
+ const gettingStartedCheckedCodicon = registerIcon('getting-started-step-checked', Codicon.passFilled, ( localize(7324, "Used to represent walkthrough steps which have been completed")));
7
7
 
8
8
  export { gettingStartedCheckedCodicon, gettingStartedUncheckedCodicon };
@@ -44,7 +44,7 @@ class GettingStartedInput extends EditorInput {
44
44
  this._walkthroughPageTitle = options.walkthroughPageTitle;
45
45
  }
46
46
  getName() {
47
- return this.walkthroughPageTitle ? ( localize(7376, 'Walkthrough: ')) + this.walkthroughPageTitle : ( localize(7377, "Welcome"));
47
+ return this.walkthroughPageTitle ? ( localize(7311, 'Walkthrough: ')) + this.walkthroughPageTitle : ( localize(7312, "Welcome"));
48
48
  }
49
49
  get selectedCategory() {
50
50
  return this._selectedCategory;
@@ -9,12 +9,12 @@ registerAction2(class extends Action2 {
9
9
  constructor() {
10
10
  super({
11
11
  id: 'resetGettingStartedProgress',
12
- category: ( localize2(7385, "Developer")),
13
- title: ( localize2(7386, "Reset Welcome Page Walkthrough Progress")),
12
+ category: ( localize2(7320, "Developer")),
13
+ title: ( localize2(7321, "Reset Welcome Page Walkthrough Progress")),
14
14
  f1: true,
15
15
  metadata: {
16
16
  description: ( localize2(
17
- 7387,
17
+ 7322,
18
18
  'Reset the progress of all Walkthrough steps on the Welcome Page to make them appear as if they are being viewed for the first time, providing a fresh start to the getting started experience.'
19
19
  )),
20
20
  }
@@ -34,7 +34,7 @@ import { IProductService } from 'vscode/vscode/vs/platform/product/common/produc
34
34
  const HasMultipleNewFileEntries = ( (new RawContextKey('hasMultipleNewFileEntries', false)));
35
35
  const hiddenEntriesConfigurationKey = 'workbench.welcomePage.hiddenCategories';
36
36
  const walkthroughMetadataConfigurationKey = 'workbench.welcomePage.walkthroughMetadata';
37
- const BUILT_IN_SOURCE = ( localize(3155, "Built-In"));
37
+ const BUILT_IN_SOURCE = ( localize(2673, "Built-In"));
38
38
  const DAYS = 24 * 60 * 60 * 1000;
39
39
  const NEW_WALKTHROUGH_TIME = 7 * DAYS;
40
40
  let WalkthroughsService = class WalkthroughsService extends Disposable {
@@ -34,7 +34,7 @@ let StartupPageEditorResolverContribution = class StartupPageEditorResolverContr
34
34
  this.instantiationService = instantiationService;
35
35
  editorResolverService.registerEditor(`${GettingStartedInput.RESOURCE.scheme}:/**`, {
36
36
  id: GettingStartedInput.ID,
37
- label: ( localize(7378, "Welcome Page")),
37
+ label: ( localize(7313, "Welcome Page")),
38
38
  priority: RegisteredEditorPriority.builtin,
39
39
  }, {
40
40
  singlePerResource: false,
@@ -161,7 +161,7 @@ let StartupPageRunnerContribution = class StartupPageRunnerContribution extends
161
161
  await Promise.all([
162
162
  this.commandService.executeCommand('markdown.showPreview', null, readmes.filter(isMarkDown), { locked: true }).catch(error => {
163
163
  this.notificationService.error(( localize(
164
- 7379,
164
+ 7314,
165
165
  'Could not open markdown preview: {0}.\n\nPlease make sure the markdown extension is enabled.',
166
166
  error.message
167
167
  )));