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

Bug 343774

Summary: [client] Extensible content assist
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: john.arthorne, karol, susan
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2011-04-25 16:30:20 EDT
The content assist should be pulled out and made generic. It should be possible to supply a list of keywords to be used for completion and a regex describing what files they apply to.

Since content assist is used in the minimaleditor scenario, it needs to be customizable without being forced to pull in the service registry.
Comment 2 Mark Macdonald CLA 2011-04-25 17:56:23 EDT
3. Pass prefix, selection, buffer to content assist providers:

http://git.eclipse.org/c/e4/org.eclipse.orion.client.git/commit/?id=265f1b668978ff3fd6c05a17541d22b35eee987f
Comment 3 Susan McCourt CLA 2011-04-28 16:36:18 EDT
*** Bug 342157 has been marked as a duplicate of this bug. ***
Comment 4 Mark Macdonald CLA 2011-05-03 10:53:58 EDT
This is in M7. The service provider type is "IContentAssistService".
See
 coreContentAssistPlugin.html 
 coreContentAssist.js
for example implementations of content assist contributors.