about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorKirill Bulatov <mail4score@gmail.com>2023-08-29 13:04:04 +0300
committerKirill Bulatov <mail4score@gmail.com>2023-08-29 13:04:04 +0300
commit62d189702c7a14bfd17384f8000a0dcb1ce7fe6b (patch)
tree6958d486179e9848676bac56bb2db5d37152bfeb /tests/codegen/patchable-function-entry
parentb06503b6ec98c9ed44698870cbf3302b8560b442 (diff)
downloadrust-62d189702c7a14bfd17384f8000a0dcb1ce7fe6b.tar.gz
rust-62d189702c7a14bfd17384f8000a0dcb1ce7fe6b.zip
Only send inlay hint refresh requests on initial load
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/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions