Uploaded image for project: 'SonarLint For IntelliJ'
  1. SonarLint For IntelliJ
  2. SLI-306

Generated sources should not be automatically analyzed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Component/s: None
    • Labels:
      None

      Description

      With this ticket we are fixing some bugs when deciding whether a file should be automatically analyzed or not based on Intellij's Project Structure.

      To summarize:

      • We don't analyze files that are classified as Generated (example: protobuf);
      • We don't analyze files that are classified as Ignored or Excluded (example: target folder in maven);
      • We don't analyze files that are matched by a exclusion pattern;
      • We don't analyze files that do not belong to a content root (example: files in external libraries);
      • We try to not analyze files that belong to resources (example: resources in Java projects) - this is not working for WebStorm;
      • We analyze any file that is in a content root and previous points didn't apply (example: pom.xml)

        Attachments

          Activity

            People

            • Assignee:
              duarte.meneses Duarte Meneses
              Reporter:
              duarte.meneses Duarte Meneses
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: