>From what I can see, pasted code is not indented if the final line of the
pasted code does not end in a newline (or is blank)
Mucking around with this...
public class Simple {
int thing = 0;
public void method1() {
for (int i = 0; i < 5; i++) {
thing++;
thing += 2;
}
}
public void method2() {
}
}
Cutting and pasting whole lines works fine (by using the mouse on the line
numbers, or using shift-down in column 0.) But... suppose you select
between the carets (i.e. you don't have a terminating newline):
| thing++;
thing += 2;|
I can't find anywhere to paste this between method2's {}'s to make it
indent. At the very least I would expect (and want) "thing++;" to be
aligned properly.
I'm using #531, JDK 1.3.1_01 on Win 2000.
Great work Intellij.
Ash
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Valentin Kipiatkov
> Sent: 6 December 2001 15:19
> To: [EMAIL PROTECTED]
> Subject: Re: [Eap-features] RE: [Eap-list] pasting a selection should
> paste with users style
>
> Could you please provide more detailed description of your
> problem? That is,
> provide some example where you paste some text and it is not indented
> properly.
>
> Best regards,
> Valentin Kipiatkov
> -----------------------------------------------------------
> IntelliJ Software, http://www.intellij.com/
> "Develop with pleasure"
> -----------------------------------------------------------
_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features