Bug 115035

Summary: [projection] Add ability to hide definitions of member variables & abstract methods
Product: [Eclipse Project] JDT Reporter: Oyvind Harboe <oyvind.harboe>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Oyvind Harboe CLA 2005-11-04 03:38:31 EST
Just like import statements can be collapsed (clicking on the '+' in the margin
will expand them), it would be useful to collapse:

- abstract method declarations
- field declarations

When working with certain types of technologies(e.g. Tapestry
http://jakarta.apache.org/tapestry/), abstract method declarations are used
extensively. A plugin(Spindle) even added a "Add abstract method QuickFix". :-)
Comment 1 Dirk Baeumer CLA 2005-11-04 03:55:05 EST
Assuming Øyvind refers to the folding in the editor.
Comment 2 Oyvind Harboe CLA 2005-11-04 04:14:29 EST
(In reply to comment #1)
> Assuming Øyvind refers to the folding in the editor.

Yes.

This issue is related to the larger issue of:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=45423
Comment 3 Tom Hofmann CLA 2005-11-04 04:42:03 EST
hm - folding usually leaves one line (the so called "caption line") in the
document as summary of the folded region. Now, folding an abstract method
declaration won't buy you much, as these are already on a single line in most
cases...

For field declarations, I assume you want to collapse all fields in one
contiguous block (not field by field).

Valid request, albeit not very high priority.