Bug 68369 - [DCR] Formatter: Tabs should only be used for leading indents.
Summary: [DCR] Formatter: Tabs should only be used for leading indents.
Status: RESOLVED DUPLICATE of bug 49896
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-23 15:26 EDT by Robert (Kraythe) Simmons CLA
Modified: 2004-09-20 15:05 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 Robert (Kraythe) Simmons CLA 2004-06-23 15:26:17 EDT
When using tabs to format, they should be used only for leading indents and 
not to line up columns of parameters. For example:

public class SomeClass {
    public void someMethod() {
        System.out.println("This is a test"
                           + "of the formatter");
    }
}

In this code the second line of the println statement would be indented using 
two tabs and then 19 spaces. This would make sure that the code lines up no 
matter what users set their tabs to. This is a REALLY important thing for 
people that prefer tabs for leading indents.
Comment 1 Philipe Mulet CLA 2004-06-24 06:37:07 EDT
If happening this should be an option.

Deferred.
Comment 2 Robert (Kraythe) Simmons CLA 2004-09-20 15:05:44 EDT
Reopening to mark duplicate
Comment 3 Robert (Kraythe) Simmons CLA 2004-09-20 15:05:55 EDT

*** This bug has been marked as a duplicate of 49896 ***