Bug 45160 - Source Formatter: Indent using tabs should have qualifier option to use tabs only for leading indents.
Summary: Source Formatter: Indent using tabs should have qualifier option to use tabs ...
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: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-18 11:45 EDT by Robert (Kraythe) Simmons CLA
Modified: 2004-09-20 15:03 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 2003-10-18 11:45:10 EDT
if I have code that is indented using tabs then my method parameters lists 
might not line up; eg: 

public class foo {
    public void someMethod(final int xvalue,
                           final int yvalue,
                           final String name,
                           final String key);
}

If my tabs are set to 4 spaces and someone else sets them to 8 spaces then the 
indentation of my parameters wont line up. Instead, the formatter should only 
use tabs for the leading indents. This means there would be one tab and many 
spaces for the lines with the parameters in my example.
Comment 1 Olivier Thomann CLA 2003-10-20 13:38:23 EDT
Are you using a fix size font to look at the result?
Comment 2 Olivier Thomann CLA 2004-04-30 16:06:23 EDT
Will reconsider post 3.0.
Comment 3 Robert (Kraythe) Simmons CLA 2004-09-20 15:03:16 EDT
Reopening to mark duplicate.
Comment 4 Robert (Kraythe) Simmons CLA 2004-09-20 15:03:40 EDT

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