mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Open inactive editors as sql editors when needed (#1298)
This commit is contained in:
@@ -225,6 +225,10 @@ export class EditorGroup implements IEditorGroup {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public openEditor(editor: EditorInput, options?: IEditorOpenOptions): void {
|
public openEditor(editor: EditorInput, options?: IEditorOpenOptions): void {
|
||||||
|
// {{SQL CARBON EDIT}}
|
||||||
|
// Convert input into custom type if it's one of the ones we support
|
||||||
|
editor = CustomInputConverter.convertEditorInput(editor, options, this.instantiationService);
|
||||||
|
|
||||||
const index = this.indexOf(editor);
|
const index = this.indexOf(editor);
|
||||||
|
|
||||||
const makePinned = options && options.pinned;
|
const makePinned = options && options.pinned;
|
||||||
|
|||||||
Reference in New Issue
Block a user