mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Merge master
This commit is contained in:
@@ -62,6 +62,13 @@ export interface ParsedArgs {
|
||||
'upload-logs'?: string;
|
||||
'driver'?: string;
|
||||
'driver-verbose'?: boolean;
|
||||
// {{SQL CARBON EDIT}}
|
||||
aad?: boolean;
|
||||
database?: string;
|
||||
integrated?: boolean;
|
||||
server?: string;
|
||||
user?: string;
|
||||
// {{SQL CARBON EDIT}}
|
||||
}
|
||||
|
||||
export const IEnvironmentService = createDecorator<IEnvironmentService>('environmentService');
|
||||
|
||||
@@ -33,7 +33,12 @@ const options: minimist.Opts = {
|
||||
'export-default-configuration',
|
||||
'install-source',
|
||||
'upload-logs',
|
||||
'driver'
|
||||
'driver',
|
||||
// {{SQL CARBON EDIT}}
|
||||
'database',
|
||||
'server',
|
||||
'user',
|
||||
// {{SQL CARBON EDIT}}
|
||||
],
|
||||
boolean: [
|
||||
'help',
|
||||
@@ -66,7 +71,11 @@ const options: minimist.Opts = {
|
||||
'status',
|
||||
'file-write',
|
||||
'file-chmod',
|
||||
'driver-verbose'
|
||||
'driver-verbose',
|
||||
// {{SQL CARBON EDIT}}
|
||||
'aad',
|
||||
'integrated',
|
||||
// {{SQL CARBON EDIT}}
|
||||
],
|
||||
alias: {
|
||||
add: 'a',
|
||||
@@ -85,6 +94,12 @@ const options: minimist.Opts = {
|
||||
'debugBrkPluginHost': 'inspect-brk-extensions',
|
||||
'debugSearch': 'inspect-search',
|
||||
'debugBrkSearch': 'inspect-brk-search',
|
||||
// {{SQL CARBON EDIT}}
|
||||
database: 'D',
|
||||
integrated: 'E',
|
||||
server: 'S',
|
||||
user: 'U',
|
||||
// {{SQL CARBON EDIT}}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -165,6 +165,8 @@ import { DashboardViewService } from 'sql/services/dashboard/common/dashboardVie
|
||||
import { ModelViewService } from 'sql/services/modelComponents/modelViewServiceImpl';
|
||||
import { IDashboardService } from 'sql/services/dashboard/common/dashboardService';
|
||||
import { DashboardService } from 'sql/services/dashboard/common/dashboardServiceImpl';
|
||||
import { NotebookService } from 'sql/services/notebook/notebookServiceImpl';
|
||||
import { INotebookService } from 'sql/services/notebook/notebookService';
|
||||
|
||||
import { ContextViewService } from 'vs/platform/contextview/browser/contextViewService';
|
||||
import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry';
|
||||
@@ -172,8 +174,10 @@ import { TelemetryService } from 'vs/platform/telemetry/common/telemetryService'
|
||||
import { WorkbenchThemeService } from 'vs/workbench/services/themes/electron-browser/workbenchThemeService';
|
||||
import { IWorkbenchThemeService } from 'vs/workbench/services/themes/common/workbenchThemeService';
|
||||
import { IUriDisplayService, UriDisplayService } from 'vs/platform/uriDisplay/common/uriDisplay';
|
||||
import { NotebookService } from 'sql/services/notebook/notebookServiceImpl';
|
||||
import { INotebookService } from 'sql/services/notebook/notebookService';
|
||||
// {{SQL CARBON EDIT}}
|
||||
import { ICommandLineProcessing } from 'sql/parts/commandLine/common/commandLine';
|
||||
import { CommandLineService } from 'sql/parts/commandLine/common/commandLineService';
|
||||
// {{SQL CARBON EDIT}}
|
||||
|
||||
interface WorkbenchParams {
|
||||
configuration: IWindowConfiguration;
|
||||
@@ -579,7 +583,9 @@ export class Workbench extends Disposable implements IPartService {
|
||||
serviceCollection.set(INotebookService, notebookService);
|
||||
serviceCollection.set(IAccountPickerService, this.instantiationService.createInstance(AccountPickerService));
|
||||
serviceCollection.set(IProfilerService, this.instantiationService.createInstance(ProfilerService));
|
||||
|
||||
// {{SQL CARBON EDIT}}
|
||||
serviceCollection.set(ICommandLineProcessing, this.instantiationService.createInstance(CommandLineService));
|
||||
// {{SQL CARBON EDIT}}
|
||||
this._register(toDisposable(() => connectionManagementService.shutdown()));
|
||||
this._register(toDisposable(() => accountManagementService.shutdown()));
|
||||
this._register(toDisposable(() => notebookService.shutdown()));
|
||||
|
||||
Reference in New Issue
Block a user