mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Fix query editor diff compare (#18222)
This commit is contained in:
@@ -530,7 +530,10 @@ export class QueryEditorOverrideContribution extends Disposable implements IWork
|
|||||||
label: QueryEditor.LABEL,
|
label: QueryEditor.LABEL,
|
||||||
priority: RegisteredEditorPriority.builtin
|
priority: RegisteredEditorPriority.builtin
|
||||||
},
|
},
|
||||||
{},
|
{
|
||||||
|
// Fall back to using the normal text based diff editor - we don't want the query bar and related items showing up in the diff editor
|
||||||
|
canHandleDiff: () => false
|
||||||
|
},
|
||||||
(editorInput, group) => {
|
(editorInput, group) => {
|
||||||
const fileInput = this._editorService.createEditorInput(editorInput) as FileEditorInput;
|
const fileInput = this._editorService.createEditorInput(editorInput) as FileEditorInput;
|
||||||
const langAssociation = languageAssociationRegistry.getAssociationForLanguage(lang);
|
const langAssociation = languageAssociationRegistry.getAssociationForLanguage(lang);
|
||||||
|
|||||||
Reference in New Issue
Block a user