Build getting started service at startup in order to init event listeners

This commit is contained in:
Jackson Kearl 2021-03-22 15:07:56 -07:00
parent d657779c01
commit d4a0fa9ca6
No known key found for this signature in database
GPG key ID: DA09A59C409FC400

View file

@ -53,6 +53,7 @@ import { Registry } from 'vs/platform/registry/common/platform';
import { IConfigurationRegistry, Extensions as ConfigurationExtensions, IConfigurationNode, ConfigurationScope } from 'vs/platform/configuration/common/configurationRegistry';
import { workbenchConfigurationNodeBase } from 'vs/workbench/common/configuration';
import { ILogService } from 'vs/platform/log/common/log';
import { IGettingStartedService } from 'vs/workbench/contrib/welcome/gettingStarted/common/gettingStartedService';
export const DEFAULT_STARTUP_EDITOR_CONFIG: IConfigurationNode = {
@ -117,6 +118,7 @@ export class WelcomePageContribution implements IWorkbenchContribution {
@ICommandService private readonly commandService: ICommandService,
@ITelemetryService private readonly telemetryService: ITelemetryService,
@ILogService private readonly logService: ILogService,
@IGettingStartedService _gettingStartedService: IGettingStartedService, // initializes event listeners
@optional(ITASExperimentService) tasExperimentService: ITASExperimentService,
) {
this.tasExperimentService = tasExperimentService;