Bug 275176 - Object literal bracket should should be auto closed if close bracket preference set
Summary: Object literal bracket should should be auto closed if close bracket preferen...
Status: RESOLVED FIXED
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0.5   Edit
Assignee: Chris Jaun CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks: 275231
  Show dependency tree
 
Reported: 2009-05-06 11:55 EDT by Chris Jaun CLA
Modified: 2010-03-03 11:17 EST (History)
0 users

See Also:
thatnitind: review+


Attachments
Updates the BracketInserter class (1.09 KB, patch)
2009-05-06 11:56 EDT, Chris Jaun CLA
thatnitind: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Jaun CLA 2009-05-06 11:55:28 EDT
Build ID: WTP 3.1

Steps To Reproduce:
In the JS editor type...

var o = {

The closing bracket should be auto inserted the same way an array literal bracket "[" is.

More information:
Comment 1 Chris Jaun CLA 2009-05-06 11:56:43 EDT
Created attachment 134640 [details]
Updates the BracketInserter class
Comment 2 Chris Jaun CLA 2009-05-06 11:57:05 EDT
Can be fixed in 3.0.5 and 3.1m7.
Comment 3 Nitin Dahyabhai CLA 2009-05-06 17:57:21 EDT
Applied, thanks, Chris.