Bug 7145 - F4 does not work outside type decl
Summary: F4 does not work outside type decl
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Martin Aeschlimann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-20 12:50 EST by Nick Edgar CLA
Modified: 2002-03-29 11:45 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Edgar CLA 2001-12-20 12:50:55 EST
Build 20011219

- open a CU
- place the cursor before or after the type declaration (e.g. in imports)
- hit F4
- it beeps

Most of the time a CU contains only a single type.  F4 should work (opening the 
hierarchy for the main type) even if the cursor is not in the type declaration 
itself.
Comment 1 Dirk Baeumer CLA 2002-01-10 09:03:27 EST
Even for compilation units with more than one type pressing F4 should open the 
public top level (it has the same name as the CU).
Comment 2 Martin Aeschlimann CLA 2002-01-11 09:49:35 EST
fixed > 20109
Comment 3 Andrew McCullough CLA 2002-03-28 11:35:22 EST
Is this really fixed?  In the March stable build (win 2000), if I hit F4 from 
within the editor the hierarchy view does NOT open.  I need to either select 
the type and hit F4 or be on the class declaration.  Can we re-open this?

-Andrew
Comment 4 Nick Edgar CLA 2002-03-28 11:46:07 EST
I'm also seeing this still in build 20020326.
Comment 5 Martin Aeschlimann CLA 2002-03-28 12:21:48 EST
reopening
Comment 6 Martin Aeschlimann CLA 2002-03-29 11:45:54 EST
checked in 20020328, F4 works for me in hierarchy, outline, editor an package 
view.

closing