This commit is contained in:
Logan Ramos
2021-06-29 20:37:10 -04:00
parent 46f9e503ea
commit 57930758db
@@ -254,11 +254,6 @@ export class EditorOverrideService extends Disposable implements IEditorOverride
public getEditorIds(resource: URI): string[] {
const editors = this.findMatchingEditors(resource);
// This function is used to populate the reopen with.. context key and we do
// not want to show the reopen with if there's an exclusive provider so we return no id's in that case
if (editors.find(e => e.editorInfo.priority === RegisteredEditorPriority.exclusive)) {
return [];
}
return editors.map(editor => editor.editorInfo.id);
}