Disable javadoc reformatting

Hi all,

Does anybody know if there is any way to NOT reformat javadoc when I do a "Ctrl-Alt-L" in #957?

The reason why I am asking this is because if I have the following class Foo:

/**

  • Class description

*

  • <p>

  • This class does the following things:

  • <ul>

  •     <li>One...

  •     <li>Two...

  •     <li>Three...

  • </ul>

  • </p>

*/
public class Foo
{
...
}

and when I do a "Ctrl-Alt-L", it removes all the leading white space for every line and it becomes

/**

  • Class description

  • <p>

  • This class does the following things:

  • <ul>

  • <li>One...

  • <li>Two...

  • <li>Three...

  • </ul>

  • </p>

*/
public class Foo
{
...
}

And in my javadoc settings, I have everything checked except "Wrap at right margin" and "Generate "<p/> on empty lines.


Thanks,

Shing

0

请先登录再写评论。