Bug 306383 - Need a way to configure content assist auto-activation's time
Summary: Need a way to configure content assist auto-activation's time
Status: RESOLVED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.sse (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.3 M6   Edit
Assignee: Rakesh CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2010-03-18 11:01 EDT by Nick Sandonato CLA
Modified: 2011-02-25 15:52 EST (History)
2 users (show)

See Also:
nsand.dev: review+


Attachments
patch (31.71 KB, patch)
2010-08-06 05:04 EDT, Rakesh CLA
nsand.dev: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Sandonato CLA 2010-03-18 11:01:13 EDT
Right now, the time before auto-activation of content assist is set at 500ms via a preference. However, there is no UI available for users to adjust this time.
Comment 1 David Williams CLA 2010-03-30 00:55:12 EDT
Is this a "platform bug", or do you mean Platform allows it, and we do not pickup that preference in our content assist?
Comment 2 Nitin Dahyabhai CLA 2010-03-30 03:23:02 EDT
There's no Platform preference, we have one internally that we set along with our auto-activation characters.  I thought it fell under the accessibility checklist for "Provide an option to adjust the response times on timed instructions", seeing as how the characters are controllable but the delay is not.
Comment 3 Rakesh CLA 2010-08-06 05:04:32 EDT
Created attachment 176009 [details]
patch

option added for auto activation delay.
Comment 4 Nick Sandonato CLA 2011-02-25 15:52:51 EST
Patch looks good overall, Rakesh. I changed a couple things like having to override the autoActivation preference in the StructuredTextViewerConfiguration for initialization of the ContentAssistant. Instead this is handled within the StructuredContentAssistProcessor subclasses much like it's done with the activation characters. Also, I changed the empty string case so that the preference page is flagged as invalid, so you can't press OK or Cancel.