未验证 提交 44445888 编写于 作者: L Logan Ramos

Fix #127084

上级 9a8a439d
......@@ -240,6 +240,11 @@ 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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册