Bug 115035 - [projection] Add ability to hide definitions of member variables & abstract methods
Summary: [projection] Add ability to hide definitions of member variables & abstract m...
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-04 03:38 EST by Oyvind Harboe CLA
Modified: 2005-11-04 04:42 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.