Bug 96422 - Add ability to define foldable regions in code
Summary: Add ability to define foldable regions in code
Status: RESOLVED DUPLICATE of bug 63808
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-24 09:59 EDT by Andrew Larder CLA
Modified: 2005-05-24 10:13 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Larder CLA 2005-05-24 09:59:35 EDT
For large class files it would be useful to be able to define regions of the
file that can be collapsed using folding.

For instance:

public class MyClass implements IInterface, IAnotherInterface
{
    // Region: Constructors

    ...Code...

    // EndRegion: Constructors

    ...Code...

    // Region: IInterface implementation

    // EndRegion: IInterface implementation

    ...Code...

    // Region: IAnotherInterface implementation

    ...Code...

    // EndRegion: IAnotherInterface implementation
}

Obviously this syntax is an example only (conflicts with task tags), but you get
the idea...
Comment 1 Dani Megert CLA 2005-05-24 10:13:08 EDT

*** This bug has been marked as a duplicate of 63808 ***