Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 134073

Summary: [content assist] Control+Space Bar doesn't auto-fill text when there's only one option
Product: [WebTools] WTP Source Editing Reporter: Ferran Gurri <fgurri>
Component: wst.sseAssignee: Nick Sandonato <nsand.dev>
Status: RESOLVED FIXED QA Contact: Nitin Dahyabhai <thatnitind>
Severity: enhancement    
Priority: P3 CC: itewksbu, mauromol, nsand.dev, thatnitind
Version: 1.0Keywords: plan
Target Milestone: 3.4 M5Flags: nsand.dev: review+
Hardware: PC   
OS: Windows XP   
Whiteboard: EaseOfUse
Attachments:
Description Flags
patch
none
patch
none
updated patch none

Description Ferran Gurri CLA 2006-03-30 09:08:47 EST
Really a minor bug...

When in a java file you press Control + Space Bar you get all possibilities that contextually fit in. When there's only one it automatically writes it down for you.

It does not happen in a jsp file.

Thanks.
Comment 1 David Williams CLA 2006-04-25 00:31:50 EDT
Amy, I suspect preference related. 
Comment 2 Nick Sandonato CLA 2008-12-16 14:02:37 EST
Created attachment 120619 [details]
patch

Adds auto-inserting for single proposals for items that are non-template proposals.
Comment 3 Nick Sandonato CLA 2008-12-16 15:06:37 EST
Created attachment 120631 [details]
patch

Would have had a leaky property change listener.
Comment 4 Ian Tewksbury CLA 2010-04-05 14:22:12 EDT
This is still an issue in WTP 3.2, but I suspect that Bug 258999 has made this patch invalid.
Comment 5 Nick Sandonato CLA 2010-04-05 14:30:35 EDT
Yeah. It's invalid now. Though, we wanted cycling to be in before we auto-inserted the single proposal.
Comment 6 Nick Sandonato CLA 2011-08-22 16:52:31 EDT
Created attachment 201956 [details]
updated patch
Comment 7 Nick Sandonato CLA 2012-01-10 15:40:02 EST
Tweaked the granularity a bit, so that each editor has its own auto-insert preference.