Is there any way to save my code folding in eclipse?
It's horrible to scroll trough my entire UI declaration. (And yes, I googled it! :)
Is there any way to save my code folding in eclipse?
It's horrible to scroll trough my entire UI declaration. (And yes, I googled it! :)
Amongst other things, Mylyn allows you to fold/hide content and persist the state.
Mylyn monitors your work activity to identify relevant information, and uses this task context to focus the user interface on the task-at-hand. This puts the information you need at your fingertips and improves productivity by reducing searching, scrolling, and navigation. By making task context explicit Mylyn also facilitates multitasking, planning, reusing past efforts, and sharing expertise.
Once Mylyn is enabled it will start folding/hiding the content. If you have an active task (can use a local task repository) the state should be persisted between sessions. Alternatively you can attach the state to the task (sorry don't have Eclipse to hand to check the exact method to do this) then retrieve it. This is useful if you are sharing tasks with others.
I know this isn't exactly what you were asking, but this was really helpful for me:
(Taken from this post: http://stackoverflow.com/questions/512976/is-there-a-keyboard-shortcut-in-eclipse-to-fold-the-current-method-block )