mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
Fix #127583
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user