Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361088

Summary: How do I have code automatically collapsed when I open Eclipse?
Product: [Eclipse Project] Platform Reporter: Jake <jakesta42>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: minor    
Priority: P3 CC: daniel_megert, remy.suen
Version: 4.2   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Jake CLA 2011-10-16 17:10:12 EDT
Build Identifier: 20110301-1815

As I'm getting further into my programming life, I find that I'm writing more code and more methods. The (-) next to my methods are very useful for organising segments of code, I was wondering how to have it so that methods are automatically collapsed when I open eclipse? When I collapse it initially, it uncollapses when I close eclipse and open it back up. 

Reproducible: Always

Steps to Reproduce:
1. Collapse a method
2. Close Eclipse
3. Look back at that collapsed method
Comment 1 Remy Suen CLA 2011-10-17 08:00:45 EDT
What are you programming in? Java? C/C++? XML? Something else?
Comment 2 Dani Megert CLA 2011-10-17 11:21:42 EDT
See Java > Editor > Folding preference page.