Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-3893

New syntax highlighter API to not depend on sonar-channel and allow to work on multi-line tokens

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6
    • Component/s: Plugin API
    • Labels:
      None

      Description

      The current highligher API is based on the end-of-life sonar-channel library.

      It must therefore evolve in order to remove that dependency.

      In addition, it currently does not allow to work on multi-line tokens, i.e. a tokenizer is not expected to consume a line terminator. This assumption is too restrictive and should be removed, as in many languages, it is possible to have multi-line strings.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jeanbaptiste Jean-Baptiste Vilain (Inactive)
              Reporter:
              dinesh.bolkensteyn Dinesh Bolkensteyn (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: