提交 288123a1 编写于 作者: J Johannes Rieken

fix #22896

上级 732d7f3c
......@@ -136,7 +136,7 @@ export class DefinitionAction extends EditorAction {
return editorService.openEditor({
resource: uri,
options: {
selection: range,
selection: Range.collapseToStart(range),
revealIfVisible: !sideBySide
}
}, sideBySide).then(editor => {
......@@ -634,4 +634,4 @@ registerThemingParticipant((theme, collector) => {
if (activeLinkForeground) {
collector.addRule(`.monaco-editor.${theme.selector} .goto-definition-link { color: ${activeLinkForeground} !important; }`);
}
});
\ No newline at end of file
});
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册