mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
set ignoreOverrides false for ipynb and sql files (#10499)
* set ignoreOverrides false for ipynb and sql files * toLowerCase * null checks added
This commit is contained in:
@@ -125,7 +125,7 @@ export class MainThreadTextEditors implements MainThreadTextEditorsShape {
|
|||||||
// preserve pre 1.38 behaviour to not make group active when preserveFocus: true
|
// 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
|
// 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
|
ignoreOverrides: uri?.fsPath?.toLowerCase().endsWith('ipynb') || uri?.fsPath?.toLowerCase().endsWith('sql') ? false : true // {{SQL CARBON EDIT}}
|
||||||
};
|
};
|
||||||
|
|
||||||
const input: IResourceEditorInput = {
|
const input: IResourceEditorInput = {
|
||||||
|
|||||||
Reference in New Issue
Block a user