@codingame/monaco-vscode-welcome-service-override 3.2.3 → 4.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 +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js +2 -1
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.js +166 -54
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedColors.js +11 -1
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/media/gettingStarted.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.js +2 -1
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughPart.js +27 -30
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/common/walkThroughUtils.js +19 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-welcome-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -18,6 +18,6 @@
|
|
|
18
18
|
"module": "index.js",
|
|
19
19
|
"types": "index.d.ts",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"vscode": "npm:@codingame/monaco-vscode-api@
|
|
21
|
+
"vscode": "npm:@codingame/monaco-vscode-api@4.0.0"
|
|
22
22
|
}
|
|
23
23
|
}
|
package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js
CHANGED
|
@@ -24,6 +24,7 @@ import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extension
|
|
|
24
24
|
import { StartupPageEditorResolverContribution, StartupPageRunnerContribution } from './startupPage.js';
|
|
25
25
|
import { ExtensionsInput } from 'vscode/vscode/vs/workbench/contrib/extensions/common/extensionsInput';
|
|
26
26
|
import { Categories } from 'vscode/vscode/vs/platform/action/common/actionCommonCategories';
|
|
27
|
+
import './gettingStartedIcons.js';
|
|
27
28
|
|
|
28
29
|
registerAction2(class extends Action2 {
|
|
29
30
|
constructor() {
|
|
@@ -50,7 +51,7 @@ registerAction2(class extends Action2 {
|
|
|
50
51
|
const commandService = accessor.get(ICommandService);
|
|
51
52
|
if (walkthroughID) {
|
|
52
53
|
const selectedCategory = typeof walkthroughID === 'string' ? walkthroughID : walkthroughID.category;
|
|
53
|
-
const selectedStep = typeof walkthroughID === 'string' ? undefined : walkthroughID.step;
|
|
54
|
+
const selectedStep = typeof walkthroughID === 'string' ? undefined : walkthroughID.category + '#' + walkthroughID.step;
|
|
54
55
|
if (!selectedCategory && !selectedStep) {
|
|
55
56
|
editorService.openEditor({
|
|
56
57
|
resource: GettingStartedInput.RESOURCE,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { $,
|
|
2
|
+
import { $, addDisposableListener, clearNode, reset, append } from 'vscode/vscode/vs/base/browser/dom';
|
|
3
3
|
import { renderFormattedText } from 'vscode/vscode/vs/base/browser/formattedTextRenderer';
|
|
4
4
|
import { StandardKeyboardEvent } from 'vscode/vscode/vs/base/browser/keyboardEvent';
|
|
5
5
|
import { Button } from 'vscode/vscode/vs/base/browser/ui/button/button';
|
|
@@ -52,7 +52,7 @@ import './gettingStartedColors.js';
|
|
|
52
52
|
import { GettingStartedDetailsRenderer } from './gettingStartedDetailsRenderer.js';
|
|
53
53
|
import { gettingStartedUncheckedCodicon, gettingStartedCheckedCodicon } from './gettingStartedIcons.js';
|
|
54
54
|
import { GettingStartedInput } from './gettingStartedInput.js';
|
|
55
|
-
import { hiddenEntriesConfigurationKey, IWalkthroughsService } from 'vscode/vscode/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService';
|
|
55
|
+
import { hiddenEntriesConfigurationKey, parseDescription, IWalkthroughsService } from 'vscode/vscode/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService';
|
|
56
56
|
import { restoreWalkthroughsConfigurationKey } from './startupPage.js';
|
|
57
57
|
import { startEntries } from 'vscode/vscode/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent';
|
|
58
58
|
import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService';
|
|
@@ -60,6 +60,7 @@ import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extension
|
|
|
60
60
|
import { IHostService } from 'vscode/vscode/vs/workbench/services/host/browser/host';
|
|
61
61
|
import { ThemeSettings } from 'vscode/vscode/vs/workbench/services/themes/common/workbenchThemeService';
|
|
62
62
|
import { GettingStartedIndexList } from './gettingStartedList.js';
|
|
63
|
+
import { IWorkbenchAssignmentService } from 'vscode/vscode/vs/workbench/services/assignment/common/assignmentService';
|
|
63
64
|
|
|
64
65
|
var GettingStartedPage_1;
|
|
65
66
|
const SLIDE_TRANSITION_TIME_MS = 250;
|
|
@@ -79,8 +80,8 @@ const REDUCED_MOTION_KEY = 'workbench.welcomePage.preferReducedMotion';
|
|
|
79
80
|
let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
80
81
|
static { GettingStartedPage_1 = this; }
|
|
81
82
|
static { this.ID = 'gettingStartedPage'; }
|
|
82
|
-
constructor(commandService, productService, keybindingService, gettingStartedService, configurationService, telemetryService, languageService, fileService, openerService, themeService, storageService, extensionService, instantiationService, notificationService, groupsService, contextService, quickInputService, workspacesService, labelService, hostService, webviewService, workspaceContextService, accessibilityService) {
|
|
83
|
-
super(GettingStartedPage_1.ID, telemetryService, themeService, storageService);
|
|
83
|
+
constructor(group, commandService, productService, keybindingService, gettingStartedService, configurationService, telemetryService, languageService, fileService, openerService, themeService, storageService, extensionService, instantiationService, notificationService, groupsService, contextService, quickInputService, workspacesService, labelService, hostService, webviewService, workspaceContextService, accessibilityService, tasExperimentService) {
|
|
84
|
+
super(GettingStartedPage_1.ID, group, telemetryService, themeService, storageService);
|
|
84
85
|
this.commandService = commandService;
|
|
85
86
|
this.productService = productService;
|
|
86
87
|
this.keybindingService = keybindingService;
|
|
@@ -101,6 +102,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
101
102
|
this.webviewService = webviewService;
|
|
102
103
|
this.workspaceContextService = workspaceContextService;
|
|
103
104
|
this.accessibilityService = accessibilityService;
|
|
105
|
+
this.tasExperimentService = tasExperimentService;
|
|
104
106
|
this.inProgressScroll = Promise.resolve();
|
|
105
107
|
this.dispatchListeners = ( new DisposableStore());
|
|
106
108
|
this.stepDisposables = ( new DisposableStore());
|
|
@@ -108,6 +110,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
108
110
|
this.mediaDisposables = ( new DisposableStore());
|
|
109
111
|
this.buildSlideThrottle = ( new Throttler());
|
|
110
112
|
this.hasScrolledToFirstCategory = false;
|
|
113
|
+
this.showFeaturedWalkthrough = true;
|
|
111
114
|
this.currentMediaComponent = undefined;
|
|
112
115
|
this.currentMediaType = undefined;
|
|
113
116
|
this.container = $('.gettingStartedContainer', {
|
|
@@ -186,7 +189,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
186
189
|
}));
|
|
187
190
|
ourStep.done = step.done;
|
|
188
191
|
if (category.id === this.currentWalkthrough?.id) {
|
|
189
|
-
const badgeelements = assertIsDefined(
|
|
192
|
+
const badgeelements = assertIsDefined(this.window.document.querySelectorAll(`[data-done-step-id="${step.id}"]`));
|
|
190
193
|
badgeelements.forEach(badgeelement => {
|
|
191
194
|
if (step.done) {
|
|
192
195
|
badgeelement.setAttribute('aria-checked', 'true');
|
|
@@ -249,7 +252,14 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
249
252
|
registerDispatchListeners() {
|
|
250
253
|
this.dispatchListeners.clear();
|
|
251
254
|
this.container.querySelectorAll('[x-dispatch]').forEach(element => {
|
|
252
|
-
const
|
|
255
|
+
const dispatch = element.getAttribute('x-dispatch') ?? '';
|
|
256
|
+
let command, argument;
|
|
257
|
+
if (dispatch.startsWith('openLink:https')) {
|
|
258
|
+
[command, argument] = ['openLink', dispatch.replace('openLink:', '')];
|
|
259
|
+
}
|
|
260
|
+
else {
|
|
261
|
+
[command, argument] = dispatch.split(':');
|
|
262
|
+
}
|
|
253
263
|
if (command) {
|
|
254
264
|
this.dispatchListeners.add(addDisposableListener(element, 'click', (e) => {
|
|
255
265
|
e.stopPropagation();
|
|
@@ -338,12 +348,12 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
338
348
|
}
|
|
339
349
|
break;
|
|
340
350
|
}
|
|
341
|
-
case '
|
|
342
|
-
this.
|
|
351
|
+
case 'hideVideos': {
|
|
352
|
+
this.hideVideos();
|
|
343
353
|
break;
|
|
344
354
|
}
|
|
345
|
-
case '
|
|
346
|
-
this.
|
|
355
|
+
case 'openLink': {
|
|
356
|
+
this.openerService.open(argument);
|
|
347
357
|
break;
|
|
348
358
|
}
|
|
349
359
|
default: {
|
|
@@ -360,9 +370,9 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
360
370
|
this.setHiddenCategories([...this.getHiddenCategories().add(categoryId)]);
|
|
361
371
|
this.gettingStartedList?.rerender();
|
|
362
372
|
}
|
|
363
|
-
|
|
364
|
-
this.setHiddenCategories([...this.getHiddenCategories().add(
|
|
365
|
-
this.
|
|
373
|
+
hideVideos() {
|
|
374
|
+
this.setHiddenCategories([...this.getHiddenCategories().add('getting-started-videos')]);
|
|
375
|
+
this.videoList?.setEntries(undefined);
|
|
366
376
|
}
|
|
367
377
|
markAllStepsComplete() {
|
|
368
378
|
if (this.currentWalkthrough) {
|
|
@@ -412,12 +422,12 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
412
422
|
setHiddenCategories(hidden) {
|
|
413
423
|
this.storageService.store(hiddenEntriesConfigurationKey, JSON.stringify(hidden), 0 , 0 );
|
|
414
424
|
}
|
|
415
|
-
async buildMediaComponent(stepId) {
|
|
425
|
+
async buildMediaComponent(stepId, forceRebuild = false) {
|
|
416
426
|
if (!this.currentWalkthrough) {
|
|
417
427
|
throw Error('no walkthrough selected');
|
|
418
428
|
}
|
|
419
429
|
const stepToExpand = assertIsDefined(this.currentWalkthrough.steps.find(step => step.id === stepId));
|
|
420
|
-
if (this.currentMediaComponent === stepId) {
|
|
430
|
+
if (!forceRebuild && this.currentMediaComponent === stepId) {
|
|
421
431
|
return;
|
|
422
432
|
}
|
|
423
433
|
this.currentMediaComponent = stepId;
|
|
@@ -435,11 +445,11 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
435
445
|
clearNode(this.stepMediaComponent);
|
|
436
446
|
if (stepToExpand.media.type === 'svg') {
|
|
437
447
|
this.webview = this.mediaDisposables.add(this.webviewService.createWebviewElement({ title: undefined, options: { disableServiceWorker: true }, contentOptions: {}, extension: undefined }));
|
|
438
|
-
this.webview.mountTo(this.stepMediaComponent);
|
|
448
|
+
this.webview.mountTo(this.stepMediaComponent, this.window);
|
|
439
449
|
}
|
|
440
450
|
else if (stepToExpand.media.type === 'markdown') {
|
|
441
451
|
this.webview = this.mediaDisposables.add(this.webviewService.createWebviewElement({ options: {}, contentOptions: { localResourceRoots: [stepToExpand.media.root], allowScripts: true }, title: '', extension: undefined }));
|
|
442
|
-
this.webview.mountTo(this.stepMediaComponent);
|
|
452
|
+
this.webview.mountTo(this.stepMediaComponent, this.window);
|
|
443
453
|
}
|
|
444
454
|
}
|
|
445
455
|
if (stepToExpand.media.type === 'image') {
|
|
@@ -591,7 +601,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
591
601
|
this.editorInput.selectedStep = id;
|
|
592
602
|
stepElement.classList.add('expanded');
|
|
593
603
|
stepElement.setAttribute('aria-expanded', 'true');
|
|
594
|
-
this.buildMediaComponent(id);
|
|
604
|
+
this.buildMediaComponent(id, true);
|
|
595
605
|
this.gettingStartedService.progressByEvent('stepSelected:' + id);
|
|
596
606
|
}
|
|
597
607
|
else {
|
|
@@ -678,22 +688,56 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
678
688
|
const rightColumn = $('.categories-column.categories-column-right', {});
|
|
679
689
|
const startList = this.buildStartList();
|
|
680
690
|
const recentList = this.buildRecentlyOpenedList();
|
|
691
|
+
const showVideoTutorials = await Promise.race([
|
|
692
|
+
this.tasExperimentService?.getTreatment('gettingStarted.showVideoTutorials'),
|
|
693
|
+
( new Promise(resolve => setTimeout(() => resolve(false), 200)))
|
|
694
|
+
]);
|
|
695
|
+
let videoList;
|
|
696
|
+
if (showVideoTutorials === true) {
|
|
697
|
+
this.showFeaturedWalkthrough = false;
|
|
698
|
+
videoList = this.buildVideosList();
|
|
699
|
+
const layoutVideos = () => {
|
|
700
|
+
if (videoList?.itemCount > 0) {
|
|
701
|
+
reset(rightColumn, videoList?.getDomElement(), gettingStartedList.getDomElement());
|
|
702
|
+
}
|
|
703
|
+
else {
|
|
704
|
+
reset(rightColumn, gettingStartedList.getDomElement());
|
|
705
|
+
}
|
|
706
|
+
setTimeout(() => this.categoriesPageScrollbar?.scanDomNode(), 50);
|
|
707
|
+
layoutRecentList();
|
|
708
|
+
};
|
|
709
|
+
videoList.onDidChange(layoutVideos);
|
|
710
|
+
}
|
|
681
711
|
const gettingStartedList = this.buildGettingStartedWalkthroughsList();
|
|
682
712
|
const footer = $('.footer', {}, $('p.showOnStartup', {}, showOnStartupCheckbox.domNode, showOnStartupLabel));
|
|
683
713
|
const layoutLists = () => {
|
|
684
714
|
if (gettingStartedList.itemCount) {
|
|
685
715
|
this.container.classList.remove('noWalkthroughs');
|
|
686
|
-
|
|
716
|
+
if (videoList?.itemCount > 0) {
|
|
717
|
+
this.container.classList.remove('noVideos');
|
|
718
|
+
reset(rightColumn, videoList?.getDomElement(), gettingStartedList.getDomElement());
|
|
719
|
+
}
|
|
720
|
+
else {
|
|
721
|
+
this.container.classList.add('noVideos');
|
|
722
|
+
reset(rightColumn, gettingStartedList.getDomElement());
|
|
723
|
+
}
|
|
687
724
|
}
|
|
688
725
|
else {
|
|
689
726
|
this.container.classList.add('noWalkthroughs');
|
|
690
|
-
|
|
727
|
+
if (videoList?.itemCount > 0) {
|
|
728
|
+
this.container.classList.remove('noVideos');
|
|
729
|
+
reset(rightColumn, videoList?.getDomElement());
|
|
730
|
+
}
|
|
731
|
+
else {
|
|
732
|
+
this.container.classList.add('noVideos');
|
|
733
|
+
reset(rightColumn);
|
|
734
|
+
}
|
|
691
735
|
}
|
|
692
736
|
setTimeout(() => this.categoriesPageScrollbar?.scanDomNode(), 50);
|
|
693
737
|
layoutRecentList();
|
|
694
738
|
};
|
|
695
739
|
const layoutRecentList = () => {
|
|
696
|
-
if (this.container.classList.contains('noWalkthroughs') && this.container.classList.contains('
|
|
740
|
+
if (this.container.classList.contains('noWalkthroughs') && this.container.classList.contains('noVideos')) {
|
|
697
741
|
recentList.setLimit(10);
|
|
698
742
|
reset(leftColumn, startList.getDomElement());
|
|
699
743
|
reset(rightColumn, recentList.getDomElement());
|
|
@@ -732,14 +776,14 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
732
776
|
this.buildTelemetryFooter(telemetryNotice);
|
|
733
777
|
footer.appendChild(telemetryNotice);
|
|
734
778
|
}
|
|
735
|
-
else if (!this.productService.openToWelcomeMainPage && !someStepsComplete && !this.hasScrolledToFirstCategory) {
|
|
779
|
+
else if (!this.productService.openToWelcomeMainPage && !someStepsComplete && !this.hasScrolledToFirstCategory && this.showFeaturedWalkthrough) {
|
|
736
780
|
const firstSessionDateString = this.storageService.get(firstSessionDateStorageKey, -1 ) || ( new Date()).toUTCString();
|
|
737
781
|
const daysSinceFirstSession = ((+( new Date())) - (+( new Date(firstSessionDateString)))) / 1000 / 60 / 60 / 24;
|
|
738
782
|
const fistContentBehaviour = daysSinceFirstSession < 1 ? 'openToFirstCategory' : 'index';
|
|
739
783
|
if (fistContentBehaviour === 'openToFirstCategory') {
|
|
740
784
|
const first = this.gettingStartedCategories.filter(c => !c.when || this.contextService.contextMatchesRules(c.when))[0];
|
|
741
|
-
this.hasScrolledToFirstCategory = true;
|
|
742
785
|
if (first) {
|
|
786
|
+
this.hasScrolledToFirstCategory = true;
|
|
743
787
|
this.currentWalkthrough = first;
|
|
744
788
|
this.editorInput.selectedCategory = this.currentWalkthrough?.id;
|
|
745
789
|
this.buildCategorySlide(this.editorInput.selectedCategory, undefined);
|
|
@@ -891,13 +935,13 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
891
935
|
}
|
|
892
936
|
const featuredBadge = $('.featured-badge', {});
|
|
893
937
|
const descriptionContent = $('.description-content', {});
|
|
894
|
-
if (category.isFeatured) {
|
|
938
|
+
if (category.isFeatured && this.showFeaturedWalkthrough) {
|
|
895
939
|
reset(featuredBadge, $('.featured', {}, $('span.featured-icon.codicon.codicon-star-full')));
|
|
896
940
|
reset(descriptionContent, ...renderLabelWithIcons(category.description));
|
|
897
941
|
}
|
|
898
942
|
const titleContent = $('h3.category-title.max-lines-3', { 'x-category-title-for': category.id });
|
|
899
943
|
reset(titleContent, ...renderLabelWithIcons(category.title));
|
|
900
|
-
return $('button.getting-started-category' + (category.isFeatured ? '.featured' : ''), {
|
|
944
|
+
return $('button.getting-started-category' + (category.isFeatured && this.showFeaturedWalkthrough ? '.featured' : ''), {
|
|
901
945
|
'x-dispatch': 'selectCategory:' + category.id,
|
|
902
946
|
'title': category.description
|
|
903
947
|
}, featuredBadge, $('.main-content', {}, this.iconWidgetFor(category), titleContent, renderNewBadge ? newBadge : $('.no-badge'), $('a.codicon.codicon-close.hide-category-button', {
|
|
@@ -967,6 +1011,70 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
967
1011
|
allWalkthroughsHiddenContext.bindTo(this.contextService).set(gettingStartedList.itemCount === 0);
|
|
968
1012
|
return gettingStartedList;
|
|
969
1013
|
}
|
|
1014
|
+
buildVideosList() {
|
|
1015
|
+
const renderFeaturedExtensions = (entry) => {
|
|
1016
|
+
const featuredBadge = $('.featured-badge', {});
|
|
1017
|
+
const descriptionContent = $('.description-content', {});
|
|
1018
|
+
reset(featuredBadge, $('.featured', {}, $('span.featured-icon.codicon.codicon-star-full')));
|
|
1019
|
+
reset(descriptionContent, ...renderLabelWithIcons(entry.description));
|
|
1020
|
+
const titleContent = $('h3.category-title.max-lines-3', { 'x-category-title-for': entry.id });
|
|
1021
|
+
reset(titleContent, ...renderLabelWithIcons(entry.title));
|
|
1022
|
+
return $('button.getting-started-category' + '.featured', {
|
|
1023
|
+
'x-dispatch': 'openLink:' + entry.command,
|
|
1024
|
+
'title': entry.title
|
|
1025
|
+
}, featuredBadge, $('.main-content', {}, this.iconWidgetFor(entry), titleContent, $('a.codicon.codicon-close.hide-category-button', {
|
|
1026
|
+
'tabindex': 0,
|
|
1027
|
+
'x-dispatch': 'hideVideos',
|
|
1028
|
+
'title': ( localizeWithPath(
|
|
1029
|
+
'vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted',
|
|
1030
|
+
'close',
|
|
1031
|
+
"Hide"
|
|
1032
|
+
)),
|
|
1033
|
+
'role': 'button',
|
|
1034
|
+
'aria-label': ( localizeWithPath(
|
|
1035
|
+
'vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted',
|
|
1036
|
+
'closeAriaLabel',
|
|
1037
|
+
"Hide"
|
|
1038
|
+
)),
|
|
1039
|
+
})), descriptionContent);
|
|
1040
|
+
};
|
|
1041
|
+
if (this.videoList) {
|
|
1042
|
+
this.videoList.dispose();
|
|
1043
|
+
}
|
|
1044
|
+
const videoList = this.videoList = ( new GettingStartedIndexList({
|
|
1045
|
+
title: ( localizeWithPath(
|
|
1046
|
+
'vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted',
|
|
1047
|
+
'videos',
|
|
1048
|
+
"Videos"
|
|
1049
|
+
)),
|
|
1050
|
+
klass: 'getting-started-videos',
|
|
1051
|
+
limit: 1,
|
|
1052
|
+
renderElement: renderFeaturedExtensions,
|
|
1053
|
+
contextService: this.contextService,
|
|
1054
|
+
}));
|
|
1055
|
+
if (( this.getHiddenCategories().has('getting-started-videos'))) {
|
|
1056
|
+
return videoList;
|
|
1057
|
+
}
|
|
1058
|
+
videoList.setEntries([{
|
|
1059
|
+
id: 'getting-started-videos',
|
|
1060
|
+
title: ( localizeWithPath(
|
|
1061
|
+
'vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted',
|
|
1062
|
+
'videos-title',
|
|
1063
|
+
'Watch Getting Started Tutorials'
|
|
1064
|
+
)),
|
|
1065
|
+
description: ( localizeWithPath(
|
|
1066
|
+
'vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted',
|
|
1067
|
+
'videos-description',
|
|
1068
|
+
'Learn VS Code\'s must-have features in short and practical videos'
|
|
1069
|
+
)),
|
|
1070
|
+
command: 'https://aka.ms/vscode-getting-started-tutorials',
|
|
1071
|
+
order: 0,
|
|
1072
|
+
icon: { type: 'icon', icon: Codicon.deviceCameraVideo },
|
|
1073
|
+
when: ContextKeyExpr.true(),
|
|
1074
|
+
}]);
|
|
1075
|
+
videoList.onDidChange(() => this.registerDispatchListeners());
|
|
1076
|
+
return videoList;
|
|
1077
|
+
}
|
|
970
1078
|
layout(size) {
|
|
971
1079
|
this.detailsScrollbar?.scanDomNode();
|
|
972
1080
|
this.categoriesPageScrollbar?.scanDomNode();
|
|
@@ -974,6 +1082,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
974
1082
|
this.startList?.layout(size);
|
|
975
1083
|
this.gettingStartedList?.layout(size);
|
|
976
1084
|
this.recentlyOpenedList?.layout(size);
|
|
1085
|
+
this.videoList?.layout(size);
|
|
977
1086
|
if (this.editorInput?.selectedStep && this.currentMediaType) {
|
|
978
1087
|
this.mediaDisposables.clear();
|
|
979
1088
|
this.stepDisposables.clear();
|
|
@@ -988,7 +1097,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
988
1097
|
this.detailsScrollbar?.scanDomNode();
|
|
989
1098
|
}
|
|
990
1099
|
updateCategoryProgress() {
|
|
991
|
-
|
|
1100
|
+
this.window.document.querySelectorAll('.category-progress').forEach(element => {
|
|
992
1101
|
const categoryID = element.getAttribute('x-data-category-id');
|
|
993
1102
|
const category = this.gettingStartedCategories.find(category => category.id === categoryID);
|
|
994
1103
|
if (!category) {
|
|
@@ -1034,7 +1143,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
1034
1143
|
this.editorInput.selectedCategory = categoryID;
|
|
1035
1144
|
this.editorInput.selectedStep = stepId;
|
|
1036
1145
|
this.currentWalkthrough = ourCategory;
|
|
1037
|
-
this.buildCategorySlide(categoryID);
|
|
1146
|
+
this.buildCategorySlide(categoryID, stepId);
|
|
1038
1147
|
this.setSlide('details');
|
|
1039
1148
|
});
|
|
1040
1149
|
}
|
|
@@ -1044,7 +1153,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
1044
1153
|
return widget;
|
|
1045
1154
|
}
|
|
1046
1155
|
focusSideEditorGroup() {
|
|
1047
|
-
const fullSize = this.
|
|
1156
|
+
const fullSize = this.groupsService.getPart(this.group).contentDimension;
|
|
1048
1157
|
if (!fullSize || fullSize.width <= 700) {
|
|
1049
1158
|
return;
|
|
1050
1159
|
}
|
|
@@ -1116,7 +1225,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
1116
1225
|
this.gettingStartedService.progressByEvent('onLink:' + href);
|
|
1117
1226
|
}
|
|
1118
1227
|
}
|
|
1119
|
-
|
|
1228
|
+
buildMarkdownDescription(container, text) {
|
|
1120
1229
|
while (container.firstChild) {
|
|
1121
1230
|
container.removeChild(container.firstChild);
|
|
1122
1231
|
}
|
|
@@ -1188,7 +1297,9 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
1188
1297
|
if (!category) {
|
|
1189
1298
|
throw Error('could not find category with ID ' + categoryID);
|
|
1190
1299
|
}
|
|
1191
|
-
const
|
|
1300
|
+
const descriptionContainer = $('.category-description.description.max-lines-3', { 'x-category-description-for': category.id });
|
|
1301
|
+
this.buildMarkdownDescription(descriptionContainer, parseDescription(category.description));
|
|
1302
|
+
const categoryDescriptorComponent = $('.getting-started-category', {}, $('.category-description-container', {}, $('h2.category-title.max-lines-3', { 'x-category-title-for': category.id }, ...renderLabelWithIcons(category.title)), descriptionContainer));
|
|
1192
1303
|
const stepListContainer = $('.step-list-container');
|
|
1193
1304
|
this.detailsPageDisposables.add(addDisposableListener(stepListContainer, 'keydown', (e) => {
|
|
1194
1305
|
const event = ( new StandardKeyboardEvent(e));
|
|
@@ -1226,7 +1337,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
1226
1337
|
'aria-checked': step.done ? 'true' : 'false'
|
|
1227
1338
|
});
|
|
1228
1339
|
const container = $('.step-description-container', { 'x-step-description-for': step.id });
|
|
1229
|
-
this.
|
|
1340
|
+
this.buildMarkdownDescription(container, step.description);
|
|
1230
1341
|
const stepTitle = $('h3.step-title.max-lines-3', { 'x-step-title-for': step.id });
|
|
1231
1342
|
reset(stepTitle, ...renderLabelWithIcons(step.title));
|
|
1232
1343
|
const stepDescription = $('.step-container', {}, stepTitle, container);
|
|
@@ -1372,29 +1483,30 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
1372
1483
|
}
|
|
1373
1484
|
};
|
|
1374
1485
|
GettingStartedPage = GettingStartedPage_1 = ( __decorate([
|
|
1375
|
-
( __param(
|
|
1376
|
-
( __param(
|
|
1377
|
-
( __param(
|
|
1378
|
-
( __param(
|
|
1379
|
-
( __param(
|
|
1380
|
-
( __param(
|
|
1381
|
-
( __param(
|
|
1382
|
-
( __param(
|
|
1383
|
-
( __param(
|
|
1384
|
-
( __param(
|
|
1385
|
-
( __param(
|
|
1386
|
-
( __param(
|
|
1387
|
-
( __param(
|
|
1388
|
-
( __param(
|
|
1389
|
-
( __param(
|
|
1390
|
-
( __param(
|
|
1391
|
-
( __param(
|
|
1392
|
-
( __param(
|
|
1393
|
-
( __param(
|
|
1394
|
-
( __param(
|
|
1395
|
-
( __param(
|
|
1396
|
-
( __param(
|
|
1397
|
-
( __param(
|
|
1486
|
+
( __param(1, ICommandService)),
|
|
1487
|
+
( __param(2, IProductService)),
|
|
1488
|
+
( __param(3, IKeybindingService)),
|
|
1489
|
+
( __param(4, IWalkthroughsService)),
|
|
1490
|
+
( __param(5, IConfigurationService)),
|
|
1491
|
+
( __param(6, ITelemetryService)),
|
|
1492
|
+
( __param(7, ILanguageService)),
|
|
1493
|
+
( __param(8, IFileService)),
|
|
1494
|
+
( __param(9, IOpenerService)),
|
|
1495
|
+
( __param(10, IThemeService)),
|
|
1496
|
+
( __param(11, IStorageService)),
|
|
1497
|
+
( __param(12, IExtensionService)),
|
|
1498
|
+
( __param(13, IInstantiationService)),
|
|
1499
|
+
( __param(14, INotificationService)),
|
|
1500
|
+
( __param(15, IEditorGroupsService)),
|
|
1501
|
+
( __param(16, IContextKeyService)),
|
|
1502
|
+
( __param(17, IQuickInputService)),
|
|
1503
|
+
( __param(18, IWorkspacesService)),
|
|
1504
|
+
( __param(19, ILabelService)),
|
|
1505
|
+
( __param(20, IHostService)),
|
|
1506
|
+
( __param(21, IWebviewService)),
|
|
1507
|
+
( __param(22, IWorkspaceContextService)),
|
|
1508
|
+
( __param(23, IAccessibilityService)),
|
|
1509
|
+
( __param(24, IWorkbenchAssignmentService))
|
|
1398
1510
|
], GettingStartedPage));
|
|
1399
1511
|
class GettingStartedInputSerializer {
|
|
1400
1512
|
canSerialize(editorInput) {
|
package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedColors.js
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import { registerColor,
|
|
1
|
+
import { registerColor, lighten, darken } from 'vscode/vscode/vs/platform/theme/common/colorUtils';
|
|
2
|
+
import { contrastBorder, textLinkForeground } from 'vscode/vscode/vs/platform/theme/common/colors/baseColors';
|
|
3
|
+
import 'vscode/vscode/vs/platform/theme/common/colors/chartsColors';
|
|
4
|
+
import { editorWidgetBackground } from 'vscode/vscode/vs/platform/theme/common/colors/editorColors';
|
|
5
|
+
import { inputBackground } from 'vscode/vscode/vs/platform/theme/common/colors/inputColors';
|
|
6
|
+
import 'vscode/vscode/vs/platform/theme/common/colors/listColors';
|
|
7
|
+
import 'vscode/vscode/vs/platform/theme/common/colors/menuColors';
|
|
8
|
+
import 'vscode/vscode/vs/platform/theme/common/colors/minimapColors';
|
|
9
|
+
import 'vscode/vscode/vs/platform/theme/common/colors/miscColors';
|
|
10
|
+
import 'vscode/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
11
|
+
import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
|
|
2
12
|
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
3
13
|
|
|
4
14
|
registerColor('welcomePage.background', { light: null, dark: null, hcDark: null, hcLight: null }, ( localizeWithPath(
|
package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/media/gettingStarted.css.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import n from '../../../../../../../../external/rollup-plugin-styles/dist/runtime/inject-css.js';
|
|
2
2
|
|
|
3
|
-
var css = ".file-icons-enabled .show-file-icons .vscode_getting_started_page-name-file-icon.file-icon:before{background-image:url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGQ9Ik0xMDI0IDEwMjRIMFYwaDEwMjR2MTAyNHoiIHN0eWxlPSJmaWxsOiNmNmY2ZjY7ZmlsbC1vcGFjaXR5OjAiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNMTAyNCA4NS4zMzN2ODUzLjMzM0gwVjg1LjMzM2gxMDI0eiIgc3R5bGU9ImZpbGw6I2ZmZiIvPjxwYXRoIGQ9Ik0wIDg1LjMzM2gyOTguNjY3djg1My4zMzNIMFY4NS4zMzN6bTEwMjQgMHY4NTMuMzMzSDM4NFY4NS4zMzNoNjQwem0tNTU0LjY2NyAxNjBoMzQxLjMzM3YtNjRINDY5LjMzM3Y2NHptMzQxLjMzNCA1MzMuMzM0SDQ2OS4zMzN2NjRoMzQxLjMzM2wuMDAxLTY0em0xMjgtMTQ5LjMzNEg1OTcuMzMzdjY0aDM0MS4zMzNsLjAwMS02NHptMC0xNDkuMzMzSDU5Ny4zMzN2NjRoMzQxLjMzM2wuMDAxLTY0em0wLTE0OS4zMzNINTk3LjMzM3Y2NGgzNDEuMzMzbC4wMDEtNjR6IiBzdHlsZT0iZmlsbDojMTY3YWJmIi8+PC9zdmc+\");content:\" \"}.monaco-workbench .part.editor>.content .gettingStartedContainer{box-sizing:border-box;height:inherit;line-height:22px;outline:none;overflow:hidden;position:relative;user-select:auto;-webkit-user-select:initial;width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer.loading{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer img{max-height:100%;max-width:100%;object-fit:contain;pointer-events:none}.monaco-workbench .part.editor>.content .gettingStartedContainer{font-size:13px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStarted{height:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer h1{border:none;font-size:2.7em;font-weight:400;margin:0;padding:5px 0 0;white-space:nowrap}.monaco-workbench .part.editor>.content .gettingStartedContainer .title{flex:1 100%;margin-bottom:1em;margin-top:1em}.monaco-workbench .part.editor>.content .gettingStartedContainer .subtitle{display:block;font-size:2em;margin-top:.6em}.monaco-workbench.hc-black .part.editor>.content .gettingStartedContainer .subtitle,.monaco-workbench.hc-light .part.editor>.content .gettingStartedContainer .subtitle{font-weight:200}.monaco-workbench .part.editor>.content .gettingStartedContainer h2{font-size:1.5em;font-weight:400;line-height:normal;margin-bottom:5px;margin-top:0}.monaco-workbench .part.editor>.content .gettingStartedContainer a:focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide{box-sizing:border-box;height:100%;left:0;padding:0;position:absolute;top:0;width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories{padding:12px 24px}.monaco-workbench .part.editor>.content .gettingStartedContainer.animatable .gettingStartedSlide{transition:left .25s,opacity .25s}.monaco-workbench.reduce-motion .part.editor>.content .gettingStartedContainer .gettingStartedSlide,.monaco-workbench.reduce-motion .part.editor>.content .gettingStartedContainer.animatable .gettingStartedSlide{transition:left 0s,opacity 0s}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer{display:grid;grid-template-areas:\". header header header .\" \". left-column . right-column .\" \". footer footer footer .\";grid-template-columns:1fr 6fr 1fr 6fr 1fr;grid-template-rows:25% minmax(min-content,auto) min-content;height:100%;margin:0 auto;max-width:1200px}.monaco-workbench .part.editor>.content .gettingStartedContainer.width-constrained .gettingStartedSlideCategories>.gettingStartedCategoriesContainer{grid-template-areas:\"header\" \"left-column\" \"right-column\" \"footer\";grid-template-columns:1fr;grid-template-rows:auto min-content minmax(min-content,auto) min-content}.monaco-workbench .part.editor>.content .gettingStartedContainer.height-constrained .gettingStartedSlideCategories>.gettingStartedCategoriesContainer{grid-template-areas:\"header\" \"left-column right-column\" \"footer footer\";grid-template-rows:auto minmax(min-content,auto) min-content}.monaco-workbench .part.editor>.content .gettingStartedContainer.height-constrained.width-constrained .gettingStartedSlideCategories>.gettingStartedCategoriesContainer{grid-template-areas:\"left-column\" \"right-column\" \"footer\";grid-template-columns:1fr;grid-template-rows:min-content minmax(min-content,auto) min-content}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories li.showWalkthroughsEntry,.monaco-workbench .part.editor>.content .gettingStartedContainer.height-constrained .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.header,.monaco-workbench .part.editor>.content .gettingStartedContainer.width-constrained .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.header{display:none}.gettingStartedContainer.noExtensions,.monaco-workbench .part.editor>.content .gettingStartedContainer.noWalkthroughs .gettingStartedSlideCategories li.showWalkthroughsEntry{display:unset}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>*{overflow:hidden;text-overflow:ellipsis}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.categories-column>div{margin-bottom:32px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.categories-column-left{grid-area:left-column}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.categories-column-right{grid-area:right-column}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.header{align-self:end;grid-area:header}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.footer{grid-area:footer;justify-self:center;text-align:center}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .categories-slide-container{max-width:1200px;width:90%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .gap{flex:150px 0 1000}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .category-title{display:inline-block;font-size:14px;font-weight:500;margin:4px 0;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .category-progress{bottom:0;left:0;position:absolute;width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category.no-progress{padding:3px 6px}.monaco-workbench .part.editor>.content .gettingStartedContainer .getting-started-category.no-progress .category-progress{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories ul{line-height:24px;list-style:none;margin:0;padding-left:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories li{list-style:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .path{padding-left:1em}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .featured-icon,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .icon-widget,.monaco-workbench .part.editor>.content .gettingStartedContainer .icon-widget{font-size:20px;padding-right:8px;position:relative;top:3px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .codicon:not(.icon-widget,.featured-icon,.hide-category-button){margin:0 2px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .codicon:first-child{margin-left:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .start-container img{max-height:16px;max-width:16px;padding-right:8px;position:relative;top:3px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .keybinding-label{padding-left:1em}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .progress-bar-outer{height:4px;margin-top:4px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .progress-bar-inner{height:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category{box-sizing:border-box;font-size:13px;line-height:normal;margin:8px 8px 8px 0;padding:3px 6px 6px;text-align:left;width:calc(100% - 16px)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .getting-started-category{border-radius:6px;overflow:hidden;position:relative}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .main-content{align-items:center;display:flex;justify-content:flex-start;width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .description-content{margin-left:28px;text-align:left}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .description-content>.codicon{font-size:16px;padding-right:1px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .description-content:not(:empty){margin-bottom:8px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .new-badge{align-self:flex-start;border-radius:4px;font-size:11px;justify-self:flex-end;margin:4px;padding:2px 4px;white-space:nowrap}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .featured-badge{left:-8px;position:relative;top:-4px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .featured{border-right:40px solid transparent;border-top:30px solid var(--vscode-activityBarBadge-background);box-sizing:border-box;height:20px;position:absolute;width:30px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .featured .featured-icon{font-size:14px;left:4px;top:-30px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .codicon.hide-category-button{margin-left:auto;right:8px;top:4px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category.featured .icon-widget{visibility:hidden}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .getting-started-category img.category-icon{max-height:20px;max-width:20px;padding-right:8px;position:relative;top:auto}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .getting-started-category img.featured-icon{border-radius:4px;max-height:24px;max-width:24px;padding-right:8px;position:relative;top:auto}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-category img.category-icon{margin-left:10px;margin-right:10px;max-height:32px;max-width:32px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails{display:flex;flex-direction:column;overflow:hidden}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gap{flex:150px 0 1000}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-category{display:flex;margin-bottom:24px;min-height:auto}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-columns .gap{flex:150px 1 1000}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.getting-started-category>.codicon-getting-started-setup{font-size:28px;margin-right:8px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-columns{display:flex;justify-content:flex-start;max-height:calc(100% - 40px);padding:40px 40px 0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step{border-radius:6px;display:flex;overflow:hidden;width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .button-container:not(:last-of-type){margin-bottom:6px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step.expanded{border:1px solid var(--vscode-welcomePage-tileBorder);cursor:default!important}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step.expanded h3{color:var(--vscode-walkthrough-stepTitle-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step.expanded>.codicon{cursor:pointer!important}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step:not(.expanded){background:none;color:var(--vscode-descriptionForeground);height:48px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step:not(.expanded):hover{background:var(--vscode-welcomePage-tileHoverBackground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step:not(.expanded) .step-title{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:inherit}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-title .codicon{position:relative;top:2px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-columns .getting-started-detail-left>div{width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step:not(.expanded) .step-description-container{visibility:hidden}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-container{width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-description{padding-top:8px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .actions{align-items:center;display:flex;margin-top:12px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .shortcut-message{color:var(--vscode-descriptionForeground);display:flex;font-size:12px;margin-top:12px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .shortcut-message .keybinding{font-weight:600}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-next{margin-left:auto;margin-right:10px;padding:6px 12px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .codicon.hidden{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .codicon-getting-started-step-checked,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .codicon-getting-started-step-unchecked{margin-right:8px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step-action{font-size:13px;margin-bottom:0;padding:6px 12px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-left{display:flex;flex-direction:column;max-width:400px;min-width:330px;width:40%}.monaco-workbench .part.editor>.content .gettingStartedContainer .full-height-scrollable,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-container{height:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent{display:grid;grid-template-areas:\". back . media .\" \". title . media .\" \". steps . media .\" \". . . media .\" \". footer footer footer .\";grid-template-columns:1fr 5fr 1fr 8fr;grid-template-rows:calc(25% - 100px) auto auto 1fr auto;height:100%;margin:0 auto;max-width:1200px;padding:0 32px}.monaco-workbench .part.editor>.content .gettingStartedContainer.width-semi-constrained .gettingStartedSlideDetails .gettingStartedDetailsContent{grid-template-areas:\"back\" \"title\" \"steps\" \"media\" \"footer\";grid-template-columns:auto;grid-template-rows:30px max-content minmax(30%,max-content) minmax(30%,1fr) auto;max-width:500px;row-gap:4px}.monaco-workbench .part.editor>.content .gettingStartedContainer.width-semi-constrained .gettingStartedSlideDetails .gettingStartedDetailsContent.markdown{grid-template-rows:30px max-content minmax(30%,max-content) minmax(40%,1fr) auto}.monaco-workbench .part.editor>.content .gettingStartedContainer.width-semi-constrained.height-constrained .gettingStartedSlideDetails .gettingStartedDetailsContent{grid-template-rows:0 max-content minmax(25%,max-content) minmax(25%,1fr) auto}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.prev-button{grid-area:back}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.getting-started-category{align-self:flex-end;grid-area:title}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.steps-container{grid-area:steps;height:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.getting-started-media{align-self:center;grid-area:media}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent.markdown>.getting-started-media{height:inherit}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent.image>.getting-started-media{align-self:unset;display:flex;grid-area:title-start/media-start/steps-end/media-end;justify-content:center}.monaco-workbench .part.editor>.content .gettingStartedContainer.width-semi-constrained .gettingStartedSlideDetails .gettingStartedDetailsContent.image>.getting-started-media{display:flex;grid-area:media;height:inherit;justify-content:center;width:inherit}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.getting-started-footer{align-self:flex-end;grid-area:footer;justify-self:center;text-align:center}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-right{align-items:flex-start;display:flex;justify-content:center;max-width:800px;min-height:300px;min-width:400px;padding:0 0 20px 44px;width:66%}.monaco-workbench .part.editor>.content .gettingStartedContainer .index-list.getting-started .button-link{margin:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .index-list.getting-started .see-all-walkthroughs{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer.someWalkthroughsHidden .index-list.getting-started .see-all-walkthroughs{display:inline}.monaco-workbench .part.editor>.content .gettingStartedContainer.noWalkthroughs .index-list.getting-started{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-right img{cursor:unset;object-fit:contain}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-right img.clickable{cursor:pointer}.monaco-workbench .part.editor>.content .gettingStartedContainer button{border:none;color:inherit;font-family:inherit;font-size:13px;margin:1px 0;padding:16px;text-align:left}.monaco-workbench .part.editor>.content .gettingStartedContainer button:hover{cursor:pointer}.monaco-workbench .part.editor>.content .gettingStartedContainer button:focus{outline:none}.monaco-workbench .part.editor>.content .gettingStartedContainer button:focus-visible{outline:1px solid var(--vscode-focusBorder);outline-offset:-1px}.monaco-workbench .part.editor>.content .gettingStartedContainer .prev-button.button-link{display:none;left:40px;margin:10px;padding:0 2px 2px;position:absolute;top:5px;z-index:1}.monaco-workbench .part.editor>.content .gettingStartedContainer.height-constrained .prev-button.button-link,.monaco-workbench .part.editor>.content .gettingStartedContainer.width-semi-constrained .prev-button.button-link{left:0;top:-10px}.monaco-workbench .part.editor>.content .gettingStartedContainer.height-constrained .prev-button.button-link .codicon{font-size:20px}.monaco-workbench .part.editor>.content .gettingStartedContainer.height-constrained .prev-button.button-link .moreText{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer .prev-button:hover{cursor:pointer}.monaco-workbench .part.editor>.content .gettingStartedContainer .prev-button .codicon{left:-4px;position:relative;top:3px}.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link .codicon-arrow-right{padding-left:4px}.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link .codicon-check-all{padding-right:4px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .skip{display:block;margin:2px auto;text-align:center;width:fit-content}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails h2{font-size:26px;font-weight:400;margin:0 0 8px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails h2 .codicon{font-size:20px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails h3{font-size:13px;font-weight:600;margin:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .subtitle{font-size:16px;margin:0;padding:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStarted.showCategories .gettingStartedSlideDetails{left:100%;opacity:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStarted.showDetails .gettingStartedSlideCategories{left:-100%;opacity:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStarted.showDetails .categoriesScrollbar .scrollbar.vertical{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer .done-next-container{display:flex;padding:16px}.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link{background:transparent;cursor:pointer;margin:2px;max-width:100%;overflow:hidden;padding:0;text-overflow:ellipsis}.monaco-workbench .part.editor>.content .gettingStartedContainer .done-next-container .button-link{align-items:center;display:flex}.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link.next{margin-left:auto}.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link:hover{background:transparent}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .openAWalkthrough>button,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .showOnStartup{align-items:center;display:flex;gap:8px;justify-content:center;text-align:center}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-checkbox{border:1px solid transparent;border-radius:3px;color:inherit!important;height:18px;margin-right:9px;padding:0;width:18px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-checkbox.codicon:not(.checked):before{opacity:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.footer p{margin:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer .index-list.start-container{margin-bottom:16px;min-height:156px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.footer>button{text-align:center}.monaco-workbench .part.editor>.content .gettingStartedContainer .getting-started-category .codicon{top:0}.monaco-workbench .part.editor>.content .getting-started-category .codicon-star-full:before{vertical-align:middle}.monaco-workbench .part.editor>.content .gettingStartedContainer .hide-category-button{visibility:hidden}.monaco-workbench .part.editor>.content .gettingStartedContainer .getting-started-category:focus-within .hide-category-button,.monaco-workbench .part.editor>.content .gettingStartedContainer .getting-started-category:hover .hide-category-button{visibility:visible}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-description-container span{line-height:1.3em}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-description-container .monaco-button,.monaco-workbench .part.editor>.content .gettingStartedContainer .max-lines-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-description-container .monaco-button{align-items:center;display:flex;height:24px;min-width:max-content;padding:0 11px;width:fit-content}.monaco-workbench .part.editor>.content .gettingStartedContainer .hide-category-button{border-radius:5px;padding:3px}.monaco-workbench .part.editor>.content .gettingStartedContainer .hide-category-button:before{vertical-align:unset}.monaco-workbench .part.editor>.content .gettingStartedContainer .hide-category-button:hover{background-color:var(--vscode-toolbar-hoverBackground)}.monaco-workbench .part.editor>.content .gettingStartedContainer{background:var(--vscode-welcomePage-background);color:var(--vscode-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .description{color:var(--vscode-descriptionForeground);line-height:1.4em}.monaco-workbench .part.editor>.content .gettingStartedContainer .category-progress .message,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.getting-started-footer{color:var(--vscode-descriptionForeground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .codicon-getting-started-step-checked,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step.expanded .codicon-getting-started-step-unchecked,.monaco-workbench .part.editor>.content .gettingStartedContainer .icon-widget{color:var(--vscode-textLink-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer button{background:var(--vscode-welcomePage-tileBackground)}.monaco-workbench .part.editor>.content .gettingStartedContainer button:hover{background:var(--vscode-welcomePage-tileHoverBackground);outline-color:var(--vscode-contrastActiveBorder,var(--vscode-focusBorder))}.monaco-workbench .part.editor>.content .gettingStartedContainer button.expanded:hover{background:var(--vscode-welcomePage-tileBackground)}.monaco-workbench .part.editor>.content .gettingStartedContainer button.emphasis{background:var(--vscode-button-background);color:var(--vscode-button-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .codicon-getting-started-step-unchecked{color:var(--vscode-descriptionForeground)}.monaco-workbench .part.editor>.content .gettingStartedContainer button.emphasis:hover{background:var(--vscode-button-hoverBackground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link,.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link .codicon,.monaco-workbench .part.editor>.content .gettingStartedContainer a:not(.hide-category-button){color:var(--vscode-textLink-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer a:not(.hide-category-button):active,.monaco-workbench .part.editor>.content .gettingStartedContainer a:not(.hide-category-button):hover,.monaco-workbench .part.editor>.content .gettingStartedContainer button.button-link:hover,.monaco-workbench .part.editor>.content .gettingStartedContainer button.button-link:hover .codicon{color:var(--vscode-textLink-activeForeground)}.monaco-workbench .part.editor>.content .gettingStartedContainer a:not(.codicon-close):focus{outline-color:var(--vscode-focusBorder)}.monaco-workbench .part.editor>.content .gettingStartedContainer button{border:1px solid var(--vscode-contrastBorder)}.monaco-workbench .part.editor>.content .gettingStartedContainer button.button-link{border:inherit}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .progress-bar-outer{background-color:var(--vscode-welcomePage-progress-background)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .progress-bar-inner{background-color:var(--vscode-welcomePage-progress-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .featured .featured-icon,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .new-badge{color:var(--vscode-activityBarBadge-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .new-badge{background-color:var(--vscode-activityBarBadge-background)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-checkbox{background-color:var(--vscode-checkbox-background)!important;border-color:var(--vscode-checkbox-border)!important;color:var(--vscode-checkbox-foreground)!important}";
|
|
3
|
+
var css = ".file-icons-enabled .show-file-icons .vscode_getting_started_page-name-file-icon.file-icon:before{background-image:url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGQ9Ik0xMDI0IDEwMjRIMFYwaDEwMjR2MTAyNHoiIHN0eWxlPSJmaWxsOiNmNmY2ZjY7ZmlsbC1vcGFjaXR5OjAiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNMTAyNCA4NS4zMzN2ODUzLjMzM0gwVjg1LjMzM2gxMDI0eiIgc3R5bGU9ImZpbGw6I2ZmZiIvPjxwYXRoIGQ9Ik0wIDg1LjMzM2gyOTguNjY3djg1My4zMzNIMFY4NS4zMzN6bTEwMjQgMHY4NTMuMzMzSDM4NFY4NS4zMzNoNjQwem0tNTU0LjY2NyAxNjBoMzQxLjMzM3YtNjRINDY5LjMzM3Y2NHptMzQxLjMzNCA1MzMuMzM0SDQ2OS4zMzN2NjRoMzQxLjMzM2wuMDAxLTY0em0xMjgtMTQ5LjMzNEg1OTcuMzMzdjY0aDM0MS4zMzNsLjAwMS02NHptMC0xNDkuMzMzSDU5Ny4zMzN2NjRoMzQxLjMzM2wuMDAxLTY0em0wLTE0OS4zMzNINTk3LjMzM3Y2NGgzNDEuMzMzbC4wMDEtNjR6IiBzdHlsZT0iZmlsbDojMTY3YWJmIi8+PC9zdmc+\");content:\" \"}.monaco-workbench .part.editor>.content .gettingStartedContainer{box-sizing:border-box;height:inherit;line-height:22px;outline:none;overflow:hidden;position:relative;user-select:auto;-webkit-user-select:initial;width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer.loading{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer img{max-height:100%;max-width:100%;object-fit:contain;pointer-events:none}.monaco-workbench .part.editor>.content .gettingStartedContainer{font-size:13px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStarted{height:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer h1{border:none;font-size:2.7em;font-weight:400;margin:0;padding:5px 0 0;white-space:nowrap}.monaco-workbench .part.editor>.content .gettingStartedContainer .title{flex:1 100%;margin-bottom:1em;margin-top:1em}.monaco-workbench .part.editor>.content .gettingStartedContainer .subtitle{display:block;font-size:2em;margin-top:.6em}.monaco-workbench.hc-black .part.editor>.content .gettingStartedContainer .subtitle,.monaco-workbench.hc-light .part.editor>.content .gettingStartedContainer .subtitle{font-weight:200}.monaco-workbench .part.editor>.content .gettingStartedContainer h2{font-size:1.5em;font-weight:400;line-height:normal;margin-bottom:5px;margin-top:0}.monaco-workbench .part.editor>.content .gettingStartedContainer a:focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide{box-sizing:border-box;height:100%;left:0;padding:0;position:absolute;top:0;width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories{padding:12px 24px}.monaco-workbench .part.editor>.content .gettingStartedContainer.animatable .gettingStartedSlide{transition:left .25s,opacity .25s}.monaco-workbench.reduce-motion .part.editor>.content .gettingStartedContainer .gettingStartedSlide,.monaco-workbench.reduce-motion .part.editor>.content .gettingStartedContainer.animatable .gettingStartedSlide{transition:left 0s,opacity 0s}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer{display:grid;grid-template-areas:\". header header header .\" \". left-column . right-column .\" \". footer footer footer .\";grid-template-columns:1fr 6fr 1fr 6fr 1fr;grid-template-rows:25% minmax(min-content,auto) min-content;height:100%;margin:0 auto;max-width:1200px}.monaco-workbench .part.editor>.content .gettingStartedContainer.width-constrained .gettingStartedSlideCategories>.gettingStartedCategoriesContainer{grid-template-areas:\"header\" \"left-column\" \"right-column\" \"footer\";grid-template-columns:1fr;grid-template-rows:auto min-content minmax(min-content,auto) min-content}.monaco-workbench .part.editor>.content .gettingStartedContainer.height-constrained .gettingStartedSlideCategories>.gettingStartedCategoriesContainer{grid-template-areas:\"header\" \"left-column right-column\" \"footer footer\";grid-template-rows:auto minmax(min-content,auto) min-content}.monaco-workbench .part.editor>.content .gettingStartedContainer.height-constrained.width-constrained .gettingStartedSlideCategories>.gettingStartedCategoriesContainer{grid-template-areas:\"left-column\" \"right-column\" \"footer\";grid-template-columns:1fr;grid-template-rows:min-content minmax(min-content,auto) min-content}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories li.showWalkthroughsEntry,.monaco-workbench .part.editor>.content .gettingStartedContainer.height-constrained .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.header,.monaco-workbench .part.editor>.content .gettingStartedContainer.width-constrained .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.header{display:none}.gettingStartedContainer.noExtensions,.monaco-workbench .part.editor>.content .gettingStartedContainer.noWalkthroughs .gettingStartedSlideCategories li.showWalkthroughsEntry{display:unset}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>*{overflow:hidden;text-overflow:ellipsis}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.categories-column>div{margin-bottom:32px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.categories-column-left{grid-area:left-column}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.categories-column-right{grid-area:right-column}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.header{align-self:end;grid-area:header}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.footer{grid-area:footer;justify-self:center;text-align:center}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .categories-slide-container{max-width:1200px;width:90%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .gap{flex:150px 0 1000}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .category-title{display:inline-block;font-size:14px;font-weight:500;margin:4px 0;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .category-progress{bottom:0;left:0;position:absolute;width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category.no-progress{padding:3px 6px}.monaco-workbench .part.editor>.content .gettingStartedContainer .getting-started-category.no-progress .category-progress{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories ul{line-height:24px;list-style:none;margin:0;padding-left:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories li{list-style:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .path{padding-left:1em}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .featured-icon,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .icon-widget:not(.codicon-device-camera-video),.monaco-workbench .part.editor>.content .gettingStartedContainer .icon-widget{font-size:20px;padding-right:8px;position:relative;top:3px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .icon-widget.codicon-device-camera-video{font-size:20px;padding-right:8px;position:relative;transform:translateY(100%)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .codicon:not(.icon-widget,.featured-icon,.hide-category-button){margin:0 2px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .codicon:first-child{margin-left:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .start-container img{max-height:16px;max-width:16px;padding-right:8px;position:relative;top:3px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .keybinding-label{padding-left:1em}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .progress-bar-outer{height:4px;margin-top:4px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .progress-bar-inner{height:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category{box-sizing:border-box;font-size:13px;line-height:normal;margin:8px 8px 8px 0;padding:3px 6px 6px;text-align:left;width:calc(100% - 16px)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .getting-started-category{border-radius:6px;overflow:hidden;position:relative}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .main-content{align-items:center;display:flex;justify-content:flex-start;width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .description-content{margin-left:28px;text-align:left}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .description-content>.codicon{font-size:16px;padding-right:1px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .description-content:not(:empty){margin-bottom:8px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .new-badge{align-self:flex-start;border-radius:4px;font-size:11px;justify-self:flex-end;margin:4px;padding:2px 4px;white-space:nowrap}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .featured-badge{left:-8px;position:relative;top:-4px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .featured{border-right:40px solid transparent;border-top:30px solid var(--vscode-activityBarBadge-background);box-sizing:border-box;height:20px;position:absolute;width:30px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .featured .featured-icon{font-size:14px;left:4px;top:-30px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .codicon.hide-category-button{margin-left:auto;right:8px;top:4px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category.featured .icon-widget:not(.codicon-device-camera-video){visibility:hidden}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .getting-started-category img.category-icon{max-height:20px;max-width:20px;padding-right:8px;position:relative;top:auto}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .getting-started-category img.featured-icon{border-radius:4px;max-height:24px;max-width:24px;padding-right:8px;position:relative;top:auto}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-category img.category-icon{margin-left:10px;margin-right:10px;max-height:32px;max-width:32px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails{display:flex;flex-direction:column;overflow:hidden}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gap{flex:150px 0 1000}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-category{display:flex;margin-bottom:24px;min-height:auto}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-columns .gap{flex:150px 1 1000}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.getting-started-category>.codicon-getting-started-setup{font-size:28px;margin-right:8px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-columns{display:flex;justify-content:flex-start;max-height:calc(100% - 40px);padding:40px 40px 0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step{border-radius:6px;display:flex;overflow:hidden;width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .button-container:not(:last-of-type){margin-bottom:6px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step.expanded{border:1px solid var(--vscode-welcomePage-tileBorder);cursor:default!important}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step.expanded h3{color:var(--vscode-walkthrough-stepTitle-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step.expanded>.codicon{cursor:pointer!important}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step:not(.expanded){background:none;color:var(--vscode-descriptionForeground);height:48px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step:not(.expanded):hover{background:var(--vscode-welcomePage-tileHoverBackground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step:not(.expanded) .step-title{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:inherit}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-title .codicon{position:relative;top:2px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-columns .getting-started-detail-left>div{width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step:not(.expanded) .step-description-container{visibility:hidden}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-container{width:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-description{padding-top:8px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .actions{align-items:center;display:flex;margin-top:12px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .shortcut-message{color:var(--vscode-descriptionForeground);display:flex;font-size:12px;margin-top:12px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .shortcut-message .keybinding{font-weight:600}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-next{margin-left:auto;margin-right:10px;padding:6px 12px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .codicon.hidden{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .codicon-getting-started-step-checked,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .codicon-getting-started-step-unchecked{margin-right:8px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step-action{font-size:13px;margin-bottom:0;padding:6px 12px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-left{display:flex;flex-direction:column;max-width:400px;min-width:330px;width:40%}.monaco-workbench .part.editor>.content .gettingStartedContainer .full-height-scrollable,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-container{height:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent{display:grid;grid-template-areas:\". back . media .\" \". title . media .\" \". steps . media .\" \". . . media .\" \". footer footer footer .\";grid-template-columns:1fr 5fr 1fr 8fr;grid-template-rows:calc(25% - 100px) auto auto 1fr auto;height:100%;margin:0 auto;max-width:1200px;padding:0 32px}.monaco-workbench .part.editor>.content .gettingStartedContainer.width-semi-constrained .gettingStartedSlideDetails .gettingStartedDetailsContent{grid-template-areas:\"back\" \"title\" \"steps\" \"media\" \"footer\";grid-template-columns:auto;grid-template-rows:30px max-content minmax(30%,max-content) minmax(30%,1fr) auto;max-width:500px;row-gap:4px}.monaco-workbench .part.editor>.content .gettingStartedContainer.width-semi-constrained .gettingStartedSlideDetails .gettingStartedDetailsContent.markdown{grid-template-rows:30px max-content minmax(30%,max-content) minmax(40%,1fr) auto}.monaco-workbench .part.editor>.content .gettingStartedContainer.width-semi-constrained.height-constrained .gettingStartedSlideDetails .gettingStartedDetailsContent{grid-template-rows:0 max-content minmax(25%,max-content) minmax(25%,1fr) auto}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.prev-button{grid-area:back}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.getting-started-category{align-self:flex-end;grid-area:title}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.steps-container{grid-area:steps;height:100%}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.getting-started-media{align-self:center;grid-area:media}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent.markdown>.getting-started-media{height:inherit}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent.image>.getting-started-media{align-self:unset;display:flex;grid-area:title-start/media-start/steps-end/media-end;justify-content:center}.monaco-workbench .part.editor>.content .gettingStartedContainer.width-semi-constrained .gettingStartedSlideDetails .gettingStartedDetailsContent.image>.getting-started-media{display:flex;grid-area:media;height:inherit;justify-content:center;width:inherit}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.getting-started-footer{align-self:flex-end;grid-area:footer;justify-self:center;text-align:center}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-right{align-items:flex-start;display:flex;justify-content:center;max-width:800px;min-height:300px;min-width:400px;padding:0 0 20px 44px;width:66%}.monaco-workbench .part.editor>.content .gettingStartedContainer .index-list.getting-started .button-link{margin:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .index-list.getting-started .see-all-walkthroughs{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer.someWalkthroughsHidden .index-list.getting-started .see-all-walkthroughs{display:inline}.monaco-workbench .part.editor>.content .gettingStartedContainer.noWalkthroughs .index-list.getting-started{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-right img{cursor:unset;object-fit:contain}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-detail-right img.clickable{cursor:pointer}.monaco-workbench .part.editor>.content .gettingStartedContainer button{border:none;color:inherit;font-family:inherit;font-size:13px;margin:1px 0;padding:16px;text-align:left}.monaco-workbench .part.editor>.content .gettingStartedContainer button:hover{cursor:pointer}.monaco-workbench .part.editor>.content .gettingStartedContainer button:focus{outline:none}.monaco-workbench .part.editor>.content .gettingStartedContainer button:focus-visible{outline:1px solid var(--vscode-focusBorder);outline-offset:-1px}.monaco-workbench .part.editor>.content .gettingStartedContainer .prev-button.button-link{display:none;left:40px;margin:10px;padding:0 2px 2px;position:absolute;top:5px;z-index:1}.monaco-workbench .part.editor>.content .gettingStartedContainer.height-constrained .prev-button.button-link,.monaco-workbench .part.editor>.content .gettingStartedContainer.width-semi-constrained .prev-button.button-link{left:0;top:-10px}.monaco-workbench .part.editor>.content .gettingStartedContainer.height-constrained .prev-button.button-link .codicon{font-size:20px}.monaco-workbench .part.editor>.content .gettingStartedContainer.height-constrained .prev-button.button-link .moreText{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer .prev-button:hover{cursor:pointer}.monaco-workbench .part.editor>.content .gettingStartedContainer .prev-button .codicon{left:-4px;position:relative;top:3px}.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link .codicon-arrow-right{padding-left:4px}.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link .codicon-check-all{padding-right:4px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .skip{display:block;margin:2px auto;text-align:center;width:fit-content}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails h2{font-size:26px;font-weight:400;margin:0 0 8px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails h2 .codicon{font-size:20px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails h3{font-size:13px;font-weight:600;margin:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .subtitle{font-size:16px;margin:0;padding:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStarted.showCategories .gettingStartedSlideDetails{left:100%;opacity:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStarted.showDetails .gettingStartedSlideCategories{left:-100%;opacity:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStarted.showDetails .categoriesScrollbar .scrollbar.vertical{display:none}.monaco-workbench .part.editor>.content .gettingStartedContainer .done-next-container{display:flex;padding:16px}.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link{background:transparent;cursor:pointer;margin:2px;max-width:100%;overflow:hidden;padding:0;text-overflow:ellipsis}.monaco-workbench .part.editor>.content .gettingStartedContainer .done-next-container .button-link{align-items:center;display:flex}.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link.next{margin-left:auto}.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link:hover{background:transparent}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .openAWalkthrough>button,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .showOnStartup{align-items:center;display:flex;gap:8px;justify-content:center;text-align:center}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-checkbox{border:1px solid transparent;border-radius:3px;color:inherit!important;height:18px;margin-right:9px;padding:0;width:18px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-checkbox.codicon:not(.checked):before{opacity:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.footer p{margin:0}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer .index-list.start-container{margin-bottom:16px;min-height:156px}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories>.gettingStartedCategoriesContainer>.footer>button{text-align:center}.monaco-workbench .part.editor>.content .gettingStartedContainer .getting-started-category .codicon{top:0}.monaco-workbench .part.editor>.content .getting-started-category .codicon-star-full:before{vertical-align:middle}.monaco-workbench .part.editor>.content .gettingStartedContainer .hide-category-button{visibility:hidden}.monaco-workbench .part.editor>.content .gettingStartedContainer .getting-started-category:focus-within .hide-category-button,.monaco-workbench .part.editor>.content .gettingStartedContainer .getting-started-category:hover .hide-category-button{visibility:visible}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-description-container span{line-height:1.3em}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-description-container .monaco-button,.monaco-workbench .part.editor>.content .gettingStartedContainer .max-lines-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .step-description-container .monaco-button{align-items:center;display:flex;height:24px;min-width:max-content;padding:0 11px;width:fit-content}.monaco-workbench .part.editor>.content .gettingStartedContainer .hide-category-button{border-radius:5px;padding:3px}.monaco-workbench .part.editor>.content .gettingStartedContainer .hide-category-button:before{vertical-align:unset}.monaco-workbench .part.editor>.content .gettingStartedContainer .hide-category-button:hover{background-color:var(--vscode-toolbar-hoverBackground)}.monaco-workbench .part.editor>.content .gettingStartedContainer{background:var(--vscode-welcomePage-background);color:var(--vscode-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .description{color:var(--vscode-descriptionForeground);line-height:1.4em}.monaco-workbench .part.editor>.content .gettingStartedContainer .category-progress .message,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.getting-started-footer{color:var(--vscode-descriptionForeground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .codicon-getting-started-step-checked,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step.expanded .codicon-getting-started-step-unchecked,.monaco-workbench .part.editor>.content .gettingStartedContainer .icon-widget{color:var(--vscode-textLink-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer button{background:var(--vscode-welcomePage-tileBackground)}.monaco-workbench .part.editor>.content .gettingStartedContainer button:hover{background:var(--vscode-welcomePage-tileHoverBackground);outline-color:var(--vscode-contrastActiveBorder,var(--vscode-focusBorder))}.monaco-workbench .part.editor>.content .gettingStartedContainer button.expanded:hover{background:var(--vscode-welcomePage-tileBackground)}.monaco-workbench .part.editor>.content .gettingStartedContainer button.emphasis{background:var(--vscode-button-background);color:var(--vscode-button-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-step .codicon-getting-started-step-unchecked{color:var(--vscode-descriptionForeground)}.monaco-workbench .part.editor>.content .gettingStartedContainer button.emphasis:hover{background:var(--vscode-button-hoverBackground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link,.monaco-workbench .part.editor>.content .gettingStartedContainer .button-link .codicon,.monaco-workbench .part.editor>.content .gettingStartedContainer a:not(.hide-category-button){color:var(--vscode-textLink-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer a:not(.hide-category-button):active,.monaco-workbench .part.editor>.content .gettingStartedContainer a:not(.hide-category-button):hover,.monaco-workbench .part.editor>.content .gettingStartedContainer button.button-link:hover,.monaco-workbench .part.editor>.content .gettingStartedContainer button.button-link:hover .codicon{color:var(--vscode-textLink-activeForeground)}.monaco-workbench .part.editor>.content .gettingStartedContainer a:not(.codicon-close):focus{outline-color:var(--vscode-focusBorder)}.monaco-workbench .part.editor>.content .gettingStartedContainer button{border:1px solid var(--vscode-contrastBorder)}.monaco-workbench .part.editor>.content .gettingStartedContainer button.button-link{border:inherit}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .progress-bar-outer{background-color:var(--vscode-welcomePage-progress-background)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideCategories .progress-bar-inner{background-color:var(--vscode-welcomePage-progress-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .featured .featured-icon,.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .new-badge{color:var(--vscode-activityBarBadge-foreground)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .new-badge{background-color:var(--vscode-activityBarBadge-background)}.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-checkbox{background-color:var(--vscode-checkbox-background)!important;border-color:var(--vscode-checkbox-border)!important;color:var(--vscode-checkbox-foreground)!important}";
|
|
4
4
|
n(css,{});
|
|
5
5
|
|
|
6
6
|
export { css, css as default };
|
package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import 'vscode/vscode/vs/base/common/platform';
|
|
2
|
+
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
1
3
|
import { localizeWithPath, localize2WithPath } from 'vscode/vscode/vs/nls';
|
|
2
4
|
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
3
|
-
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
4
5
|
import { WalkThroughInput } from '../walkThroughInput.js';
|
|
5
6
|
import { FileAccess, Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
6
7
|
import { Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
+
import '../common/walkThroughUtils.js';
|
|
2
3
|
import './media/walkThroughPart.css.js';
|
|
3
4
|
import { DomScrollableElement } from 'vscode/vscode/vs/base/browser/ui/scrollbar/scrollableElement';
|
|
4
5
|
import { Gesture, EventType } from 'vscode/vscode/vs/base/browser/touch';
|
|
@@ -10,7 +11,7 @@ import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/te
|
|
|
10
11
|
import { WalkThroughInput } from './walkThroughInput.js';
|
|
11
12
|
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener';
|
|
12
13
|
import { ITextResourceConfigurationService } from 'vscode/vscode/vs/editor/common/services/textResourceConfiguration';
|
|
13
|
-
import { CodeEditorWidget } from 'vscode/vscode/vs/editor/browser/widget/codeEditorWidget';
|
|
14
|
+
import { CodeEditorWidget } from 'vscode/vscode/vs/editor/browser/widget/codeEditor/codeEditorWidget';
|
|
14
15
|
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
15
16
|
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding';
|
|
16
17
|
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
@@ -24,7 +25,7 @@ import { UILabelProvider } from 'vscode/vscode/vs/base/common/keybindingLabels';
|
|
|
24
25
|
import { OS } from 'vscode/vscode/vs/base/common/platform';
|
|
25
26
|
import { deepClone } from 'vscode/vscode/vs/base/common/objects';
|
|
26
27
|
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification';
|
|
27
|
-
import {
|
|
28
|
+
import { size, safeInnerHtml, addDisposableListener } from 'vscode/vscode/vs/base/browser/dom';
|
|
28
29
|
import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService';
|
|
29
30
|
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions';
|
|
30
31
|
|
|
@@ -39,8 +40,8 @@ const WALK_THROUGH_EDITOR_VIEW_STATE_PREFERENCE_KEY = 'walkThroughEditorViewStat
|
|
|
39
40
|
let WalkThroughPart = class WalkThroughPart extends EditorPane {
|
|
40
41
|
static { WalkThroughPart_1 = this; }
|
|
41
42
|
static { this.ID = 'workbench.editor.walkThroughPart'; }
|
|
42
|
-
constructor(telemetryService, themeService, textResourceConfigurationService, instantiationService, openerService, keybindingService, storageService, contextKeyService, configurationService, notificationService, extensionService, editorGroupService) {
|
|
43
|
-
super(WalkThroughPart_1.ID, telemetryService, themeService, storageService);
|
|
43
|
+
constructor(group, telemetryService, themeService, textResourceConfigurationService, instantiationService, openerService, keybindingService, storageService, contextKeyService, configurationService, notificationService, extensionService, editorGroupService) {
|
|
44
|
+
super(WalkThroughPart_1.ID, group, telemetryService, themeService, storageService);
|
|
44
45
|
this.instantiationService = instantiationService;
|
|
45
46
|
this.openerService = openerService;
|
|
46
47
|
this.keybindingService = keybindingService;
|
|
@@ -113,7 +114,7 @@ let WalkThroughPart = class WalkThroughPart extends EditorPane {
|
|
|
113
114
|
this.content.addEventListener('click', event => {
|
|
114
115
|
for (let node = event.target; node; node = node.parentNode) {
|
|
115
116
|
if (node instanceof HTMLAnchorElement && node.href) {
|
|
116
|
-
const baseElement = node.ownerDocument.getElementsByTagName('base')[0] ||
|
|
117
|
+
const baseElement = node.ownerDocument.getElementsByTagName('base')[0] || this.window.location;
|
|
117
118
|
if (baseElement && node.href.indexOf(baseElement.href) >= 0 && node.hash) {
|
|
118
119
|
const scrollTarget = this.content.querySelector(node.hash);
|
|
119
120
|
const innerContent = this.content.firstElementChild;
|
|
@@ -379,21 +380,17 @@ let WalkThroughPart = class WalkThroughPart extends EditorPane {
|
|
|
379
380
|
}
|
|
380
381
|
saveTextEditorViewState(input) {
|
|
381
382
|
const scrollPosition = this.scrollbar.getScrollPosition();
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
});
|
|
389
|
-
}
|
|
383
|
+
this.editorMemento.saveEditorState(this.group, input, {
|
|
384
|
+
viewState: {
|
|
385
|
+
scrollTop: scrollPosition.scrollTop,
|
|
386
|
+
scrollLeft: scrollPosition.scrollLeft
|
|
387
|
+
}
|
|
388
|
+
});
|
|
390
389
|
}
|
|
391
390
|
loadTextEditorViewState(input) {
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
this.scrollbar.setScrollPosition(state.viewState);
|
|
396
|
-
}
|
|
391
|
+
const state = this.editorMemento.loadEditorState(this.group, input);
|
|
392
|
+
if (state) {
|
|
393
|
+
this.scrollbar.setScrollPosition(state.viewState);
|
|
397
394
|
}
|
|
398
395
|
}
|
|
399
396
|
clearInput() {
|
|
@@ -417,18 +414,18 @@ let WalkThroughPart = class WalkThroughPart extends EditorPane {
|
|
|
417
414
|
}
|
|
418
415
|
};
|
|
419
416
|
WalkThroughPart = WalkThroughPart_1 = ( __decorate([
|
|
420
|
-
( __param(
|
|
421
|
-
( __param(
|
|
422
|
-
( __param(
|
|
423
|
-
( __param(
|
|
424
|
-
( __param(
|
|
425
|
-
( __param(
|
|
426
|
-
( __param(
|
|
427
|
-
( __param(
|
|
428
|
-
( __param(
|
|
429
|
-
( __param(
|
|
430
|
-
( __param(
|
|
431
|
-
( __param(
|
|
417
|
+
( __param(1, ITelemetryService)),
|
|
418
|
+
( __param(2, IThemeService)),
|
|
419
|
+
( __param(3, ITextResourceConfigurationService)),
|
|
420
|
+
( __param(4, IInstantiationService)),
|
|
421
|
+
( __param(5, IOpenerService)),
|
|
422
|
+
( __param(6, IKeybindingService)),
|
|
423
|
+
( __param(7, IStorageService)),
|
|
424
|
+
( __param(8, IContextKeyService)),
|
|
425
|
+
( __param(9, IConfigurationService)),
|
|
426
|
+
( __param(10, INotificationService)),
|
|
427
|
+
( __param(11, IExtensionService)),
|
|
428
|
+
( __param(12, IEditorGroupsService))
|
|
432
429
|
], WalkThroughPart));
|
|
433
430
|
|
|
434
431
|
export { WALK_THROUGH_FOCUS, WalkThroughPart };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { registerColor } from 'vscode/vscode/vs/platform/theme/common/colorUtils';
|
|
2
|
+
import 'vscode/vscode/vs/platform/theme/common/colors/baseColors';
|
|
3
|
+
import 'vscode/vscode/vs/platform/theme/common/colors/chartsColors';
|
|
4
|
+
import 'vscode/vscode/vs/platform/theme/common/colors/editorColors';
|
|
5
|
+
import 'vscode/vscode/vs/platform/theme/common/colors/inputColors';
|
|
6
|
+
import 'vscode/vscode/vs/platform/theme/common/colors/listColors';
|
|
7
|
+
import 'vscode/vscode/vs/platform/theme/common/colors/menuColors';
|
|
8
|
+
import 'vscode/vscode/vs/platform/theme/common/colors/minimapColors';
|
|
9
|
+
import 'vscode/vscode/vs/platform/theme/common/colors/miscColors';
|
|
10
|
+
import 'vscode/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
11
|
+
import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
|
|
12
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
13
|
+
import { Color, RGBA } from 'vscode/vscode/vs/base/common/color';
|
|
14
|
+
|
|
15
|
+
registerColor('walkThrough.embeddedEditorBackground', { dark: ( new Color(( new RGBA(0, 0, 0, .4)))), light: '#f4f4f4', hcDark: null, hcLight: null }, ( localizeWithPath(
|
|
16
|
+
'vs/workbench/contrib/welcomeWalkthrough/common/walkThroughUtils',
|
|
17
|
+
'walkThrough.embeddedEditorBackground',
|
|
18
|
+
'Background color for the embedded editors on the Interactive Playground.'
|
|
19
|
+
)));
|