Bug 54512 - [navigation] Use element under caret as ShowIn source
Summary: [navigation] Use element under caret as ShowIn source
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 2.1.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-11 13:52 EST by David Screen CLA
Modified: 2007-03-28 07:03 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Screen CLA 2004-03-11 13:52:39 EST
This may be a bug report or feature request. When I first started using 
Eclipse, I would right-click on a java type and go "Show in Package Explorer" 
expecting to see the type that I had clicked on appear. Instead the class that 
i was navigating in would appear in the package explorer view.

I think my desired behaviour occurs for "Open Type Hierarchy". e.g.

if on a valid type, then show it in package expl.
otherwise show the current class.

Thanks!
Comment 1 Martin Aeschlimann CLA 2004-03-15 05:52:37 EST
It's intended to show just the file, but your feature request is noted.
Comment 2 Martin Aeschlimann CLA 2006-06-12 08:31:06 EDT
Moving to editor.
Comment 3 Dani Megert CLA 2006-06-12 09:01:21 EDT
Show In Package Explorer has been replace by
  Show In > Package Explorer
which is context sensitive.
Comment 4 Martin Aeschlimann CLA 2006-06-12 11:27:38 EDT
No I think the request was that when Show In is used on e.g Widget, a code resolve is done and Widget is revealed.
Comment 5 Dani Megert CLA 2006-06-12 11:37:10 EDT
Currently we show the surrounding element. We could change this to show the element under the caret.