<Ctrl>-<Alt>-F
or Tools->Layout Code
will format to your settings.
Erik Beeson wrote:
> It would be cool if IDEA could change the format of already written code
> from:
>
> public class Foo
> {
> public static void main(String[] args)
> {
> ...
> }
> }
>
> To:
>
> public class Foo {
> public static void main(String[] args) {
> ...
> }
> }
>
> Including changing spaces to tabs and moving the braces. Is this already
> in there and I'm just not looking in the right place?
>
> --Erik
>
> _______________________________________________
> Eap-features mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-features
----------------------------------------------------------------------------
----------------------------------------------------------------------------
This Email may contain confidential and/or privileged information and is
intended solely for the addressee(s) named. If you have received this
information in error, or are advised that you have been posted this Email by
accident, please notify the sender by return Email, do not redistribute it,
delete the Email and keep no copies.
_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features