Bug 379264 - [autoedit] Confusing deletion of parentheses
Summary: [autoedit] Confusing deletion of parentheses
Status: NEW
Alias: None
Product: Xtend
Classification: Tools
Component: Core (show other bugs)
Version: 2.3.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-11 11:04 EDT by Jan Koehnlein CLA
Modified: 2012-05-11 11:04 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Koehnlein CLA 2012-05-11 11:04:32 EDT
We should not automaticaly delete the closing parenthesis with the opening one. While it may be agreeable in cases like this 

  val x = newArrayList(|) // | cursor position

it feels odd that hitting BACKSPACE twice in this case

  val x = newArrayList(newArrayList()|)

will delete all three trailing parentheses. JDT does not delete the matching parenthesis at all.