No automatic reload when Cargo.toml modified outside of Vim
See original GitHub issueWhen I add a crate using cargo add
there is no update to the completion and I have to restart the editor for the changes to take place (or run :CocCommand rustAnalyzer.reload
)
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Neovim-lsp reload on Cargo.toml change - Editors and IDEs
This happens automatically in VSCode with rust-analyzer plugin. But the only way I have found to make it work in nvim by closing...
Read more >User Manual - rust-analyzer
Automatically refresh project info via cargo metadata on Cargo.toml or .cargo/config.toml changes. rust-analyzer.cargo.buildScripts.enable (default: ...
Read more >Auto-reloading a file in VIM as soon as it changes on disk
Automatically causes vim to reload files which have been written on disk but not modified in the buffer since the last write from...
Read more >rust-analyzer failed to discover workspace in vscode
The rust-analyzer needs a Cargo.toml to detect the workspace. ... In vsCode if you open just your cargo package directory and not enter ......
Read more >flutter_rust_bridge 1.0.3 | Dart Package - Pub.dev
High-level memory-safe binding generator for Flutter/Dart <-> Rust. ... Modify Cargo.toml to change cdylib to staticlib . (Again, this is baremetal example ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
coc-rust-analyzer v0.35.0 will watch Cargo.toml changes, then run
rust-analyzer.reloadWorkspace
to fetch metadata. You need to install https://facebook.github.io/watchman/.Amazing! Thanks for this 😁