ensure vscode.window.showTextEditor opens a text editor not a custom editor, #96397

This commit is contained in:
Johannes Rieken
2020-04-30 14:31:20 +02:00
parent 997b4c863a
commit ff4d96587f

View File

@@ -124,7 +124,8 @@ export class MainThreadTextEditors implements MainThreadTextEditorsShape {
selection: options.selection,
// preserve pre 1.38 behaviour to not make group active when preserveFocus: true
// but make sure to restore the editor to fix https://github.com/microsoft/vscode/issues/79633
activation: options.preserveFocus ? EditorActivation.RESTORE : undefined
activation: options.preserveFocus ? EditorActivation.RESTORE : undefined,
ignoreOverrides: true
};
const input: IResourceEditorInput = {