2016-09-27 8 views
9

と同等のものを探すと、すべての機能を折りたたみ/展開するIntellijのctrl + shift + " - "が見つかりました。ビジュアルスタジオコード - キーボードショートカット - すべてを展開/折りたたむ

+0

[Visual StudioコードでWindowsのコードセクションを折りたたむにはどうすればよいですか?](http://stackoverflow.com/questions/30067767/how-do-i-collapse-sections-of-code-ビジュアル・スタジオ・コード・フォー・ウィンドウ) –

答えて

19

ここにあります。

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.hereで、プラットフォーム固有のキーボードショートカットが利用可能にリンク

Windowsで、MACLinux

1

あなたはそのためにカスタム値を設定することができます。

  1. オープンコマンドパレット(Macの + + PまたはF1
  2. 検索Open Keyboard Shortcuts
  3. そして、最後に+をクリックしcollapse
  4. を検索Collapse AllCollapse Folders in Explorerオプションの近くに署名し、ショアを設定しますtcuts私は

keyboard vscode collapse all shortcuts

をしたそれとも、keybindings.jsonファイルを開き、メインアレイにこれを追加することができますように。

, 
    { 
    "key": "cmd+k cmd+s", 
    "command": "search.action.collapseSearchResults" 
    }, 
    { 
    "key": "cmd+k cmd+e", 
    "command": "workbench.files.action.collapseExplorerFolders" 
    } 

平和! ✌️

+0

素晴らしい人、ありがとう。 –

関連する問題