Pasting comment in Java editor odd behavior. [message #776483] |
Sun, 08 January 2012 09:46  |
Eclipse User |
|
|
|
I'm a newbie here so I apologize if I should be asking this in another forum.
When I copy/past a block of text in the Java editor that starts with a double-slash comment line, the indentation on the comments is removed and the line is oddly reformatted.
For example, pasting this text:
// This is a comment.
int i = 0;
results in this:
// This is a comment.
int 0;
It's a nit, but I run into it a lot and it's aggravating.
Does anyone know how to tweak this behavior, and thanks.
Fzen
|
|
|
Re: Pasting comment in Java editor odd behavior. [message #776841 is a reply to message #776483] |
Mon, 09 January 2012 06:01  |
Eclipse User |
|
|
|
On 08.01.2012 15:46, Franzen Balthazar wrote:
> I'm a newbie here so I apologize if I should be asking this in another
> forum.
>
> When I copy/past a block of text in the Java editor that starts with a
> double-slash comment line, the indentation on the comments is removed
> and the line is oddly reformatted.
>
> For example, pasting this text:
>
> // This is a comment.
> int i = 0;
>
>
>
> results in this:
>
> // This is a comment.
> int 0;
>
>
>
> It's a nit, but I run into it a lot and it's aggravating.
I can't reproduce this. Please file a bug against JDT Text with steps to
reproduce it.
Dani
> Does anyone know how to tweak this behavior, and thanks.
>
> Fzen
|
|
|
Powered by
FUDForum. Page generated in 0.08917 seconds