Bug with Ctrl-Shift-F and /** <pre>? [message #237364] |
Tue, 17 October 2006 10:55  |
Eclipse User |
|
|
|
Originally posted by: rongwrook.yahoo.com
Write a javadoc comment with the <pre> tag, e.g.
/**
* <pre>
* Foo
* Fie
*/
Now hit Ctrl-Shift-F (with no selection, so it formats the whole
file). Each time you do this, the text of the comment gets indented,
so that after repeated Ctrl-Shift-F's you have
/**
* <pre>
* Foo
* Fie
*/
Is this a bug? Is it already familiar to anyone? Is there a workaround?
Thanks
jim
PS
Curiously, it doesn't do this if you only have one line, e.g.
/**
* <pre>
* Foo
*/
|
|
|
Re: Bug with Ctrl-Shift-F and /** <pre>? [message #237370 is a reply to message #237364] |
Tue, 17 October 2006 11:41  |
Eclipse User |
|
|
|
Jim Goodwin wrote:
> Write a javadoc comment with the <pre> tag, e.g.
>
> /**
> * <pre>
> * Foo
> * Fie
> */
>
> Now hit Ctrl-Shift-F (with no selection, so it formats the whole
> file). Each time you do this, the text of the comment gets indented,
> so that after repeated Ctrl-Shift-F's you have
>
> /**
> * <pre>
> * Foo
> * Fie
> */
>
> Is this a bug? Is it already familiar to anyone?
Yes, the bug is known - check bugzilla (JDT Core component).
Dani
> Is there a workaround?
>
> Thanks
> jim
>
> PS
> Curiously, it doesn't do this if you only have one line, e.g.
>
> /**
> * <pre>
> * Foo
> */
|
|
|
Powered by
FUDForum. Page generated in 0.04205 seconds