Bug 374718 - [formatter] White Space options should offer "TAB"
Summary: [formatter] White Space options should offer "TAB"
Status: NEW
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Chris Jaun CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-19 22:12 EDT by Tudor Holton CLA
Modified: 2013-06-19 11:09 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 Tudor Holton CLA 2012-03-19 22:12:51 EDT
Build Identifier: 20120216-1857

In the formatter, under the "White Space" tab, all the options are simple two-state checkboxes.

In my case, I wish to add a TAB before assignment operators to make my assignment values line up nicely.  The formatter does not offer a "TAB before assignment option".

As a general case, it would provide finer grain control to offer a three-state box, or a "specify delimiter" setting for the options under the White Space tab.

So I would like to request either three options for each setting under the White Space tab:
1) None
2) Space
3) TAB
or the current two-state checkbox plus an additional "specify delimiter" box.


Reproducible: Always

Steps to Reproduce:
1.Go to Window->Preferences->Javascript->Code Style->Formatter
2.Click "Edit" under "Active Profile:"
3.Click on the "White Space" tab
4.Click on any of the options in the top box, such as "Expressions->Assignments"
5.See that there is a checkbox, and no option to specify that a TAB should be used "before assignment operator"