Skip to content

Commit

Permalink
set ignoreOverrides false for ipynb and sql files (microsoft#10499)
Browse files Browse the repository at this point in the history
* set ignoreOverrides false for ipynb and sql files

* toLowerCase

* null checks added
  • Loading branch information
MaddyDev authored May 19, 2020
1 parent b02b418 commit 76c8094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/api/browser/mainThreadEditors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export class MainThreadTextEditors implements MainThreadTextEditorsShape {
// 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,
ignoreOverrides: true
ignoreOverrides: uri?.fsPath?.toLowerCase().endsWith('ipynb') || uri?.fsPath?.toLowerCase().endsWith('sql') ? false : true // {{SQL CARBON EDIT}}
};

const input: IResourceEditorInput = {
Expand Down

0 comments on commit 76c8094

Please sign in to comment.