Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357141 - Content assist places cursor inside parens for built-in functions
Summary: Content assist places cursor inside parens for built-in functions
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Xiao Bin Chen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-08 14:53 EDT by Justin Spadea CLA
Modified: 2017-02-23 14:18 EST (History)
1 user (show)

See Also:


Attachments
Patch for System words postions (1.78 KB, patch)
2011-09-13 06:45 EDT, Xiao Bin Chen CLA
lasher: iplog+
Details | Diff

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