Details

    • Type: Language-Specification
    • Status: Active
    • Resolution: Unresolved
    • Labels:
      None
    • Impact:
      Unknown 'null' severity
    • Likelihood:
      Unknown 'null' severity

      Description

      Noncompliant Code Example

      With the default value for the legalTrailingCommentPattern parameter: ^'\s*[^\s]+$

      a = b + c   ' This is a trailing comment that could be very very long  -- Noncompliant
      d = a + 9 REM This is another trailing comment which could be very very long  -- Noncompliant
      e = a * b ' FIXME  -- allowed
      

      Compliant Solution

      ' This very long comment is better placed before the line of code
      a = b + c
      REM This is very long comment which is better placed before the line of code
      d = a + 9
      e = a * b ' FIXME 
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ann.campbell.2 Ann Campbell
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: