[英]Visual studio code - keyboard shortcuts - expand/collapse all
試圖在 Intellij 中找到相當於Ctrl + Shift + - 的折疊/展開所有功能。
這里是。
Ctrl+Shift+[ Fold (collapse) region editor.fold
Ctrl+Shift+] Unfold (uncollapse) region editor.unfold
Ctrl+K Ctrl+[ Fold (collapse) all subregions editor.foldRecursively
Ctrl+K Ctrl+] Unfold (uncollapse) all subregions editor.unfoldRecursively
Ctrl+K Ctrl+0 Fold (collapse) all regions editor.foldAll
Ctrl+K Ctrl+J Unfold (uncollapse) all regions
在此鏈接中查看 Visual Studio Code Keybindings部分。
pdf中還提供了特定於平台的鍵盤快捷鍵。這里是鏈接
您可以為此設置自定義值。
Open Keyboard Shortcuts
collapse
Collapse Folders in Explorer
Collapse All
和“ Collapse Folders in Explorer
選項附近的+號,然后像我一樣設置快捷方式 或者您可以打開keybindings.json
文件並將其添加到主數組中。
,
{
"key": "cmd+k cmd+s",
"command": "search.action.collapseSearchResults"
},
{
"key": "cmd+k cmd+e",
"command": "workbench.files.action.collapseExplorerFolders"
}
轉到文件 --> 首選項 --> 鍵盤快捷鍵(或 Ctrl+K Ctrl+S)
搜索單詞全部折疊
你需要的是:
設置自定義鍵盤快捷鍵
我使用的一種簡單方法是:
Collapse Folders in Explorer
搜索Collapse Folders in Explorer
您還可以在設置中為此命令定義自定義快捷方式。
轉到“鍵盤快捷鍵”並輸入搜索輸入:“折疊所有區域”。 Uoy 查看折疊/展開(展開/折疊)命令和快捷方式。 使用或更改它們。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.