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

Bug 423010

Summary: contentAssist proposal overwrite parameter is needed but undocumented
Product: [ECD] Orion Reporter: Chris McGee <cbmcgee>
Component: EditorAssignee: Project Inbox <orion.editor-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Chris McGee CLA 2013-12-02 22:33:59 EST
There is no documentation for the really useful "overwrite" parameter for proposals. There is no other obvious way to replace characters the user typed to filter the proposals but does not match the case of the letters of the proposal.

https://orion.eclipse.org/help/index.jsp?topic=%2Forg.eclipse.orion.doc.isv%2FWikiDoc%2FOrion%2FDocumentation%2FDeveloper_Guide%2FPlugging_into_the_editor%2Forion-edit-contentAssist.html

For example, the user may start with this:

myObject.tos<Ctrl-Space>

Which might bring up this proposal in Java:

MyObject.tos |------------|
             | toString() |
             |------------|

The proposal can try to be smart and try to use substring matching but in this case it won't match the lower-case 's' with the upper-case 'S.'

With the overwrite parameter the proposal can be "toString()" and the Orion editor replaces the "tos."
Comment 1 John Arthorne CLA 2015-05-05 14:52:06 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html