Bug 412245 - Formatter option for Align fields in columns doesn't work
Summary: Formatter option for Align fields in columns doesn't work
Status: NEW
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Chris Jaun CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-03 15:33 EDT by Arin Lipman CLA
Modified: 2013-07-03 15:34 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 Arin Lipman CLA 2013-07-03 15:33:32 EDT
In the JavaScript formatter options, there is a setting on the indentation tab to "Align fields in columns."  As far as I can tell, this setting make no change to the behavior of the formatter.  I'd expect that this would align the parameters of an object by the ":".

Example:
  Autoformatted code:
var foo =
{
   one : 1,
   two : 2,
   three : 3
}

Should be:
var foo =
{
   one   : 1,
   two   : 2,
   three : 3
}

Thanks
Comment 1 Arin Lipman CLA 2013-07-03 15:34:16 EDT
Oh... should have mentioned that I'm using the latest version of Eclipse (Keppler).