Bug 73189 - Formatter doesn't work well with tabs
Summary: Formatter doesn't work well with 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 normal (vote)
Target Milestone: ---   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-02 17:15 EDT by testmime2004 CLA
Modified: 2005-03-29 14:25 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description testmime2004 CLA 2004-09-02 17:15:32 EDT
Code is not properly aligned when tabs are used.

A mix of tabs and spaces could be used to ensure that method arguments lined up
properly, like this:

___// underscores represent tabs and periods represent spaces
___public void foo(String id,
___................String name,
___................String address)
___{
______String id;
______String name;
______String address;
___}

Jalopy uses this technique when formatting with tabs.
Comment 1 Olivier Thomann CLA 2005-02-08 13:55:30 EST
Isn't this a duplicate of bug 73104? You would use a mixed of tabs and spaces.
Comment 2 Olivier Thomann CLA 2005-03-29 14:25:21 EST

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