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
The `initializationOptions`filed of the `InitializeParams` of the initialization request should contain `"rust-analyzer"` section of the configuration.
32
+
The `initializationOptions`field of the `InitializeParams` of the initialization request should contain the`"rust-analyzer"` section of the configuration.
33
33
34
34
`rust-analyzer` normally sends a `"workspace/configuration"` request with `{ "items": ["rust-analyzer"] }` payload.
35
35
However, the server can't do this during initialization.
@@ -81,7 +81,7 @@ At the moment, rust-analyzer guarantees that only a single edit will have `Inser
Whenever the client sends a `Range`, it is understood as the current selection and any hover included in the range will show the type of the expression if possible.
675
+
676
+
### Example
677
+
678
+
```rust
679
+
fnmain() {
680
+
letexpression=$01+2*3$0;
681
+
}
682
+
```
683
+
684
+
Triggering a hover inside the selection above will show a result of `i32`.
0 commit comments