Expanding collapsed code in Eclipse IDE
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 t开发者_Go百科he collapsed code/comments at once? Thanks.
Try with Ctrl+* on the number-pad.
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 short cut 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 CMD-SHIFT-UP_ARROW
And that worked. I'm guessing it would be the same for Edit Java vs. Edit Text
You can try ctrl-0 or Source>Uncollapse code (All)
精彩评论