File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,16 @@ All capabilities are enabled via `experimental` field of `ClientCapabilities` or
7
7
Requests which we hope to upstream live under ` experimental/ ` namespace.
8
8
Requests, which are likely to always remain specific to ` rust-analyzer ` are under ` rust-analyzer/ ` namespace.
9
9
10
+ If you want to be notified about the changes to this document, subscribe to [ #4604 ] ( https://github.com/rust-analyzer/rust-analyzer/issues/4604 ) .
11
+
12
+ ## ` initializationOptions `
13
+
14
+ As ` initializationOptions ` , ` rust-analyzer ` expects ` "rust-analyzer" ` section of the configuration.
15
+ That is, ` rust-analyzer ` usually sends ` "workspace/configuration" ` request with ` { "items": ["rust-analyzer"] } ` payload.
16
+ ` initializationOptions ` should contain the same data that would be in the first item of the result.
17
+ It's OK to not send anything, then all the settings would take their default values.
18
+ However, some settings can not be changed after startup at the moment.
19
+
10
20
## Snippet ` TextEdit `
11
21
12
22
** Issue:** https://github.com/microsoft/language-server-protocol/issues/724
You can’t perform that action at this time.
0 commit comments