提交 9e50f698 编写于 作者: I isidor

reveal in explorer pass focus

fixes #67024
上级 2de50be7
......@@ -463,12 +463,13 @@ CommandsRegistry.registerCommand({
const explorerView = viewlet.getExplorerView();
if (explorerView) {
explorerView.setExpanded(true);
explorerService.select(uri, true).then(undefined, onUnexpectedError);
explorerService.select(uri, true).then(() => explorerView.focus(), onUnexpectedError);
}
} else {
const openEditorsView = viewlet.getOpenEditorsView();
if (openEditorsView) {
openEditorsView.setExpanded(true);
openEditorsView.focus();
}
}
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册