You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4632: Document inlay hints and runnables r=matklad a=matklad
We want to change those, but let's document what we have in meantime
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Copy file name to clipboardExpand all lines: docs/dev/lsp-extensions.md
+63Lines changed: 63 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -362,3 +362,66 @@ interface ExpandedMacro {
362
362
```
363
363
364
364
Expands macro call at a given position.
365
+
366
+
## Inlay Hints
367
+
368
+
**Method:**`rust-analyzer/inlayHints`
369
+
370
+
This request is send from client to server to render "inlay hints" -- virtual text inserted into editor to show things like inferred types.
371
+
Generally, the client should re-query inlay hints after every modification.
372
+
Note that we plan to move this request to `experimental/inlayHints`, as it is not really Rust-specific, but the current API is not necessary the right one.
This request is send from client to server to get the list of things that can be run (tests, binaries, `cargo check -p`).
398
+
Note that we plan to move this request to `experimental/runnables`, as it is not really Rust-specific, but the current API is not necessary the right one.
0 commit comments