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

Support symbol references with different length

    XMLWordPrintable

    Details

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

      Description

      There are some cases where symbol references do not have the same length. For example enum constructor:

      public MyEnum {
        FOO("foo"),
        BAR("bar");
      
        private MyEnum(String s) {
        }
      

      When clicking on FOO we would like to also highlight the MyEnum constructor.

      As a result the Symbol references API should support different length on symbol references.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              duarte.meneses Duarte Meneses
              Reporter:
              henryju OLD - Julien HENRY
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: