Getting "Request textDocument/completion failed" with latest coc-rust-analyzer
See original GitHub issue## Output channel: Rust Analyzer Language Server Trace
[Error - 10:42:43 AM] Request textDocument/completion failed.
Message: content modified
Code: -32801
[Error - 10:42:47 AM] Request textDocument/signatureHelp failed.
Message: content modified
Code: -32801
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (8 by maintainers)
Top Results From Across the Web
Request textDocument/completion failed · Issue #12408 · rust ...
i update the rust-analyzer version, not work; and re-installl it, not work; and update the rustup, not work.
Read more >VS Code rust-analyzer: Request textDocument/inlayHint failed
Hello everyone, today I encountered an annoying bug with rust-analyzer. I cloned RustCrypto's AEAD repo and opened it in VS Code, ...
Read more >User Manual - rust-analyzer
At its core, rust-analyzer is a library for semantic analysis of Rust code as it changes over time. This manual focuses on a...
Read more >coc-rust-analyzer - npm
Configuration Description Default
rust‑analyzer.enable Enable coc‑rust‑analyzer true
rust‑analyzer.terminal.startinsert Enter insert mode after terminal displayed false
rust‑analyzer.debug.runtime Choose which debug runtime to use termdebug
Read more >neoclide/coc.nvim - Gitter
Message: waiting for cargo metadata or cargo check Code: -32801 [Error - 4:18:29 PM] Sending request textDocument/documentHighlight failed.
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
Yes, RA runs
cargo check
on save.I tested a bit in a different repository and I think I found the issue… Syntax is checked continuously while compilation errors are only checked when the file is saved? Is that how it’s supposed to work? And the problem is I was testing in a file which was not imported by
lib.rs
so it was not picked up bycargo check
😨