Bug 74599 - [assist] code assist should suggest classes for unknown type
Summary: [assist] code assist should suggest classes for unknown type
Status: VERIFIED DUPLICATE of bug 44627
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 trivial (vote)
Target Milestone: 3.4 M3   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-22 12:20 EDT by Dan Allen CLA
Modified: 2007-10-29 06:09 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Allen CLA 2004-09-22 12:20:17 EDT
When I am coding rather quickly, I get ahead of Eclipse by introducing types it
does not yet know about.  However, I have to interrupt my typing to update the
unknown types as soon as I need to include a method on which I need assistance.
 For instance, I might type

private static final Log log = LogFactory.

at this point Eclipse is underlining Log and LogFactory and cannot provide me
with assistance for methods and types on LogFactory.  I would expect Eclipse to
prompt me to qualify the LogFactory class at this point, knowing that next I
will be searching for a method.  Instead Eclipse just sits there, looking confused.

Now, if I were to type

private static final Log log = LogFactory

and then spawn the code assist with CTRL-Enter, I do get the prompt for the
qualification of the LogFactory class.  Once that is done, I can then enter the
"." (dot) and Eclipse will bring up known methods and types.  It would just be
nice if Eclipse was proactive here and prompted for both without needing to
specifically hit CTRL-Enter.
Comment 1 Dani Megert CLA 2004-09-23 03:31:34 EDT

*** This bug has been marked as a duplicate of 44984 ***
Comment 2 Frederic Fusier CLA 2006-10-30 11:07:05 EST
Reopen as while verifying bug 44984, comment 0 test case still get no proposal.
Comment 3 Frederic Fusier CLA 2006-10-30 11:08:44 EST
David confirms that bug 44984 fix does not handle static calls which still need some extra work...
Comment 4 Frederic Fusier CLA 2006-10-30 11:34:55 EST
Set as duplicate of original bug 44627 on static calls...


*** This bug has been marked as a duplicate of 44627 ***
Comment 5 Jerome Lanneluc CLA 2007-10-29 06:09:42 EDT
Verified for 3.4M3 using I20071029-0010