在Visual Studio Code中调整资源管理器面板大小的快捷方式是什么?

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

shortcut to resize explorer panel in visual studio code?

问题

有没有快捷键可以调整 VS Code 中的资源管理器面板大小?

顺便说一下,我知道如何在 VS Code 中搜索键盘快捷键,并且已经实现了一些用于终端、编辑器面板和其他功能的调整大小功能。我特别想知道是否有任何快捷键可以调整资源管理器视图的大小,而不是其他任何东西。

英文:

Is there any shortcut to resize explorer panel in VS Code?

By the way, I know how to search for keyboards in vs code and I have already implemented some resizing functionalities for terminal, editor panel and other stuff. I specifically wanna know if there is any shortcut for resizing the Explorer View and not anything else.

答案1

得分: 1

根据我所知,目前(至少在撰写本文时)没有一个键盘快捷方式可以调整特定视图的大小,而不考虑当前焦点在哪个视图,但存在用于调整当前焦点视图大小的键盘快捷命令:workbench.action.increaseViewSizeworkbench.action.decreaseViewSize。您可以将某些内容绑定到这些命令,然后将焦点放在资源管理器视图(默认绑定为 ctrl/cmd+shift+e),然后使用您的键盘快捷方式。

英文:

From what I know, there isn't a keyboard shortcut to resize a specific view regardless of what view is currently focused (at least- not at the time of this writing), but there exist keyboard shortcut commands to resize the currently focused view: workbench.action.increaseViewSize and workbench.action.decreaseViewSize. What you can do is bind something to those commands, and then focus the Explorer View (bound by default to <kbd>ctrl/cmd</kbd>+<kbd>shift</kbd>+<kbd>e</kbd>), and then use your keyboard shortcut.

huangapple
  • 本文由 发表于 2023年6月19日 07:59:44
  • 转载请务必保留本文链接:https://go.coder-hub.com/76502942.html
匿名

发表评论

匿名网友

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

确定