英文:
How to switch focus back to the editor in VSCode?
问题
我想要快速切换文件浏览器和文件编辑器之间的方法。我已经绑定了一个键来专注于文件浏览器,⌘0,但专注于文件编辑器的默认键绑定是什么,以及如何使用命令面板执行此操作?
我尝试了esc,但它只是将焦点放在整个文件浏览器上(当选择文件时)。
英文:
I want a quick way to switch between file explorer and file editor. I got a keybind to focus on file explorer, <kbd>⌘</kbd><kbd>0</kbd>, but what's the default keybind for focusing on file editor, and how to do it using command palette?
I tried <kbd>esc</kbd>, which just focuses on the whole file explorer (when a file is selected).
答案1
得分: 2
使用<kbd>⌘</kbd><kbd>1</kbd>或<kbd>⌘</kbd><kbd>2</kbd>,具体取决于您拥有的选项卡组,您可以绑定快捷键,最多可达8
<kbd>⌘</kbd><kbd>9</kbd>是:查看:在组中打开上一个编辑器
对于Windows,它是<kbd>Ctrl</kbd><kbd>1</kbd>或<kbd>Ctrl</kbd><kbd>2</kbd>
英文:
use <kbd>⌘</kbd><kbd>1</kbd> or <kbd>⌘</kbd><kbd>2</kbd> depending on the tab groups you have, you have key binds up to 8
<kbd>⌘</kbd><kbd>9</kbd> is: View: Open Last Editor in Group
for windows it is <kbd>Ctrl</kbd><kbd>1</kbd> or <kbd>Ctrl</kbd><kbd>2</kbd>
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论