Bug 63343 - Code formatter needs to be able to aligh on first character.
Summary: Code formatter needs to be able to aligh on first character.
Status: RESOLVED WONTFIX
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: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 49896
Blocks:
  Show dependency tree
 
Reported: 2004-05-20 19:03 EDT by Robert (Kraythe) Simmons CLA
Modified: 2009-08-30 02:38 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-05-20 19:03:55 EDT
When alligning chains of arguments, initializer elements or so on, I like to 
line them up on the column of the first item such as: 

final String strs = {"Hi", "How are you", "What is up"
                     "buon giorno", "Guten Morgen"};

or 

int x = foo(cvalue, avalue, dvalue 
            fvalue, gvalue);
Comment 1 Olivier Thomann CLA 2004-05-20 21:29:27 EDT
Reconsider post 3.0.
Comment 2 Robert (Kraythe) Simmons CLA 2004-05-21 06:55:03 EDT
Strange you should do this as I have seen far more developers align parameters 
in the way I mention instead of the options currently in eclipse. In fact, in 
my experience this has been the single most common way to align things. 
Comment 3 Robert (Kraythe) Simmons CLA 2004-06-09 03:49:08 EDT
Why was this marked as later? From my observations this is the single most 
commonly used indenting technique. I simply wouldnt consider using the 
formatter until it can do this. The other techniques I find irritating in the 
extreme. For now I suppose I will stick with Jalopy. 
Comment 4 Robert (Kraythe) Simmons CLA 2004-09-20 14:57:08 EDT
This only works when not using tabs because of bug 49896.
Comment 5 Eclipse Webmaster CLA 2009-08-30 02:38:50 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.