Fix query editor diff compare (#18222)

This commit is contained in:
Charles Gagnon
2022-02-04 12:26:29 -08:00
committed by GitHub
parent 45009a3222
commit 36b1a5a209

View File

@@ -530,7 +530,10 @@ export class QueryEditorOverrideContribution extends Disposable implements IWork
label: QueryEditor.LABEL,
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) => {
const fileInput = this._editorService.createEditorInput(editorInput) as FileEditorInput;
const langAssociation = languageAssociationRegistry.getAssociationForLanguage(lang);