Do not send inlay hint refresh requests on file edits See https://github.com/rust-lang/rust-analyzer/issues/13369#issuecomment-1695306870 Editor itself is able to invalidate hints after edits, and /refresh was sent after editor reports changes to the language server. This forces the editor to either query & invalidate the hints twice after every edit, or wait for /refresh to come before querying the hints. Both options are rather useless, so instead, send a request on server startup only: client editors do not know when the server actually starts up, this will help to query the initial hints after editor was open and the server was still starting up. |
||
|---|---|---|
| .. | ||
| src | ||
| tests/slow-tests | ||
| build.rs | ||
| Cargo.toml | ||