mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
This reverts commit 6bd0a17d3c.
This commit is contained in:
@@ -21,7 +21,6 @@ import { Code } from './code';
|
||||
import { Terminal } from './terminal';
|
||||
import { Notebook } from './notebook';
|
||||
import { Localization } from './localization';
|
||||
import { Task } from './task';
|
||||
|
||||
// {{SQL CARBON EDIT}}
|
||||
import { ConnectionDialog } from './sql/connectionDialog';
|
||||
@@ -60,7 +59,6 @@ export class Workbench {
|
||||
readonly terminal: Terminal;
|
||||
readonly notebook: Notebook;
|
||||
readonly localization: Localization;
|
||||
readonly task: Task;
|
||||
|
||||
// {{SQL CARBON EDIT}}
|
||||
readonly connectionDialog: ConnectionDialog;
|
||||
@@ -76,7 +74,7 @@ export class Workbench {
|
||||
readonly taskPanel: TaskPanel;
|
||||
// {{END}}
|
||||
|
||||
constructor(code: Code) {
|
||||
constructor(code: Code, userDataPath: string) {
|
||||
this.editors = new Editors(code);
|
||||
this.quickinput = new QuickInput(code);
|
||||
this.quickaccess = new QuickAccess(code, this.editors, this.quickinput);
|
||||
@@ -89,7 +87,7 @@ export class Workbench {
|
||||
this.debug = new Debug(code, this.quickaccess, this.editors, this.editor);
|
||||
this.statusbar = new StatusBar(code);
|
||||
this.problems = new Problems(code, this.quickaccess);
|
||||
this.settingsEditor = new SettingsEditor(code, this.editors, this.editor, this.quickaccess);
|
||||
this.settingsEditor = new SettingsEditor(code, userDataPath, this.editors, this.editor, this.quickaccess);
|
||||
this.keybindingsEditor = new KeybindingsEditor(code);
|
||||
this.terminal = new Terminal(code, this.quickaccess, this.quickinput);
|
||||
// {{SQL CARBON EDIT}}
|
||||
@@ -107,6 +105,5 @@ export class Workbench {
|
||||
// {{END}}
|
||||
this.notebook = new Notebook(this.quickaccess, this.quickinput, code);
|
||||
this.localization = new Localization(code);
|
||||
this.task = new Task(code, this.editor, this.editors, this.quickaccess, this.quickinput, this.terminal);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user