as for 3., I have been wondering whether all ;-) thinkable 
method parameter alignment styles could be supported, 
specifically not just

    myMethod( arg1, 
                     arg2 );

but also 

    myMethod( arg1, 
                     arg2 
                 );

and 

    myMethod( 
                     arg1, 
                     arg2 
                 );

and 

    myMethod( 
                      arg1        // comment 1
                    , arg2              // comment 2 
                    , arg3              // comment 3 
                    , arg4              // comment 4 
                    , arg5              // comment 5 
                 );

(I know this last one may look funny to some but it has 
proven to be quite useful in some places - and it makes it 
harder to miss out on putting the commas in their place.)

I think all of this boils down to building some more variants 
of style into the formatter (that I like very much, haven't
said this for a while :-), which I'd love to see ... 

Christian Frederking


> -----Original Message-----
> From: Rick Vestal [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, March 01, 2002 7:30 PM
> To:   [EMAIL PROTECTED]
> Subject:      [Eap-list] bug reports
> 
> Red Hat 7.2
> IDEA build 607
> 
> 1.  After doing a rename refactoring of a currently opened source file that 
> has not been saved (and has been modified...say from a rename refactoring), 
> the tab for the window does not have its name changed until after the file 
> has been saved.
> 
> 2.  The output path for a project is sometimes not placed on the classpath 
> when external tools are launched (such as the integrated Test capability).  A 
> restart of IDEA seems to correct the situation.
> 
> 3.  The align parameters in method calls doesn't appear to work quite right.  
> 
> If I type:
> 
>     myMethod( arg1, <return>
> 
> The cursor is then placed underneath the 'm' in myMethod.  If I then go back 
> to the line with myMethod and finish the call and then place my cursor after 
> the 'arg1,' and hit return, the cursor (and the rest of the line) is 
> correctly placed underneath the arg1 as below (the cursor is at the 'a' in 
> 'arg2'.
>     
>     myMethod( arg1, 
>                      arg2 );
> 
> It seems to me that in the first case, hitting return should put me set up to 
> align the parameters.
> 
> 
> -- Rick
> 
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list

_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to