Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343774 - [client] Extensible content assist
Summary: [client] Extensible content assist
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: Mark Macdonald CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 342157 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-25 16:30 EDT by Mark Macdonald CLA
Modified: 2011-09-01 11:42 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.