Skip to content

Doesnt automatically save changed files when it updates the reference use for a changed mod name #21634

@ettoreciolli1

Description

@ettoreciolli1

for example use::lib becomes use::lib_db , when I change the name of the lib folder to lib_db.

but the file doesn't get saved so I see an annoying error pop up on my screen, so the fixing is pointless. I have to manually save everything, which is a huge waste of time and completely distracting.

rust-analyzer version: (eg. output of "rust-analyzer: Show RA Version" command, accessible in VSCode via Ctrl/⌘+Shift+P)

rustc version: (eg. output of rustc -V)

editor or extension: (eg. VSCode, Vim, Emacs, etc. For VSCode users, specify your extension version; for users of other editors, provide the distribution if applicable)

relevant settings: (eg. client settings, or environment variables like CARGO, RUSTC, RUSTUP_HOME or CARGO_HOME)

repository link (if public, optional): (eg. rust-analyzer)

code snippet to reproduce:

// add your code here

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions