Is there a way to collapse all code blocks in Eclipse?

前端 未结 15 1334
终归单人心
终归单人心 2020-11-30 16:07

Eclipse has that \"+/-\" on the left to expand and collapse blocks of code.

I\'ve got tens of thousands of lines to go through and would really like to just collapse

15条回答
  •  野性不改
    2020-11-30 16:45

    In addition to the hotkey, if you right click in the gutter where you see the +/-, there is a context menu item 'Folding.' Opening the submenu associated with this, you can see a 'Collapse All' item. this will also do what you wish.

提交回复
热议问题