Bug 97877 - [1.5][comments] enum constant declaration does not include trailing comment
Summary: [1.5][comments] enum constant declaration does not include trailing comment
Status: VERIFIED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 RC4   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-01 11:11 EDT by Frederic Fusier CLA
Modified: 2007-06-21 12:30 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Fusier CLA 2005-06-01 11:11:46 EDT
Using 3.1 RC1.

Consider code snippet:
public enum Test {
	TEST // comment
}

I opened ASTView on it and select EnumConstantDeclaration node: in editor "TEST"
is selected accordingly. Then, I double-click on same node to see its extended
range.
Expected: "TEST // comment" to be selected
Observed: only "TEST" still selected
Comment 1 Frederic Fusier CLA 2005-06-13 04:10:46 EDT
Defer post 3.1
Comment 2 Frederic Fusier CLA 2005-08-05 04:50:54 EDT
Reopen for 3.2
Comment 3 Frederic Fusier CLA 2006-03-30 08:37:05 EST
Defer post 3.2
Comment 4 Frederic Fusier CLA 2007-06-21 09:53:07 EDT
Reopen as LATER is deprecated...
Comment 5 Frederic Fusier CLA 2007-06-21 09:53:46 EDT
It works correctly now using 3.3 RC4...