Bug 23299 - Enhance Code completion
Summary: Enhance Code completion
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 2.1 M5   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-08 02:17 EDT by Sam CLA
Modified: 2003-01-22 11:03 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 Sam CLA 2002-09-08 02:17:18 EDT
Enhance the following code completion?

In a method of a class, I type

private void aMethod() {
    String aStr = <code complete here (i.e. CTRL-SPACE)>

the code complete will list out all the methods which return String and are
assessible by the current scope,
and will list out constructors of the class String as well?

Thank you.
Comment 1 Philipe Mulet CLA 2002-09-16 05:08:08 EDT
Constructors are only proposed behind the new keyword.

We are currently working on improving the sorting of the matches based on type 
expectation. 
Comment 2 David Audel CLA 2003-01-22 11:01:35 EST
Currently the proposals are all methods. But the methods which return String 
are on the top of the list.

String s = new <cursor>
If you do ctrl+space then type String is the first proposal.
Comment 3 David Audel CLA 2003-01-22 11:03:26 EST
Closing.