#31 new Check: warn about /* */ comments

Future
open
None
5
2015-10-22
2002-02-07
Oliver Burn
No

Add an option (off by default) to warn about /* */

Non of existing Checks validated this , so new Check need to be created that check size of comment, even for javadoc

Discussion

  • Tim Tyler

    Tim Tyler - 2003-06-12

    Logged In: YES
    user_id=796025

    I've implemented this check.

    It has an option - as follows:

        <module name="CStyleCommentCheck">
            <property name="ignoreJavadoc" value="true"/>
        </module>
    

    IIRC there was another wishlist item in this category
    (Dale?) - /don't/ warn on comments like:

    int foo(int foo / (winnie)/ ,int bar / (iron) /) {...

    I haven't implemented that.

     
  • Roman Ivanov

    Roman Ivanov - 2015-10-22
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,2 +1,2 @@
    -Add an option (off by default) to warn about /* */ 
    +Add an option (off by default) to warn about ```/* */ ```
     comments for anything but Javadoc.
    
    • Group: --> Future
     
  • Roman Ivanov

    Roman Ivanov - 2015-10-22
    • summary: warn about / / comments --> new Check: warn about / / comments
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,2 +1,3 @@
     Add an option (off by default) to warn about ```/* */ ```
    -comments for anything but Javadoc.
    +
    +Non of existing Checks validated this , so new Check need to be created that check size of comment, even for javadoc
    
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks