Bug 60688 - [projection] Support folding of javadoc comments above fields
Summary: [projection] Support folding of javadoc comments above fields
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.2 M5   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 64089 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-01 14:23 EDT by Erich Gamma CLA
Modified: 2006-06-22 11:06 EDT (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 Erich Gamma CLA 2004-05-01 14:23:23 EDT
1) Open org.eclipse.core.runtime.jobs.Job.java
->observe that the javadoc comments above methods can be collapsed, those 
above fields cannot.
Comment 1 Dani Megert CLA 2004-09-08 06:21:37 EDT
*** Bug 64089 has been marked as a duplicate of this bug. ***
Comment 2 Mark A. Ziesemer CLA 2005-06-28 19:30:30 EDT
Possibly related to this, what about comments within methods?  (This would 
probably be restricted to non-Javadoc multi-line comments.)

Example:

class Test{
	/**
	 * This folds...
	 */
	/*
	 * As does this...
	 */
	void test(){
		/*
		 * But this doesn't!
		 */
	}
}

I was thinking this could be an issue in that it would cause nested folding (of 
the comment and of the method), but it's already properly handled as items can 
be folded within the class, and the class can properly be folded.

While we're at it, what about other block statements, such as if's and 
while's?  Many other IDE's out there allow folding of practically everything.
Comment 3 Dani Megert CLA 2005-06-29 03:48:14 EDT
please log a separate bug report.
Comment 4 Tom Hofmann CLA 2006-01-17 09:36:20 EST
fixed > 20060117
Comment 5 Mark A. Ziesemer CLA 2006-06-22 11:06:08 EDT
Moved my request to bug 148233.