Reputation: 115
I'm looking for a way to close/open foldable blocks of code using the Keyboard. I found some shortcuts in old answers but none of them seem to work on the version of Eclipse that I use (2020-09).
Upvotes: 2
Views: 51
Reputation: 24040
You can use Cmd (on macOS) or Alt (on Windows) and the subtract and divide on numeric keypads. If you don't have an external keypad then you can remap it yourself by going to preferences, and then keys, and you can enter your own.
If you want to expand/collapse all of them, you can hold shift down as well.
Upvotes: 1