Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Shouldn't changes in Cargo.toml trigger the check? #71

Closed
augustocdias opened this issue Oct 1, 2021 · 1 comment
Closed

Shouldn't changes in Cargo.toml trigger the check? #71

augustocdias opened this issue Oct 1, 2021 · 1 comment

Comments

@augustocdias
Copy link

Pretty much the title.

If I change the Cargo.toml file and add a dependency it is not rechecking to add this dependency into rust-analyzer's context and the lsp never sees these crates until I reload the whole project.

Is there a way to accomplish this?

@simrat39
Copy link
Owner

simrat39 commented Oct 2, 2021

Looks like we need a custom command and an autocommand. For now you can run CargoReload in any rust buffer after updating your Cargo.toml

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants