Add status messages during command line processing (#4725)

* add status bar messages

* missed semicolon
This commit is contained in:
David Shiflet
2019-03-27 15:44:57 -04:00
committed by GitHub
parent 37ab493b78
commit a360bebd9d
5 changed files with 26 additions and 6 deletions

View File

@@ -46,6 +46,8 @@ import { WorkbenchContextKeysHandler } from 'vs/workbench/browser/contextkeys';
import { coalesce } from 'vs/base/common/arrays';
import { InstantiationService } from 'vs/platform/instantiation/common/instantiationService';
import { Layout } from 'vs/workbench/browser/layout';
import { ICommandLineProcessing } from 'sql/workbench/services/commandLine/common/commandLine';
import { CommandLineService } from 'sql/workbench/services/commandLine/common/commandLineService';
export class Workbench extends Layout {
@@ -186,6 +188,11 @@ export class Workbench extends Layout {
const instantiationService = new InstantiationService(serviceCollection, true);
// {{SQL CARBON EDIT }}
// TODO@Davidshi commandLineService currently has no referents, so force its creation
serviceCollection.set(ICommandLineProcessing, instantiationService.createInstance(CommandLineService));
// {{SQL CARBON EDIT}} - End
// Wrap up
instantiationService.invokeFunction(accessor => {
const lifecycleService = accessor.get(ILifecycleService);

View File

@@ -224,8 +224,6 @@ import { IDashboardService } from 'sql/platform/dashboard/browser/dashboardServi
import { DashboardService } from 'sql/platform/dashboard/browser/dashboardServiceImpl';
import { NotebookService } from 'sql/workbench/services/notebook/common/notebookServiceImpl';
import { INotebookService } from 'sql/workbench/services/notebook/common/notebookService';
import { ICommandLineProcessing } from 'sql/workbench/services/commandLine/common/commandLine';
import { CommandLineService } from 'sql/workbench/services/commandLine/common/commandLineService';
import { OEShimService, IOEShimService } from 'sql/parts/objectExplorer/common/objectExplorerViewTreeShim';
registerSingleton(IDashboardService, DashboardService);
@@ -265,7 +263,6 @@ registerSingleton(IInsightsDialogService, InsightsDialogService);
registerSingleton(INotebookService, NotebookService);
registerSingleton(IAccountPickerService, AccountPickerService);
registerSingleton(IProfilerService, ProfilerService);
registerSingleton(ICommandLineProcessing, CommandLineService);
registerSingleton(IDacFxService, DacFxService);
// {{SQL CARBON EDIT}} - End