Skip to content

Add option to analyze all VCS changed files #3

Description

@fourls

Prerequisites

  • This improvement has not already been suggested.
  • This improvement would be generally useful, not specific to my code or setup.

Engine area

Delphi IDE integration

Improvement description

A common use case for DelphiLint is to scan changed files before committing them to source control, to ensure that any Sonar issues aren't inadvertently committed. To facilitate this, DelphiLint should add an option to "Analyze VCS Changed Files" in addition to the current "Analyze Active File" and "Analyze All Open Files".

This is a feature SonarLint already has, see IntelliJ:

image

Rationale

It can be annoying to open and scan all changed files manually, and it has been proven convenient by its inclusion in SonarLint already.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    clientAffects the DelphiLint client IDE plugincompanionAffects the DelphiLint VS Code companionenhancementNew feature or requestserverAffects the DelphiLint server

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions