8

What would be the code folding shortcut on a mac for Android Studio? Is there a default shortkey for this, or should we define our own? It would be very handy to toggle, specially when working on a smaller screen.

TomCB
  • 3,983
  • 9
  • 40
  • 66

2 Answers2

19

They call folding in android studio, I guess.

Shortcut expand: Cmd + '+' Collapse: Cmd + '-' Shortcut expand all: shift + cmd + '+'

Hatoriz
  • 306
  • 2
  • 5
7

For Windows users:

CTRL+SHIFT+- - to minimize

CTRL+SHIFT++ - to expand

from: https://stackoverflow.com/a/28697392/606724

mx0
  • 6,445
  • 12
  • 49
  • 54
JanivZ
  • 2,265
  • 3
  • 25
  • 31