title: JetBrains / IntelliJ keyboard shortcut to collapse all methods
body: <p>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 likely be shared across all of them) to collapse all the methods / functions so that only the method signatures are shown? </p>
  
  <p>Something like this: </p>
  
  <pre><code>public String myMethod(String arg1, int arg2){...}
  
  public String mySecondMethod(String arg1, int arg2){...}
  </code></pre>