> Creates a field like this:
>
>   private static final String[] MYFIELD = new String[]{"myvalue"};
>
> ...which is not the way I write my code ;-)

It's corrected in #608 - Introduce Field preserves original layout of the
expression.

> FWIW, running "layout" on this generated code does not produce any
> different results, so it seems IDEA is not doing anything in this
> situation, or is behaving "incorrectly" in both situations. My settings
> are to have spaces after braces etc.

There is actually no option for spaces in array initializer. Which options
would you like to add there?

> 3) Pasting code previously re-indented it nicely according to the context
> of where you pasted it. This has been broken since the first Ariadna as
> far as I know. Why? It sucks now :(

Hmm... It still works fine for us. Could you provide an example how to
reproduce this (some code fragment, selection and exact pasting position)?

Best regards,
Valentin Kipiatkov
-----------------------------------------------------------
 IntelliJ Software, http://www.intellij.com/
 "Develop with pleasure"
-----------------------------------------------------------

----- Original Message -----
From: "Marc Palmer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 27, 2002 11:51 PM
Subject: [Eap-list] Some code layout issues (605)


>
> Hi,
>
> These may have been mentioned before, but...
>
> 1) Layout code is still not wrapping lines at the right margin setting.
>
> 2) "Introduce Field..." is not using nice layout, but this may be a more
> general layout issue. i.e. introduce field on the following expression:
>
>   new String[] { "myvalue" }
>
> Creates a field like this:
>
>   private static final String[] MYFIELD = new String[]{"myvalue"};
>
> ...which is not the way I write my code ;-)
> FWIW, running "layout" on this generated code does not produce any
> different results, so it seems IDEA is not doing anything in this
> situation, or is behaving "incorrectly" in both situations. My settings
> are to have spaces after braces etc.
>
> 3) Pasting code previously re-indented it nicely according to the context
> of where you pasted it. This has been broken since the first Ariadna as
> far as I know. Why? It sucks now :(
>
> Regards,
> Marc
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ W<A> ~~~~~
> (o) Wangjammer5 (Marc Palmer)
> ( ) Wangjammer7
>
> www.wangjammers.org = Java Consultants (Web|Smartcards|Crypto)
>
>
>
> _______________________________________________
> 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