Use create functions for more descriptors

For #81574

This applies the fix from #84878 to a number of other descriptor classes in our codebase
This commit is contained in:
Matt Bierner
2019-11-14 17:10:34 -08:00
parent bf93700404
commit 5370653cf8
31 changed files with 94 additions and 67 deletions

View File

@@ -335,7 +335,7 @@ class ViewsExtensionHandler implements IWorkbenchContribution {
super(id, `${id}.state`, true, configurationService, layoutService, telemetryService, storageService, instantiationService, themeService, contextMenuService, extensionService, contextService);
}
}
const viewletDescriptor = new ViewletDescriptor(
const viewletDescriptor = ViewletDescriptor.create(
CustomViewlet,
id,
title,