Reputation: 6400
If I close Eclipse and then reopen it sometime later, all the code I have folded will be unfolded.
Is there a way to keep it folded?
Upvotes: 0
Views: 1248
Reputation: 43349
You can also use
Ctrl + Shift + /
to fold your editor code.Ctrl + Shift + *
to unfold your editor code.Note: Here * and /
would be on Numeric Keypad
Upvotes: 1
Reputation: 17359
It actually depends on the the feature you're using. For Java you can specify which parts should stay folded initially. Unfortunately it only can be comments, header comments, inner types, members and imports.
Here is the screenshot from Eclipse workspace properties for Java > Editor > Folding
Upvotes: 3