Bug 296808 - Varargs method declaration content assist seems to complete unintentionally
Summary: Varargs method declaration content assist seems to complete unintentionally
Status: CLOSED DUPLICATE of bug 84026
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-03 09:29 EST by Remy Suen CLA
Modified: 2009-12-03 09:31 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 Remy Suen CLA 2009-12-03 09:29:20 EST
I20091126-2100

I want to define a method like so...

void v(String... filters)

...now once I get here...

void v(String..<cursor>

...and I add the final period and hit the space bar, I get this...

void v(String...strings <cursor>

...when I would've liked to have just got this instead...

void v(String... <cursor>

The insertion of 'strings' with a space at the back instead of the front would be bug 99008 but I feel that my problem here is different. I suppose this is one of the drawbacks of having 'Insert single proposals automatically' turned on? Is this considered a WONTFIX? :/
Comment 1 Remy Suen CLA 2009-12-03 09:31:55 EST

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