Bug 162610 - automatically toggle folding of Javadoc comments
Summary: automatically toggle folding of Javadoc comments
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: dev   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 3.1   Edit
Assignee: Mik Kersten CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy
Depends on:
Blocks:
 
Reported: 2006-10-27 14:32 EDT by Jim Bethancourt CLA
Modified: 2009-02-26 19:31 EST (History)
0 users

See Also:


Attachments
mylyn/context/zip (15.33 KB, application/octet-stream)
2009-02-26 19:31 EST, Mik Kersten CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Bethancourt CLA 2006-10-27 14:32:21 EDT
I have noticed that when I apply Mylar to the code editor, the methods are folded automatically, but the Javadocs are not automatically folded.  It would be handy if they were folded / unfolded in tandem with the methods that are folded to help reduce clutter.

Thanks,
Jim
Comment 1 Mik Kersten CLA 2006-10-31 23:46:45 EST
The problem with unfolding them in tandem was that long Javadocs would often clutter the editor.  So we recommend working with all Javadocs folded, and clicking the little + when you want to see the documentation: http://wiki.eclipse.org/index.php/Mylar_FAQ#Recommended_configuration

Could you try that?  I'm tempted to make this comment folding toggle by default when Mylar editor folding is applied.
Comment 2 Jim Bethancourt CLA 2006-11-01 09:07:38 EST
Mik,
I'd be happy to.  However, it appears that the default behavior is to not fold the Javadocs at all when Mylar is applied.  Is there a setting I need to set so that the Javadocs are folded when Mylar is applied (my main reason for submitting the feature request)?  I had only suggested that Mylar unfold the Javadocs in tandem for convenience.  

Oops -- ok, just found the "fold comments by default" section -- maybe this option could be set by default?

Thanks,
Jim
Comment 3 Mik Kersten CLA 2006-11-02 15:48:26 EST
Yes, I agree that this should be the behavior.
Comment 4 Mik Kersten CLA 2008-06-12 17:35:26 EDT
Need to defer: http://wiki.eclipse.org/index.php/Mylyn/3.0_Plan#Deferred_Items
Comment 5 Mik Kersten CLA 2009-02-26 19:31:18 EST
Done.

Not sure if this is noteworthy, maybe if we have some more folding improvements.
Comment 6 Mik Kersten CLA 2009-02-26 19:31:20 EST
Created attachment 126929 [details]
mylyn/context/zip