| Summary: | [projection][navigation] Open Declaration doesn't unfold if file not already open | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | James Synge <james.synge> |
| Component: | Text | Assignee: | JDT-Text-Inbox <jdt-text-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.3 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | stalebug | ||
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |
Build ID: I20070323-1616 Steps To Reproduce: 1. Copy and paste the two java classes below into separate java files in the default package of some java project. 2. Ensure that automatic folding of inner classes is enabled. 3. Close OuterTarget.java 4. Place the cursor in the word targetMethod in RefToTarget.java. 5. Choose Open Declaration (F3). 6. OuterTarget.java is opened, but InnerTarget is not unfolded. 7. With OuterTarget still open, return to RefToTarget, and press F3 again. 8. InnerTarget is now unfolded, and targetMethod is highlighted correctly. More information: Here are two trivial Java files to demonstrate this with: ----------- Start RefToInnerTarget public class RefToInnerTarget { public void myMethod(OuterTarget.InnerTarget ref) { ref.targetMethod(); } } ----------- End RefToInnerTarget ----------- Start RefToInnerTarget public class OuterTarget { public interface InnerTarget { void notTheTargetMethod(); void targetMethod(); void alsoNotTheTargetMethod(); } } ----------- End OuterTarget