Skip to content

"Analyze All Open Files" analyzes more files than are open #7

@fourls

Description

@fourls

Prerequisites

  • This bug is in DelphiLint, not SonarDelphi, SonarQube, or my Delphi code.
  • This bug has not already been reported.

DelphiLint version

0.7.0

SonarDelphi version

1.3.0

SonarQube version

No response

Issue description

Occasionally, the "Analyze All Open Files" action in the Delphi IDE analyzes more files than are actually open.
In these cases the files seem to be recently closed files (as observed in logs).

This is inconvenient as:

  • Analyzing unnecessary files increases scan time
  • Visual feedback to the user is incorrect (e.g. the Analyzing X.pas + Y more... message is wrong)

Steps to reproduce

Unclear. It seems to be related to closing large numbers of files at once?

Minimal Delphi code exhibiting the issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingclientAffects the DelphiLint client IDE plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions