SonarQube PHP
  1. SonarQube PHP
  2. SONARPHP-191

Activate syntax highlighting on PHP source code

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.3
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      I can help on that side by extending the extension point org.sonar.api.web.CodeColorizerFormat and defining new org.sonar.colorizer.Tokenizer.

        Activity

        Hide
        Freddy Mallet added a comment -

        In this first version of the PHP source code colorizer the following tokens are highlighted :

        • PHP keywords
        • C comment
        • CPP comment
        Show
        Freddy Mallet added a comment - In this first version of the PHP source code colorizer the following tokens are highlighted : PHP keywords C comment CPP comment
        Hide
        Akram Ben Aissi added a comment -

        Resolved
        Colorizes:

        • PHP keywords
        • PHP Strings
        • PHP reserved variables

        May be improved in future versions

        Show
        Akram Ben Aissi added a comment - Resolved Colorizes: PHP keywords PHP Strings PHP reserved variables May be improved in future versions

          People

          • Assignee:
            Freddy Mallet
            Reporter:
            Freddy Mallet
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: