Bug 364679 - The cursor won't jump to the right of the ')' when it inside a '()'
Summary: The cursor won't jump to the right of the ')' when it inside a '()'
Status: NEW
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2011-11-24 02:40 EST by Lipeng Mising name CLA
Modified: 2016-09-13 03:45 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lipeng Mising name CLA 2011-11-24 02:40:48 EST
Build Identifier: 

In xtend editor, when type '(', it will append a ')' automatically, now it looks like ('|' means the cursor): 

    (|)

Now press 'enter', it becauses:

    (
        |
    )

But in Java editor, it will be:

    ()|

I think it's better to provide same behavior like Java's.

Reproducible: Always
Comment 1 Karsten Thoms CLA 2016-09-13 03:45:44 EDT
Happens only when the brackets belong to a method call.