Bug 85903 - [content assist] Code completion for method call parameters
Summary: [content assist] Code completion for method call parameters
Status: RESOLVED DUPLICATE of bug 25313
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.2   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-19 11:24 EST by Eugene Kuleshov CLA
Modified: 2006-05-19 11:51 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 Eugene Kuleshov CLA 2005-02-19 11:24:36 EST
When adding a method or constructor parameters you can see formal parameters
names help when type Ctrl-Shift-Space. Please add these names to the code
completion for Ctrl-Space.
Comment 1 Dani Megert CLA 2005-02-21 11:06:23 EST
Can you provide more details of what you'd expect to see? An example would help too.

Please reopen once the information has been provided.
Comment 2 Eugene Kuleshov CLA 2006-05-19 11:28:34 EDT
Let's say I have the following constructor:

  public AAAA(String name, String value) {
    
  }
  
Now, when i type "new AAAA(" I'd like to see "name" and "type" in the autocompletion on Ctrl-Space (currently in 3.2 it shows constructor details there but it does nothing), so I'd like to use parameter names from the constructor declaration and use quick-fix to create local variables on the next step. Same applies to the regular methods.

It is weird actually. For method I can type method name, hit Ctrl-Space (before typing "(") and choose method from the offered list, it fills the arguments using local vars. However this does not work for constructors.
Comment 3 Tom Hofmann CLA 2006-05-19 11:51:16 EDT

*** This bug has been marked as a duplicate of 25313 ***