英文:
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.increaseViewSize
和 workbench.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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论