diff options
| author | bors <bors@rust-lang.org> | 2023-09-08 10:35:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-09-08 10:35:23 +0000 |
| commit | b67606c4e27e626f84ee86651616462b7dfaa4c8 (patch) | |
| tree | 6203fa734e9b3134561c6b34bdc9f44c19c0186d /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | 548d2f08e08685461ee8e1e35b8837370a51e4f6 (diff) | |
| parent | 62d189702c7a14bfd17384f8000a0dcb1ce7fe6b (diff) | |
| download | rust-b67606c4e27e626f84ee86651616462b7dfaa4c8.tar.gz rust-b67606c4e27e626f84ee86651616462b7dfaa4c8.zip | |
Auto merge of #15529 - SomeoneToIgnore:less-inlay-hint-refreshes, r=Veykril
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.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions
