@codingame/monaco-vscode-walkthrough-service-override 21.5.1 → 22.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.
Files changed (21) hide show
  1. package/package.json +9 -10
  2. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js +26 -23
  3. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.d.ts +1 -1
  4. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.js +40 -42
  5. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedAccessibleView.js +3 -3
  6. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedColors.js +7 -7
  7. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExtensionPoint.js +39 -39
  8. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedIcons.js +2 -2
  9. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedInput.js +2 -5
  10. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService._contribution.js +4 -4
  11. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +2 -2
  12. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/startupPage.js +2 -2
  13. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.js +177 -150
  14. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookProfile.js +8 -7
  15. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker.js +5 -5
  16. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker_small.js +4 -4
  17. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.js +3 -3
  18. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThrough.contribution.js +3 -3
  19. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughPart.d.ts +1 -1
  20. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughPart.js +3 -3
  21. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/common/walkThroughUtils.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-walkthrough-service-override",
3
- "version": "21.5.1",
3
+ "version": "22.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - walkthrough service-override",
6
6
  "keywords": [],
@@ -15,15 +15,14 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-158b9837-fc78-5d9c-86f5-9134e4358643-common": "21.5.1",
19
- "@codingame/monaco-vscode-23b6fb38-5e58-5886-b34b-27abc4f5df02-common": "21.5.1",
20
- "@codingame/monaco-vscode-5e2c24a1-3217-55e8-bc90-521eaf7df5a6-common": "21.5.1",
21
- "@codingame/monaco-vscode-9d0168a3-519b-57f3-9bcc-89efc41f951a-common": "21.5.1",
22
- "@codingame/monaco-vscode-a654b07e-8806-5425-b124-18f03ba8e11a-common": "21.5.1",
23
- "@codingame/monaco-vscode-api": "21.5.1",
24
- "@codingame/monaco-vscode-b6d52a6d-8c8e-51f5-bcd2-1722295e31d9-common": "21.5.1",
25
- "@codingame/monaco-vscode-cf77987b-b1b7-5359-aaf8-a259c63d9f03-common": "21.5.1",
26
- "@codingame/monaco-vscode-f24e325c-2ce0-5bba-8236-bfc4f53180ab-common": "21.5.1",
18
+ "@codingame/monaco-vscode-158b9837-fc78-5d9c-86f5-9134e4358643-common": "22.0.0",
19
+ "@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "22.0.0",
20
+ "@codingame/monaco-vscode-9d0168a3-519b-57f3-9bcc-89efc41f951a-common": "22.0.0",
21
+ "@codingame/monaco-vscode-a654b07e-8806-5425-b124-18f03ba8e11a-common": "22.0.0",
22
+ "@codingame/monaco-vscode-api": "22.0.0",
23
+ "@codingame/monaco-vscode-b6d52a6d-8c8e-51f5-bcd2-1722295e31d9-common": "22.0.0",
24
+ "@codingame/monaco-vscode-cf77987b-b1b7-5359-aaf8-a259c63d9f03-common": "22.0.0",
25
+ "@codingame/monaco-vscode-f24e325c-2ce0-5bba-8236-bfc4f53180ab-common": "22.0.0",
27
26
  "marked": "14.0.0"
28
27
  },
29
28
  "main": "index.js",
@@ -11,7 +11,7 @@ import { SIDE_GROUP } from '@codingame/monaco-vscode-api/vscode/vs/workbench/ser
11
11
  import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
12
12
  import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
13
13
  import { KeyCode } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
14
- import { EditorPaneDescriptor } from '@codingame/monaco-vscode-5e2c24a1-3217-55e8-bc90-521eaf7df5a6-common/vscode/vs/workbench/browser/editor';
14
+ import { EditorPaneDescriptor } from '@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common/vscode/vs/workbench/browser/editor';
15
15
  import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
16
16
  import { IWalkthroughsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.service';
17
17
  import { GettingStartedInput } from './gettingStartedInput.js';
@@ -37,7 +37,7 @@ registerAction2(class extends Action2 {
37
37
  constructor() {
38
38
  super({
39
39
  id: 'workbench.action.openWalkthrough',
40
- title: ( localize2(12522, 'Welcome')),
40
+ title: ( localize2(12639, 'Welcome')),
41
41
  category: Categories.Help,
42
42
  f1: true,
43
43
  menu: {
@@ -46,7 +46,7 @@ registerAction2(class extends Action2 {
46
46
  order: 1,
47
47
  },
48
48
  metadata: {
49
- description: ( localize2(12523, 'Opens a Walkthrough to help you get started in VS Code.'))
49
+ description: ( localize2(12640, 'Opens a Walkthrough to help you get started in VS Code.'))
50
50
  }
51
51
  });
52
52
  }
@@ -54,7 +54,11 @@ registerAction2(class extends Action2 {
54
54
  const editorService = accessor.get(IEditorService);
55
55
  const commandService = accessor.get(ICommandService);
56
56
  const toSide = typeof optionsOrToSide === 'object' ? optionsOrToSide.toSide : optionsOrToSide;
57
- const inactive = typeof optionsOrToSide === 'object' ? optionsOrToSide.inactive : false;
57
+ let inactive = typeof optionsOrToSide === 'object' ? optionsOrToSide.inactive : false;
58
+ const activeEditor = editorService.activeEditor;
59
+ if (!inactive && !toSide && activeEditor instanceof GettingStartedInput) {
60
+ inactive = true;
61
+ }
58
62
  if (walkthroughID) {
59
63
  const selectedCategory = typeof walkthroughID === 'string' ? walkthroughID : walkthroughID.category;
60
64
  let selectedStep;
@@ -64,7 +68,6 @@ registerAction2(class extends Action2 {
64
68
  else {
65
69
  selectedStep = undefined;
66
70
  }
67
- const activeEditor = editorService.activeEditor;
68
71
  if (selectedStep && activeEditor instanceof GettingStartedInput && activeEditor.selectedCategory === selectedCategory) {
69
72
  activeEditor.showWelcome = false;
70
73
  commandService.executeCommand('walkthroughs.selectStep', selectedStep);
@@ -91,15 +94,15 @@ registerAction2(class extends Action2 {
91
94
  }
92
95
  });
93
96
  ( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(GettingStartedInput.ID, GettingStartedInputSerializer);
94
- ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(GettingStartedPage, GettingStartedPage.ID, ( localize(12524, "Welcome"))), [
97
+ ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(GettingStartedPage, GettingStartedPage.ID, ( localize(12641, "Welcome"))), [
95
98
  ( new SyncDescriptor(GettingStartedInput))
96
99
  ]);
97
- const category = ( localize2(12524, "Welcome"));
100
+ const category = ( localize2(12641, "Welcome"));
98
101
  registerAction2(class extends Action2 {
99
102
  constructor() {
100
103
  super({
101
104
  id: 'welcome.goBack',
102
- title: ( localize2(12525, 'Go Back')),
105
+ title: ( localize2(12642, 'Go Back')),
103
106
  category,
104
107
  keybinding: {
105
108
  weight: KeybindingWeight.EditorContrib,
@@ -135,7 +138,7 @@ registerAction2(class extends Action2 {
135
138
  constructor() {
136
139
  super({
137
140
  id: 'welcome.markStepComplete',
138
- title: ( localize(12526, "Mark Step Complete")),
141
+ title: ( localize(12643, "Mark Step Complete")),
139
142
  category,
140
143
  });
141
144
  }
@@ -151,7 +154,7 @@ registerAction2(class extends Action2 {
151
154
  constructor() {
152
155
  super({
153
156
  id: 'welcome.markStepIncomplete',
154
- title: ( localize(12527, "Mark Step Incomplete")),
157
+ title: ( localize(12644, "Mark Step Incomplete")),
155
158
  category,
156
159
  });
157
160
  }
@@ -167,7 +170,7 @@ registerAction2(class extends Action2 {
167
170
  constructor() {
168
171
  super({
169
172
  id: 'welcome.showAllWalkthroughs',
170
- title: ( localize2(12528, 'Open Walkthrough...')),
173
+ title: ( localize2(12645, 'Open Walkthrough...')),
171
174
  category,
172
175
  f1: true,
173
176
  menu: {
@@ -199,7 +202,7 @@ registerAction2(class extends Action2 {
199
202
  quickPick.canSelectMany = false;
200
203
  quickPick.matchOnDescription = true;
201
204
  quickPick.matchOnDetail = true;
202
- quickPick.placeholder = ( localize(12529, 'Select a walkthrough to open'));
205
+ quickPick.placeholder = ( localize(12646, 'Select a walkthrough to open'));
203
206
  quickPick.items = await this.getQuickPickItems(contextService, gettingStartedService);
204
207
  quickPick.busy = true;
205
208
  disposables.add(quickPick.onDidAccept(() => {
@@ -226,7 +229,7 @@ CommandsRegistry.registerCommand({
226
229
  }
227
230
  });
228
231
  const WorkspacePlatform = ( new RawContextKey('workspacePlatform', undefined, ( localize(
229
- 12530,
232
+ 12647,
230
233
  "The platform of the current workspace, which in remote or serverless contexts may be different from the platform of the UI"
231
234
  ))));
232
235
  let WorkspacePlatformContribution = class WorkspacePlatformContribution {
@@ -278,7 +281,7 @@ configurationRegistry.registerConfiguration({
278
281
  type: 'boolean',
279
282
  default: true,
280
283
  description: ( localize(
281
- 12531,
284
+ 12648,
282
285
  "When enabled, an extension's walkthrough will open upon install of the extension."
283
286
  ))
284
287
  },
@@ -287,25 +290,25 @@ configurationRegistry.registerConfiguration({
287
290
  'type': 'string',
288
291
  'enum': ['none', 'welcomePage', 'readme', 'newUntitledFile', 'welcomePageInEmptyWorkbench', 'terminal'],
289
292
  'enumDescriptions': [
290
- ( localize(12532, "Start without an editor.")),
293
+ ( localize(12649, "Start without an editor.")),
291
294
  ( localize(
292
- 12533,
295
+ 12650,
293
296
  "Open the Welcome page, with content to aid in getting started with VS Code and extensions."
294
297
  )),
295
298
  ( localize(
296
- 12534,
299
+ 12651,
297
300
  "Open the README when opening a folder that contains one, fallback to 'welcomePage' otherwise. Note: This is only observed as a global configuration, it will be ignored if set in a workspace or folder configuration."
298
301
  )),
299
302
  ( localize(
300
- 12535,
303
+ 12652,
301
304
  "Open a new untitled text file (only applies when opening an empty window)."
302
305
  )),
303
- ( localize(12536, "Open the Welcome page when opening an empty workbench.")),
304
- ( localize(12537, "Open a new terminal in the editor area.")),
306
+ ( localize(12653, "Open the Welcome page when opening an empty workbench.")),
307
+ ( localize(12654, "Open a new terminal in the editor area.")),
305
308
  ],
306
309
  'default': 'welcomePage',
307
310
  'description': ( localize(
308
- 12538,
311
+ 12655,
309
312
  "Controls which editor is shown at startup, if none are restored from the previous session."
310
313
  ))
311
314
  },
@@ -313,8 +316,8 @@ configurationRegistry.registerConfiguration({
313
316
  scope: ConfigurationScope.APPLICATION,
314
317
  type: 'boolean',
315
318
  default: false,
316
- deprecationMessage: ( localize(12539, "Deprecated, use the global `workbench.reduceMotion`.")),
317
- description: ( localize(12540, "When enabled, reduce motion in welcome page."))
319
+ deprecationMessage: ( localize(12656, "Deprecated, use the global `workbench.reduceMotion`.")),
320
+ description: ( localize(12657, "When enabled, reduce motion in welcome page."))
318
321
  }
319
322
  }
320
323
  });
@@ -20,7 +20,7 @@ import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform
20
20
  import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
21
21
  import { IWorkspaceContextService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service";
22
22
  import { IWorkspacesService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspaces/common/workspaces.service";
23
- import { EditorPane } from "@codingame/monaco-vscode-5e2c24a1-3217-55e8-bc90-521eaf7df5a6-common/vscode/vs/workbench/browser/parts/editor/editorPane";
23
+ import { EditorPane } from "@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common/vscode/vs/workbench/browser/parts/editor/editorPane";
24
24
  import { IEditorOpenContext, IEditorSerializer } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor";
25
25
  import { IWebviewService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/webview/browser/webview.service";
26
26
  import { GettingStartedInput } from "./gettingStartedInput.js";
@@ -54,7 +54,7 @@ import { isRecentFolder, isRecentWorkspace } from '@codingame/monaco-vscode-158b
54
54
  import { IWorkspacesService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspaces/common/workspaces.service';
55
55
  import { OpenRecentAction } from '@codingame/monaco-vscode-158b9837-fc78-5d9c-86f5-9134e4358643-common/vscode/vs/workbench/browser/actions/windowActions';
56
56
  import { OpenFolderViaWorkspaceAction, OpenFileFolderAction, OpenFolderAction } from '@codingame/monaco-vscode-f24e325c-2ce0-5bba-8236-bfc4f53180ab-common/vscode/vs/workbench/browser/actions/workspaceActions';
57
- import { EditorPane } from '@codingame/monaco-vscode-5e2c24a1-3217-55e8-bc90-521eaf7df5a6-common/vscode/vs/workbench/browser/parts/editor/editorPane';
57
+ import { EditorPane } from '@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common/vscode/vs/workbench/browser/parts/editor/editorPane';
58
58
  import { WorkbenchStateContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
59
59
  import { IWebviewService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/webview/browser/webview.service';
60
60
  import './gettingStartedColors.js';
@@ -65,7 +65,7 @@ import { hiddenEntriesConfigurationKey, parseDescription } from './gettingStarte
65
65
  import { IWalkthroughsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.service';
66
66
  import { restoreWalkthroughsConfigurationKey } from './startupPage.js';
67
67
  import { startEntries } from '../common/gettingStartedContent.js';
68
- import { GroupDirection, GroupsOrder } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService';
68
+ import { preferredSideBySideGroupDirection, GroupsOrder } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService';
69
69
  import { IEditorGroupsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
70
70
  import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service';
71
71
  import { IHostService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/host/browser/host.service';
@@ -130,7 +130,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
130
130
  this.container = $('.gettingStartedContainer', {
131
131
  role: 'document',
132
132
  tabindex: 0,
133
- 'aria-label': ( localize(12541, "Overview of how to get up to speed with your editor."))
133
+ 'aria-label': ( localize(12658, "Overview of how to get up to speed with your editor."))
134
134
  });
135
135
  this.stepMediaComponent = $('.getting-started-media');
136
136
  this.stepMediaComponent.id = generateUuid();
@@ -206,14 +206,14 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
206
206
  badgeelement.parentElement?.setAttribute('aria-checked', 'true');
207
207
  badgeelement.classList.remove(...ThemeIcon.asClassNameArray(gettingStartedUncheckedCodicon));
208
208
  badgeelement.classList.add('complete', ...ThemeIcon.asClassNameArray(gettingStartedCheckedCodicon));
209
- badgeelement.setAttribute('aria-label', ( localize(12542, "Checkbox for Step {0}: Completed", step.title)));
209
+ badgeelement.setAttribute('aria-label', ( localize(12659, "Checkbox for Step {0}: Completed", step.title)));
210
210
  }
211
211
  else {
212
212
  badgeelement.setAttribute('aria-checked', 'false');
213
213
  badgeelement.parentElement?.setAttribute('aria-checked', 'false');
214
214
  badgeelement.classList.remove('complete', ...ThemeIcon.asClassNameArray(gettingStartedCheckedCodicon));
215
215
  badgeelement.classList.add(...ThemeIcon.asClassNameArray(gettingStartedUncheckedCodicon));
216
- badgeelement.setAttribute('aria-label', ( localize(12543, "Checkbox for Step {0}: Not completed", step.title)));
216
+ badgeelement.setAttribute('aria-label', ( localize(12660, "Checkbox for Step {0}: Not completed", step.title)));
217
217
  }
218
218
  });
219
219
  }
@@ -415,7 +415,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
415
415
  label: x.title,
416
416
  detail: x.description,
417
417
  description: x.source,
418
- }))), { canPickMany: false, matchOnDescription: true, matchOnDetail: true, title: ( localize(12544, "Open Walkthrough...")) });
418
+ }))), { canPickMany: false, matchOnDescription: true, matchOnDetail: true, title: ( localize(12661, "Open Walkthrough...")) });
419
419
  if (selection) {
420
420
  this.runDispatchCommand('selectCategory', selection.id);
421
421
  }
@@ -596,7 +596,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
596
596
  const themeType = this.themeService.getColorTheme().type;
597
597
  const videoPath = media.path[themeType];
598
598
  const videoPoster = media.poster ? media.poster[themeType] : undefined;
599
- const altText = media.altText ? media.altText : ( localize(12545, "Video for {0}", stepToExpand.title));
599
+ const altText = media.altText ? media.altText : ( localize(12662, "Video for {0}", stepToExpand.title));
600
600
  const rawHTML = await this.detailsRenderer.renderVideo(videoPath, videoPoster, altText);
601
601
  this.webview.setHtml(rawHTML);
602
602
  let isDisposed = false;
@@ -624,8 +624,8 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
624
624
  provideScreenReaderUpdate() {
625
625
  if (this.configurationService.getValue(AccessibilityVerbositySettingId.Walkthrough)) {
626
626
  const kbLabel = this.keybindingService.lookupKeybinding(AccessibleViewAction.id)?.getAriaLabel();
627
- return kbLabel ? ( localize(12546, "Inspect this in the accessible view ({0}).\n", kbLabel)) : ( localize(
628
- 12547,
627
+ return kbLabel ? ( localize(12663, "Inspect this in the accessible view ({0}).\n", kbLabel)) : ( localize(
628
+ 12664,
629
629
  "Inspect this in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding.\n"
630
630
  ));
631
631
  }
@@ -685,7 +685,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
685
685
  this.categoriesPageScrollbar.dispose();
686
686
  }
687
687
  this.categoriesSlide = $('.gettingStartedSlideCategories.gettingStartedSlide');
688
- const prevButton = $('button.prev-button.button-link', { 'x-dispatch': 'scrollPrev' }, $('span.scroll-button.codicon.codicon-chevron-left'), $('span.moreText', {}, ( localize(12548, "Go Back"))));
688
+ const prevButton = $('button.prev-button.button-link', { 'x-dispatch': 'scrollPrev' }, $('span.scroll-button.codicon.codicon-chevron-left'), $('span.moreText', {}, ( localize(12665, "Go Back"))));
689
689
  this.stepsSlide = $('.gettingStartedSlideDetails.gettingStartedSlide', {}, prevButton);
690
690
  this.stepsContent = $('.gettingStartedDetailsContent', {});
691
691
  this.detailsPageScrollbar = this._register(( new DomScrollableElement(
@@ -709,11 +709,11 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
709
709
  icon: Codicon.check,
710
710
  actionClassName: 'getting-started-checkbox',
711
711
  isChecked: this.configurationService.getValue(configurationKey) === 'welcomePage',
712
- title: ( localize(12549, "When checked, this page will be shown on startup.")),
712
+ title: ( localize(12666, "When checked, this page will be shown on startup.")),
713
713
  ...defaultToggleStyles
714
714
  }));
715
715
  showOnStartupCheckbox.domNode.id = 'showOnStartup';
716
- const showOnStartupLabel = $('label.caption', { for: 'showOnStartup' }, ( localize(12550, "Show welcome page on startup")));
716
+ const showOnStartupLabel = $('label.caption', { for: 'showOnStartup' }, ( localize(12667, "Show welcome page on startup")));
717
717
  const onShowOnStartupChanged = () => {
718
718
  if (showOnStartupCheckbox.checked) {
719
719
  this.telemetryService.publicLog2('gettingStarted.ActionExecuted', { command: 'showOnStartupChecked', argument: undefined, walkthroughId: this.currentWalkthrough?.id });
@@ -732,7 +732,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
732
732
  showOnStartupCheckbox.checked = !showOnStartupCheckbox.checked;
733
733
  onShowOnStartupChanged();
734
734
  }));
735
- const header = $('.header', {}, $('h1.product-name.caption', {}, this.productService.nameLong), $('p.subtitle.description', {}, ( localize(12551, "Editing evolved"))));
735
+ const header = $('.header', {}, $('h1.product-name.caption', {}, this.productService.nameLong), $('p.subtitle.description', {}, ( localize(12668, "Editing evolved"))));
736
736
  const leftColumn = $('.categories-column.categories-column-left', {});
737
737
  const rightColumn = $('.categories-column.categories-column-right', {});
738
738
  const startList = this.buildStartList();
@@ -825,7 +825,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
825
825
  const link = $('button.button-link');
826
826
  link.innerText = name;
827
827
  link.title = fullPath;
828
- link.setAttribute('aria-label', ( localize(12552, "Open folder {0} with path {1}", name, parentPath)));
828
+ link.setAttribute('aria-label', ( localize(12669, "Open folder {0} with path {1}", name, parentPath)));
829
829
  link.addEventListener('click', e => {
830
830
  this.telemetryService.publicLog2('gettingStarted.ActionExecuted', { command: 'openRecent', argument: undefined, walkthroughId: this.currentWalkthrough?.id });
831
831
  this.hostService.openWindow([windowOpenable], {
@@ -848,18 +848,18 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
848
848
  this.recentlyOpenedList.dispose();
849
849
  }
850
850
  const recentlyOpenedList = this.recentlyOpenedList = ( new GettingStartedIndexList({
851
- title: ( localize(12553, "Recent")),
851
+ title: ( localize(12670, "Recent")),
852
852
  klass: 'recently-opened',
853
853
  limit: 5,
854
- empty: $('.empty-recent', {}, ( localize(12554, "You have no recent folders,")), $('button.button-link', { 'x-dispatch': 'openFolder' }, ( localize(12555, "open a folder"))), ( localize(12556, "to start."))),
854
+ empty: $('.empty-recent', {}, ( localize(12671, "You have no recent folders,")), $('button.button-link', { 'x-dispatch': 'openFolder' }, ( localize(12672, "open a folder"))), ( localize(12673, "to start."))),
855
855
  more: $('.more', {}, $('button.button-link', {
856
856
  'x-dispatch': 'showMoreRecents',
857
857
  title: ( localize(
858
- 12557,
858
+ 12674,
859
859
  "Show All Recent Folders {0}",
860
860
  this.getKeybindingLabel(OpenRecentAction.ID)
861
861
  ))
862
- }, ( localize(12558, "More...")))),
862
+ }, ( localize(12675, "More...")))),
863
863
  renderElement: renderRecent,
864
864
  contextService: this.contextService
865
865
  }));
@@ -887,7 +887,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
887
887
  this.startList.dispose();
888
888
  }
889
889
  const startList = this.startList = ( new GettingStartedIndexList({
890
- title: ( localize(12559, "Start")),
890
+ title: ( localize(12676, "Start")),
891
891
  klass: 'start-container',
892
892
  limit: 10,
893
893
  renderElement: renderStartEntry,
@@ -903,10 +903,10 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
903
903
  const renderNewBadge = (category.newItems || category.newEntry) && !category.isFeatured;
904
904
  const newBadge = $('.new-badge', {});
905
905
  if (category.newEntry) {
906
- reset(newBadge, $('.new-category', {}, ( localize(12560, "New"))));
906
+ reset(newBadge, $('.new-category', {}, ( localize(12677, "New"))));
907
907
  }
908
908
  else if (category.newItems) {
909
- reset(newBadge, $('.new-items', {}, ( localize(12561, "Updated"))));
909
+ reset(newBadge, $('.new-items', {}, ( localize(12678, "Updated"))));
910
910
  }
911
911
  const featuredBadge = $('.featured-badge', {});
912
912
  const descriptionContent = $('.description-content', {});
@@ -922,9 +922,9 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
922
922
  }, featuredBadge, $('.main-content', {}, this.iconWidgetFor(category), titleContent, renderNewBadge ? newBadge : $('.no-badge'), $('a.codicon.codicon-close.hide-category-button', {
923
923
  'tabindex': 0,
924
924
  'x-dispatch': 'hideCategory:' + category.id,
925
- 'title': ( localize(12562, "Hide")),
925
+ 'title': ( localize(12679, "Hide")),
926
926
  'role': 'button',
927
- 'aria-label': ( localize(12563, "Hide")),
927
+ 'aria-label': ( localize(12680, "Hide")),
928
928
  })), descriptionContent, $('.category-progress', { 'x-data-category-id': category.id, }, $('.progress-bar-outer', { 'role': 'progressbar' }, $('.progress-bar-inner'))));
929
929
  };
930
930
  if (this.gettingStartedList) {
@@ -950,10 +950,10 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
950
950
  return rank;
951
951
  };
952
952
  const gettingStartedList = this.gettingStartedList = ( new GettingStartedIndexList({
953
- title: ( localize(12564, "Walkthroughs")),
953
+ title: ( localize(12681, "Walkthroughs")),
954
954
  klass: 'getting-started',
955
955
  limit: 5,
956
- footer: $('span.button-link.see-all-walkthroughs', { 'x-dispatch': 'seeAllWalkthroughs', 'tabindex': 0 }, ( localize(12558, "More..."))),
956
+ footer: $('span.button-link.see-all-walkthroughs', { 'x-dispatch': 'seeAllWalkthroughs', 'tabindex': 0 }, ( localize(12675, "More..."))),
957
957
  renderElement: renderGetttingStaredWalkthrough,
958
958
  rankElement: rankWalkthrough,
959
959
  contextService: this.contextService,
@@ -1006,10 +1006,10 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
1006
1006
  bar.style.width = `${progress}%`;
1007
1007
  element.parentElement.classList.toggle('no-progress', stats.stepsComplete === 0);
1008
1008
  if (stats.stepsTotal === stats.stepsComplete) {
1009
- bar.title = ( localize(12565, "All {0} steps complete!", stats.stepsComplete));
1009
+ bar.title = ( localize(12682, "All {0} steps complete!", stats.stepsComplete));
1010
1010
  }
1011
1011
  else {
1012
- bar.title = ( localize(12566, "{0} of {1} steps complete", stats.stepsComplete, stats.stepsTotal));
1012
+ bar.title = ( localize(12683, "{0} of {1} steps complete", stats.stepsComplete, stats.stepsTotal));
1013
1013
  }
1014
1014
  });
1015
1015
  }
@@ -1042,11 +1042,9 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
1042
1042
  return;
1043
1043
  }
1044
1044
  if (this.groupsService.count === 1) {
1045
- const sideGroup = this.groupsService.addGroup(this.groupsService.groups[0], GroupDirection.RIGHT);
1045
+ const editorGroupSplitDirection = preferredSideBySideGroupDirection(this.configurationService);
1046
+ const sideGroup = this.groupsService.addGroup(this.groupsService.groups[0], editorGroupSplitDirection);
1046
1047
  this.groupsService.activateGroup(sideGroup);
1047
- const gettingStartedSize = Math.floor(fullSize.width / 2);
1048
- const gettingStartedGroup = this.groupsService.getGroups(GroupsOrder.MOST_RECENTLY_ACTIVE).find(group => (group.activeEditor instanceof GettingStartedInput));
1049
- this.groupsService.setSize(assertReturnsDefined(gettingStartedGroup), { width: gettingStartedSize, height: fullSize.height });
1050
1048
  }
1051
1049
  const nonGettingStartedGroup = this.groupsService.getGroups(GroupsOrder.MOST_RECENTLY_ACTIVE).find(group => !(group.activeEditor instanceof GettingStartedInput));
1052
1050
  if (nonGettingStartedGroup) {
@@ -1132,7 +1130,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
1132
1130
  if (isCommand) {
1133
1131
  const keybinding = this.getKeyBinding(command);
1134
1132
  if (keybinding) {
1135
- const shortcutMessage = $('span.shortcut-message', {}, ( localize(12567, 'Tip: Use keyboard shortcut ')));
1133
+ const shortcutMessage = $('span.shortcut-message', {}, ( localize(12684, 'Tip: Use keyboard shortcut ')));
1136
1134
  container.appendChild(shortcutMessage);
1137
1135
  const label = ( new KeybindingLabel(shortcutMessage, OS, { ...defaultKeybindingLabelStyles }));
1138
1136
  label.set(keybinding);
@@ -1220,8 +1218,8 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
1220
1218
  'role': 'checkbox',
1221
1219
  'aria-checked': step.done ? 'true' : 'false',
1222
1220
  'aria-label': step.done
1223
- ? ( localize(12542, "Checkbox for Step {0}: Completed", step.title))
1224
- : ( localize(12543, "Checkbox for Step {0}: Not completed", step.title)),
1221
+ ? ( localize(12659, "Checkbox for Step {0}: Completed", step.title))
1222
+ : ( localize(12660, "Checkbox for Step {0}: Not completed", step.title)),
1225
1223
  });
1226
1224
  const container = $('.step-description-container', { 'x-step-description-for': step.id });
1227
1225
  this.buildMarkdownDescription(container, step.description);
@@ -1229,10 +1227,10 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
1229
1227
  reset(stepTitle, ...renderLabelWithIcons(step.title));
1230
1228
  const stepDescription = $('.step-container', {}, stepTitle, container);
1231
1229
  if (step.media.type === 'image') {
1232
- stepDescription.appendChild($('.image-description', { 'aria-label': ( localize(12568, "Image showing {0}", step.media.altText)) }));
1230
+ stepDescription.appendChild($('.image-description', { 'aria-label': ( localize(12685, "Image showing {0}", step.media.altText)) }));
1233
1231
  }
1234
1232
  else if (step.media.type === 'video') {
1235
- stepDescription.appendChild($('.video-description', { 'aria-label': ( localize(12569, "Video showing {0}", step.media.altText)) }));
1233
+ stepDescription.appendChild($('.video-description', { 'aria-label': ( localize(12686, "Video showing {0}", step.media.altText)) }));
1236
1234
  }
1237
1235
  return $('button.getting-started-step', {
1238
1236
  'x-dispatch': 'selectTask:' + step.id,
@@ -1252,8 +1250,8 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
1252
1250
  }
1253
1251
  }));
1254
1252
  const showNextCategory = this.gettingStartedCategories.find(_category => _category.id === category.next);
1255
- const stepsContainer = $('.getting-started-detail-container', { 'role': 'list' }, stepListContainer, $('.done-next-container', {}, $('button.button-link.all-done', { 'x-dispatch': 'allDone' }, $('span.codicon.codicon-check-all'), ( localize(12570, "Mark Done"))), ...(showNextCategory
1256
- ? [$('button.button-link.next', { 'x-dispatch': 'nextSection' }, ( localize(12571, "Next Section")), $('span.codicon.codicon-arrow-right'))]
1253
+ const stepsContainer = $('.getting-started-detail-container', { 'role': 'list' }, stepListContainer, $('.done-next-container', {}, $('button.button-link.all-done', { 'x-dispatch': 'allDone' }, $('span.codicon.codicon-check-all'), ( localize(12687, "Mark Done"))), ...(showNextCategory
1254
+ ? [$('button.button-link.next', { 'x-dispatch': 'nextSection' }, ( localize(12688, "Next Section")), $('span.codicon.codicon-arrow-right'))]
1257
1255
  : [])));
1258
1256
  this.detailsScrollbar = this._register(( new DomScrollableElement(stepsContainer, { className: 'steps-container' })));
1259
1257
  const stepListComponent = this.detailsScrollbar.getDomNode();
@@ -1270,12 +1268,12 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
1270
1268
  }
1271
1269
  buildTelemetryFooter(parent) {
1272
1270
  const mdRenderer = this.instantiationService.createInstance(MarkdownRenderer, {});
1273
- const privacyStatementCopy = ( localize(12572, "privacy statement"));
1271
+ const privacyStatementCopy = ( localize(12689, "privacy statement"));
1274
1272
  const privacyStatementButton = `[${privacyStatementCopy}](command:workbench.action.openPrivacyStatementUrl)`;
1275
- const optOutCopy = ( localize(12573, "opt out"));
1273
+ const optOutCopy = ( localize(12690, "opt out"));
1276
1274
  const optOutButton = `[${optOutCopy}](command:settings.filterByTelemetry)`;
1277
1275
  const text = ( localize(
1278
- 12574,
1276
+ 12691,
1279
1277
  "{0} collects usage data. Read our {1} and learn how to {2}.",
1280
1278
  this.productService.nameShort,
1281
1279
  privacyStatementButton,
@@ -1347,7 +1345,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
1347
1345
  const prevButton = this.container.querySelector('.prev-button.button-link');
1348
1346
  prevButton.style.display = this.editorInput.showWelcome || this.prevWalkthrough ? 'block' : 'none';
1349
1347
  const moreTextElement = prevButton.querySelector('.moreText');
1350
- moreTextElement.textContent = firstLaunch ? ( localize(12575, "Welcome")) : ( localize(12548, "Go Back"));
1348
+ moreTextElement.textContent = firstLaunch ? ( localize(12692, "Welcome")) : ( localize(12665, "Go Back"));
1351
1349
  this.container.querySelector('.gettingStartedSlideDetails').querySelectorAll('button').forEach(button => button.disabled = false);
1352
1350
  this.container.querySelector('.gettingStartedSlideCategories').querySelectorAll('button').forEach(button => button.disabled = true);
1353
1351
  this.container.querySelector('.gettingStartedSlideCategories').querySelectorAll('input').forEach(button => button.disabled = true);
@@ -116,11 +116,11 @@ class GettingStartedAccessibleProvider extends Disposable {
116
116
  }
117
117
  _getContent(waltkrough, step, includeTitle) {
118
118
  const description = ( step.description.map(lt => lt.nodes.filter(node => typeof node === 'string'))).join('\n');
119
- const stepsContent = ( localize(12576, '{0}\n{1}', step.title, description));
119
+ const stepsContent = ( localize(12693, '{0}\n{1}', step.title, description));
120
120
  if (includeTitle) {
121
121
  return [
122
- ( localize(12577, 'Title: {0}', waltkrough.title)),
123
- ( localize(12578, 'Description: {0}', waltkrough.description)),
122
+ ( localize(12694, 'Title: {0}', waltkrough.title)),
123
+ ( localize(12695, 'Description: {0}', waltkrough.description)),
124
124
  stepsContent
125
125
  ].join('\n');
126
126
  }
@@ -12,10 +12,10 @@ import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/quic
12
12
  import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/searchColors';
13
13
  import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
14
14
 
15
- registerColor('welcomePage.background', null, ( localize(12579, 'Background color for the Welcome page.')));
16
- registerColor('welcomePage.tileBackground', { dark: editorWidgetBackground, light: editorWidgetBackground, hcDark: '#000', hcLight: editorWidgetBackground }, ( localize(12580, 'Background color for the tiles on the Welcome page.')));
17
- registerColor('welcomePage.tileHoverBackground', { dark: ( lighten(editorWidgetBackground, .2)), light: ( darken(editorWidgetBackground, .1)), hcDark: null, hcLight: null }, ( localize(12581, 'Hover background color for the tiles on the Welcome.')));
18
- registerColor('welcomePage.tileBorder', { dark: '#ffffff1a', light: '#0000001a', hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(12582, 'Border color for the tiles on the Welcome page.')));
19
- registerColor('welcomePage.progress.background', inputBackground, ( localize(12583, 'Foreground color for the Welcome page progress bars.')));
20
- registerColor('welcomePage.progress.foreground', textLinkForeground, ( localize(12584, 'Background color for the Welcome page progress bars.')));
21
- registerColor('walkthrough.stepTitle.foreground', { light: '#000000', dark: '#ffffff', hcDark: null, hcLight: null }, ( localize(12585, 'Foreground color of the heading of each walkthrough step')));
15
+ registerColor('welcomePage.background', null, ( localize(12696, 'Background color for the Welcome page.')));
16
+ registerColor('welcomePage.tileBackground', { dark: editorWidgetBackground, light: editorWidgetBackground, hcDark: '#000', hcLight: editorWidgetBackground }, ( localize(12697, 'Background color for the tiles on the Welcome page.')));
17
+ registerColor('welcomePage.tileHoverBackground', { dark: ( lighten(editorWidgetBackground, .2)), light: ( darken(editorWidgetBackground, .1)), hcDark: null, hcLight: null }, ( localize(12698, 'Hover background color for the tiles on the Welcome.')));
18
+ registerColor('welcomePage.tileBorder', { dark: '#ffffff1a', light: '#0000001a', hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(12699, 'Border color for the tiles on the Welcome page.')));
19
+ registerColor('welcomePage.progress.background', inputBackground, ( localize(12700, 'Foreground color for the Welcome page progress bars.')));
20
+ registerColor('welcomePage.progress.foreground', textLinkForeground, ( localize(12701, 'Background color for the Welcome page progress bars.')));
21
+ registerColor('walkthrough.stepTitle.foreground', { light: '#000000', dark: '#ffffff', hcDark: null, hcLight: null }, ( localize(12702, 'Foreground color of the heading of each walkthrough step')));