Instead of going through each (+) sign at the left and clicking them to expand the collapsed code snippets, is there a shortcut or menu item (I couldn't find it, VS has that) to expand all the collapsed code/comments at once? Thanks.
3 Answers
Try with Ctrl+* on the number-pad.
6 Comments
Chris Lercher
I really miss that shortcut on my Mac (MacBook)... Does anyone know an alternative shortcut for the Mac? (Especially for the Navigator/Package Explorer, where it doesn't even work with an external keyboard!)
NomeN
@chris_l I can't test this, but most ctrl commands are mapped to the apple key. Quite possibly that's the case here too.
rabin
Thanks guys. I knew there has to be something, just couldn't find it.
Windle
Ctrl+Shift+Divide on the numpad to collapse them all again =)
|
For Mac OS, I was using a PHP plugin. It wasn't enough to change the shortcut for Collapse on Edit Text.
In Eclipse, I did these steps:
- Ctrl-Shift-L - open the shortcut list
- Ctrl-Shift-L - hit it again to go to the shortcut preferences page
- Search for "Collapse" shortcut
- For the option to "Edit Text", I had to change it to Edit PHP
- Then I set the shortcut to command-SHIFT-UP_ARROW.
And that worked. I'm guessing it would be the same for Edit Java vs. Edit Text.