JetBrains / IntelliJ keyboard shortcut to collapse all methods

后端 未结 6 913
囚心锁ツ
囚心锁ツ 2020-12-07 10:35

I\'m working on some legacy code that has a class that is 10,000+ lines of code and has 100s of methods. Is there a shortcut for any JetBrains IDE (since the shortcut would

6条回答
  •  情歌与酒
    2020-12-07 11:27

    You may take a look at intellij code folding shortcuts.

    For Windows/Linux do: Ctrl+Shift+-

    For mac use Command+Shift+-

    To unfold again do Ctrl+Shift++ or Command+Shift++ respectivley.

提交回复
热议问题