Just downloaded 629.
It is simplier to see on example:
...
private static class XXXComparator implements Comparator {
public int compare( Object o1, Object o2 ) {
XXX m1 = (XXX) o1;
XXX m2 = (XXX) o2;
// bla
return m1.compareTo(m2);
}
}
Now I select these 2 lines with XXX and paste it after "bla" and get:
...
private static class XXXComparator implements Comparator {
public int compare( Object o1, Object o2 ) {
// bla
XXX m1 = (XXX) o1;
XXX m2 = (XXX) o2;
return m1.compareTo(m2);
}
}
I'm pretty sure that 2.5.2 based it's indent on surrounding method, not on
overall file indents.
The same story also happens when I make "Layout code..." on whatever selection.
Not I must either not use this otherwise excellent feature or reformat on open
all the files I'm editing.
Code had tabs and 4 space indents in some places.
Current IDEA settings:
TAB = 2
Indent = 2
Continuation = 4
Reformat pasted block = Reformat
(I can send my xmls if needed)
Quite annoying :(
Anton
_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs