Though I have looked at these two questions, fold sub blocks and manually fold code.
But it doesnt seems to work, because either the links are broken or some of the resources are unavailable.
In my project, I have lot of functions, which include literally millions of if/else
statements. Now, whenever I have to look for a Log
, I have to shuffle the entire code. Most of the time is wasted in the if/else
code blocks. It would be really helpfull, if I could fold these if/else
sub blocks. There is no inbuilt feature in eclipse though. Is there any plugin that could help for the purpose.
Try this..
Preferences -> Java -> Editor -> Folding.
Set folding settings here by checking the boxes as your need..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With