question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 3 years ago
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
fannheywardcommented, Apr 8, 2020

Yes, RA runs cargo check on save.

0reactions
kevholdercommented, Apr 8, 2020

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 by cargo check 😨

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found