From 27b3904f2fc3c43e3813ff65d8c27955320b0bf5 Mon Sep 17 00:00:00 2001 From: Alan Ren Date: Sat, 22 May 2021 11:58:32 -0700 Subject: [PATCH] fix file compare issue (#15551) --- src/vs/workbench/browser/parts/editor/editorGroupView.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/browser/parts/editor/editorGroupView.ts b/src/vs/workbench/browser/parts/editor/editorGroupView.ts index 426adce5e9..bffa6f5b44 100644 --- a/src/vs/workbench/browser/parts/editor/editorGroupView.ts +++ b/src/vs/workbench/browser/parts/editor/editorGroupView.ts @@ -542,7 +542,7 @@ export class EditorGroupView extends Themable implements IEditorGroupView { // only dispose when they are not opened elsewhere. for (const editor of editorsToClose) { if (!this.accessor.groups.some(groupView => groupView.group.contains(editor, { - strictEquals: true, // only if this input is not shared across editor groups + strictEquals: false, // only if this input is not shared across editor groups // {{SQL CARBON EDIT}} - update strictEquals to false, QueryEditorInput and NotebookEditorInput should be compared against the underlying TextEditorInput, strictcompare will cause the underlying document to be closed when closing diff editor. supportSideBySide: true // include side by side editor primary & secondary }))) { editor.dispose();