回到VSCode编辑器的焦点应该使用以下方式:

huangapple go评论49阅读模式
英文:

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>

huangapple
  • 本文由 发表于 2023年5月7日 18:06:06
  • 转载请务必保留本文链接:https://go.coder-hub.com/76193245.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定