Build getting started service at startup in order to init event listeners
This commit is contained in:
parent
d657779c01
commit
d4a0fa9ca6
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue