Bug 11056 - Editor doesn't show method comments.
Summary: Editor doesn't show method comments.
Status: RESOLVED DUPLICATE of bug 9790
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: Other Windows 98
: P3 normal (vote)
Target Milestone: 2.0 M5   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 9394 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-03-08 15:43 EST by DJ Houghton CLA
Modified: 2002-04-30 06:55 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 DJ Houghton CLA 2002-03-08 15:43:56 EST
build 2002-02-28 on Win98.

- I have the "show only selected method" button activated.
- if the method has javadoc at the beginning then it shows it in the editor
- if it has regular comments before the method signature, then they are not 
shown in the editor
Comment 1 Olivier Thomann CLA 2002-03-08 16:20:14 EST
The non-javadoc comment are not part of the method declaration. If you want to see the comment, use 
javadoc comments.
Comment 2 Erich Gamma CLA 2002-03-11 08:21:56 EST
The source range computation in the JavaModel should be smarter. When there is 
no JavaDoc but there is an ordinary multiline comment before the method then 
it should be part of the method.
Comment 3 Philipe Mulet CLA 2002-03-15 17:59:33 EST
This could be addressed in the SourceElementParser alone...
Comment 4 Philipe Mulet CLA 2002-03-21 13:42:56 EST
*** Bug 9394 has been marked as a duplicate of this bug. ***
Comment 5 Philipe Mulet CLA 2002-03-26 17:59:47 EST

*** This bug has been marked as a duplicate of 9790 ***