Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我用的是 MacBook。我想一次使用快捷方式折叠 VScode 中的所有目录树。
请告诉我那个快捷方式是什么。
谢谢。
您可以单击所选文件夹上的空格以折叠/展开它
有一个未绑定的命令:
文件:在资源管理器中折叠文件夹 workbench.files.action.collapseExplorerFolders
文件:在资源管理器中折叠文件夹
workbench.files.action.collapseExplorerFolders
在其中搜索Keyboard Shortcuts并单击+其左侧的符号 - 输入您要使用的键绑定。
Keyboard Shortcuts
+