Bug 77184 - [1.5][select] Code select does not select enum declarations
Summary: [1.5][select] Code select does not select enum declarations
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.1 M4   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-28 09:58 EDT by Tobias Widmer CLA
Modified: 2004-12-14 10:49 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 Tobias Widmer CLA 2004-10-28 09:58:21 EDT
I20041026: codeSelect(ICompilationUnit, int, int, WorkingCopyOwner) does not 
find enum declarations.

Steps to reproduce:
- create enum class with a few constants
- place caret on enum name
- right-click and open refactor context menu

The rename refactoring is not available since codeSelect returns null
Comment 1 Frederic Fusier CLA 2004-11-02 08:05:03 EST
Fixed in HEAD (surely while debugging search support for enum...).
I'll add this bug to JDT/Core buildnotes...
Comment 2 Markus Keller CLA 2004-11-03 10:45:34 EST
I *can't* confirm that this is fixed in HEAD on dev.eclipse.org.
Still doesn't work in my run-time workbench with org.eclipse.jdt.core from HEAD.

Either a cvsup problem or it's not fixed yet.
Comment 3 Frederic Fusier CLA 2004-11-03 11:15:19 EST
Oooops, my fault... I've done the refactoring on enums *constants* instead of
enum *name*...

Sorry for the confusion...
Comment 4 Frederic Fusier CLA 2004-11-03 11:15:42 EST
I'll remove this bug from buildnotes...
Comment 5 Frederic Fusier CLA 2004-11-03 12:03:29 EST
Bug removed from JDT/Core buildnotes...
Comment 6 David Audel CLA 2004-11-19 11:46:24 EST
Fixed and test added
  resolvetest1_5#test0024()
Comment 7 Frederic Fusier CLA 2004-12-14 10:49:25 EST
Verified for 3.1 M4 using build I200412140800.