提交 473f0520 编写于 作者: A Alex Dima

Fixes #31061

上级 ae26006c
......@@ -228,15 +228,15 @@ export abstract class ReferencesController implements editorCommon.IEditorContri
}
public openReference(ref: Location, sideBySide: boolean): void {
// clear stage
if (!sideBySide) {
this.closeWidget();
}
const { uri, range } = ref;
this._editorService.openCodeEditor({
resource: uri,
options: { selection: range }
}, this._editor, sideBySide);
// clear stage
if (!sideBySide) {
this.closeWidget();
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册