VS Code 从搜索所有侧边栏返回到最后一个光标位置
在 VS code 中,当光标当前位于打开的文档上时,通常可以使用 alt+left 返回到上一个光标位置。但是,如果您按 ctrl+shift+f(在全部中查找),光标将跳转到在所有搜索侧栏中查找,并且要返回到文档中的最后一个位置,您必须使用光标(crtl+left不会工作)。
有没有办法从 VS Code 中的搜索结果侧栏移回到文档中的最后一个位置? (例如,在 Jetbrains 产品中,esc 就可以解决问题,因为搜索结果实际上是模态的)
in VS code you can normally use alt+left to go back to the last cursor position when your cursor is currently on an opened document. however, if you will press ctrl+shift+f (find in all) the cursor will jump to the find in all search side-bar, and to return to the last position in the document you have to use your cursor (crtl+left won't work).
is there a way to move back from the search results side-bar to the last position in the document in VS code? (in Jetbrains products, for example, esc will do the trick because the search results are actually in a modal)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
命令
workbench.action.focusActiveEditorGroup
将执行您想要的操作。因此,您可以设置这样的键绑定(在keybindings.json
中):请参阅 自定义键绑定以了解如何访问
keybindings.json
文件。The command
workbench.action.focusActiveEditorGroup
will do what you want. So you could set up a keybinding like this (inkeybindings.json
):See customizing keybindings to learn how to access the
keybindings.json
file.