Bug 154354 - [projection] modify java.editor.folding to support private/protected/public folding
Summary: [projection] modify java.editor.folding to support private/protected/public f...
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P5 enhancement with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-18 10:00 EDT by Ray Case CLA
Modified: 2008-02-07 05:53 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ray Case CLA 2006-08-18 10:00:34 EDT
I think the automatic folding would be much more useful if I could automatically fold anything that is not public.  Since this enhancement obviously competes with the current way of folding, working out a tree or exlusiveness to the elements selected might be problematic.  Adding public/private/protected to each level(comment/header comments/inner type/members/imports) might be the best way to customize this.

Thanks,
Ray Case
Comment 1 Dani Megert CLA 2006-08-19 07:19:55 EDT
Note: you can write and register your own folding provider.