Bug 80449 - [F3] does not operate Open Declaration
Summary: [F3] does not operate Open Declaration
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0.1   Edit
Hardware: PC Windows 2000
: P3 trivial with 1 vote (vote)
Target Milestone: 3.3 RC4   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-08 02:40 EST by okano CLA
Modified: 2007-06-21 04:27 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 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.