开发者

Expanding collapsed code in Eclipse IDE

开发者 https://www.devze.com 2022-12-24 15:59 出处:网络
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

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:

  1. Ctrl-Shift-L ~ open the short cut list
  2. Ctrl-Shift-L ~ hit it again to go to the shortcut preferences page
  3. Search for "Collapse" shortcut
  4. For the option to "Edit Text", I had to change it to Edit PHP
  5. 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)

0

精彩评论

暂无评论...
验证码 换一张
取 消