提交 6be6bd91 编写于 作者: M Matt Bierner

Make sure openWith handles default editors

Fixes #99252

We still need to override openeing of 'default' editors so that we properly close any already open custom editors in the group
上级 aa0c3510
......@@ -498,10 +498,6 @@ export class CustomEditorContribution extends Disposable implements IWorkbenchCo
}
if (id) {
if (editor instanceof FileEditorInput && id === defaultCustomEditor.id) {
return undefined;
}
return {
override: this.customEditorService.openWith(resource, id, { ...options, ignoreOverrides: true }, group)
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册