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

Bug 357141

Summary: Content assist places cursor inside parens for built-in functions
Product: z_Archived Reporter: Justin Spadea <jspadea>
Component: EDTAssignee: Xiao Bin Chen <xiaobinc>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chenzhh
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Patch for System words postions lasher: iplog+

Description Justin Spadea CLA 2011-09-08 14:53:56 EDT
var string[];
var.getSi<ctrl+space>

This puts the cursor as follows:
var.getSize(<cursor>)

If you use content assist to complete a function defined within the part, it correctly places the cursor *after* the parens.

Here are some of the functions with the problem:

array.getSize()
array.getMaxSize()
array.removeAll()
dictionary.getValues()
dictionary.getKeys()
dictionary.size()
dictionary.removeAll()

I'm sure there's plenty of others.
Comment 1 Xiao Bin Chen CLA 2011-09-13 06:45:31 EDT
Created attachment 203232 [details]
Patch for System words postions
Comment 2 Xiao Bin Chen CLA 2011-09-13 06:46:16 EDT
This defect exists in RBD. Has been resolved. Please apply the patch.
Comment 3 Justin Spadea CLA 2011-09-14 12:59:01 EDT
Verified