Bug 426855 - [content assist] Insert argument place-holders when different method signature selected
Summary: [content assist] Insert argument place-holders when different method signatur...
Status: CLOSED DUPLICATE of bug 25313
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.4   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-29 03:15 EST by Duncan Jones CLA
Modified: 2014-01-29 09:58 EST (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 Duncan Jones CLA 2014-01-29 03:15:19 EST
Steps to reproduce:

1. Type 'new InputStreamReader', press Ctrl-Space and from the list of available constructors select the one with a single InputStream parameter.

2. Observe that the text now reads 'new InputStreamReader([in])', where '[in]' is a place-holder for the argument.

3. Sometime later, decide that you wish to use a different overload of the constructor. Add a comma after the current argument and press Ctrl-Space. Select the overload that also includes a CharSet parameter.

4. Observe how place-holders are not added. Instead, an argument hint list is visible above the method.

My request is for this behaviour to be changed so that when I select a different overload, place-holders are inserted into my code so I can tab between them and complete them.

Desired outcome:

'new InputStreamReader(firstArgument, [cs])', where '[cs]' is a place-holder for the CharSet argument.
Comment 1 Dani Megert CLA 2014-01-29 09:58:41 EST

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