Skip to content

Moved, renamed or deleted file analysis warnings and lints don't dissapear #4658

@guidezpl

Description

@guidezpl

Describe the bug
Moved, renamed or deleted file analysis warnings and lints don't dissapear

To Reproduce
Steps to reproduce the behavior:

  1. Introduce a warning/error/lint in a file
  2. Right click → rename the file OR delete the file OR drag and drop the file

Expected behavior
Lints for the now non-existent file dissapear

Screenshots
I moved or renamed this file twice:

Screenshot 2023-07-23 at 13 35 55

Please complete the following information:

Dart Code extension: 3.68.1
Flutter extension: 3.68.0 (activated)

App: Visual Studio Code
Version: 1.80.1
Platform: mac

Workspace type: Flutter
Analyzer type: LSP
Multi-root?: false

Dart SDK:
    Loc: /Users/plg/Developer/flutter-dev/bin/cache/dart-sdk
    Ver: 3.1.0-330.0.dev
Flutter SDK:
    Loc: /Users/plg/Developer/flutter-dev
    Ver: 3.13.0-7.0.pre.40

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting infoRequires more information from the customer to progressis bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions