Bug 80449

Summary: [F3] does not operate Open Declaration
Product: [Eclipse Project] JDT Reporter: okano <okano.wataru>
Component: CoreAssignee: David Audel <david_audel>
Status: RESOLVED WORKSFORME QA Contact:
Severity: trivial    
Priority: P3    
Version: 3.0.1   
Target Milestone: 3.3 RC4   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description okano CLA 2004-12-08 02:40:36 EST
First of all, it is a mistake to substitute int for char.
However, this does not operate in INT right-hand side.

class X {
  static final int INT = 1;
  char[] array = {INT, INT, };
}
Comment 1 Dirk Baeumer CLA 2004-12-08 05:45:04 EST
Can you please be a little bit more specific. What doesn't work. What do you do
and what is the result versus what do you expect.

Please see also
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-text-home/development/bug-incomplete.htm
Comment 2 okano CLA 2004-12-08 19:36:55 EST
I am sorry, it was absent-minded.
Open Declaration not work in right hand INT.
[Ctrl-Left-Click] or [F3] or [Right-Click] and [O].
Open Declaration work in left hand INT, that selected INT declaration.
Comment 3 Dirk Baeumer CLA 2004-12-09 04:19:00 EST
Reopening
Comment 4 Dirk Baeumer CLA 2004-12-09 04:32:47 EST
Code select doesn't return something when activating on the second it. To
clarify the test case

class X {
  static final int INT = 1;
  char[] array = {INT, INT, };
}

Code select works when >...< is selected in {>INT<, INT, }
Code select doesn't work when >...< is selected in { INT, >INT<, }

Moving to Core.
Comment 5 David Audel CLA 2007-06-21 04:27:50 EDT
Cannot reproduce using 3.3RC4.
The bug has been fixed in a previous build.