Uploaded image for project: 'SonarLint Core Library'
  1. SonarLint Core Library
  2. SLCORE-309

Use file suffixes in language detection even when they are not explicitly set

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3
    • Component/s: Core
    • Labels:
      None

      Description

      Language detection in the core relies on suffixes set in properties with keys sonar.<language>.file.suffixes.

      When the property is not set, the detection falls back on a static list, which can result in discrepancies with the default value declared by the plugin.

      Using the default value before the static fallback would result in a more consistent UX.

        Attachments

          Activity

            People

            Assignee:
            julien.henry Julien Henry
            Reporter:
            jeanbaptiste.lievremont Jean-Baptiste Lievremont
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: