Skip to content

Support onWillRenameFiles to allow automatic updates to imports #984

@DanTup

Description

@DanTup

Similar to #873, but for will instead of did. This is the equiv of onWillRenameFiles: Event<FileWillRenameEvent> in VS Code.

Some language servers (including Dart) need to build the edits for updating import statements before the files are moved, so only telling the server after the event would not be enough.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiesnew request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions