Uploaded image for project: 'SonarCFamily'
  1. SonarCFamily
  2. CPP-1382

Highlighting for control-flow statements (goto, switch, for, while, do, break, continue)

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Component/s: Sonar Plugin
    • Labels:
      None

      Description

      To simplify understanding of control-flow:

      void example() {
        // highlight related for/while/do/switch-keyword, closing curly-brace, continue/break-keyword:
        switch (...) {
          case ...:
            break;
        }
      
        // highlight label:
        goto label;
        label:
      }
      

      This requires SONAR-5894 and SONAR-7365.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              massimo.paladin Massimo PALADIN
              Reporter:
              evgeny.mandrikov Evgeny Mandrikov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: