Reformating Javadoc

Hi all,
We have set IDEA to reformat code whenever it is committed to the cvs repository. This is really nice. The only thing that disturbs our happiness is the fact that also the manually layed out Javadoc gets realligned. This is particularly disappointing with Lists:

  • Item one... with two lines of text
  • Item two ]]>

  • becomes
  • Item one... with two lines of text
  • Item two]]>


  • It seems that we currently are only using list, but when i think about it I would also like tables un-reformatted (maybe even 'ascii-aligned'), but under no circumstances the automatic reformatting should destroy the handcrafted alignment.

    I hope that this is possible somehow, or there might be a plugin alinging javadoc properly, but I don't find the right checkbox combination...
    What are my options, your recommendations, should I submit a feature request?

    Cheers
    Erwin

    2 comments
    Comment actions Permalink

    Erwin Achermann wrote:

    Hi all,
    We have set IDEA to reformat code whenever it is committed to the cvs repository. This is really nice. The only thing that disturbs our happiness is the fact that also the manually layed out Javadoc gets realligned. This is particularly disappointing with Lists:
    >

  • Item one... > with two lines of text >
  • Item two > > ]]>

  • becomes
  • Item one... with two lines of text
  • Item two]]>


  • It seems that we currently are only using list, but when i think about it I would also like tables un-reformatted (maybe even 'ascii-aligned'), but under no circumstances the automatic reformatting should destroy the handcrafted alignment.

    I hope that this is possible somehow, or there might be a plugin alinging javadoc properly, but I don't find the right checkbox combination...
    What are my options, your recommendations, should I submit a feature request?

    Cheers
    Erwin

    It is currently possible to switch off javadoc formating completely. The checkbox is located under JavaDoc tab in code
    style settings dialog.

    --
    Maxim Shafirov
    IntelliJ Labs / JetBrains Inc.
    http://www.intellij.com
    "Develop with pleasure!"

    0
    Comment actions Permalink

    Thanks for pointing me to the right checkbox. However this is the answer I didn't hope for.
    We liked the ascii-alignement of the parameters, the introduction of

    and the introduction to have an empty line beween text and parameters... But oh well. I will add a feature reqeust, that wrapping should be a bit more intelligjnt with respect to at least
  • ]]> tags.
  • 0

    Please sign in to leave a comment.