| indenting method arguments [message #266187] | 
Mon, 10 November 2008 13:33  | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: REMOVEdanielTHISPART.fgm.com 
 
Can Eclipse's Java formatter handle indenting in this style 
 
     someMethod( arg1, 
                 arg2, 
                 arg3 ... 
 
as well as in this style: 
 
     ...someMethod( 
         arg1, 
         arg2, 
         arg3 ... 
 
at the same time? 
 
 
That is: 
- if the user puts the first argument on initial line, just align subsequent 
   argument lines at the column of the first argument; and 
- if the user puts the first argument on a new line, indent that line one 
   level deeper than the previous statement (still aligning subsequent 
   argument lines at the column of the first argument). 
 
Thanks, 
Daniel
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.17135 seconds