Skip to content

Dragging multiple files/folders are once does not update import statements #4533

@lukehutch

Description

@lukehutch

Describe the bug

If I drag a dart file from one folder to another in VSCode with Dart-Code, the imports of other dart files that depend upon that file are not updated (i.e. the imports end up broken).

Expected behavior

Import paths should be updated when files are moved.

Please complete the following information:

  • Operating System and version: Linux
  • VS Code version: code-1.78.0-1683145689.el7.x86_64
  • Dart extension version: Latest
  • Dart/Flutter SDK version: Dart SDK version: 2.19.4 (stable) (Tue Mar 7 09:58:46 2023 +0000) on "linux_x64"
  • Target device (if the issue relates to Flutter debugging):

Metadata

Metadata

Assignees

No one assigned

    Labels

    in editorRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serveris enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions