rust-analyzer: server hangs after a textDocument/didChange notification
Trace logs
Details
[Trace - 6:52:46 PM] Sending notification 'textDocument/didChange'.
Params: {
"textDocument": {
"version": 8,
"uri": "file:///home/cheng/Projects/Rust/tunnel-rs/tunnel/src/lib.rs"
},
"contentChanges": [
{
"range": {
"start": {
"line": 31,
"character": 0
},
"end": {
"line": 31,
"character": 0
}
},
"rangeLength": 0,
"text": "\n fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>\n where\n D: Deserializer<'de>;"
}
]
}
[Trace - 6:52:46 PM] Sending notification '$/cancelRequest'.
Params: {
"id": 36
}
[Trace - 6:52:46 PM] Sending request 'rust-analyzer/inlayHints - (38)'.
Params: {
"textDocument": {
"uri": "file:///home/cheng/Projects/Rust/tunnel-rs/tunnel/src/lib.rs"
}
}
[Trace - 6:52:46 PM] Sending notification '$/cancelRequest'.
Params: {
"id": 37
}
[Trace - 6:52:46 PM] Sending request 'rust-analyzer/inlayHints - (39)'.
Params: {
"textDocument": {
"uri": "file:///home/cheng/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.118/src/de/mod.rs"
}
}
[Trace - 6:52:47 PM] Sending request 'textDocument/formatting - (40)'.
Params: {
"textDocument": {
"uri": "file:///home/cheng/Projects/Rust/tunnel-rs/tunnel/src/lib.rs"
},
"options": {
"tabSize": 4,
"insertSpaces": true
}
}
[Trace - 6:52:48 PM] Sending notification 'textDocument/didSave'.
Params: {
"textDocument": {
"uri": "file:///home/cheng/Projects/Rust/tunnel-rs/tunnel/src/lib.rs",
"version": 8
}
}
[Trace - 6:52:48 PM] Sending notification '$/cancelRequest'.
Params: {
"id": 40
}
[Trace - 6:53:04 PM] Sending request 'textDocument/hover - (41)'.
Params: {
"textDocument": {
"uri": "file:///home/cheng/Projects/Rust/tunnel-rs/tunnel/src/lib.rs"
},
"position": {
"line": 30,
"character": 9
}
}
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 27 (10 by maintainers)
@lnicola it’s showing this while I’m sending
textDocument/hover