Unnamed repository; edit this file 'description' to name the repository.
Update package.json
Lukas Wirth 2022-05-14
parent 7cbde1b · commit 977f0ba
-rw-r--r--docs/user/generated_config.adoc5
-rw-r--r--editors/code/package.json5
2 files changed, 10 insertions, 0 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc
index 35e0a4082e..ca7e331313 100644
--- a/docs/user/generated_config.adoc
+++ b/docs/user/generated_config.adoc
@@ -344,6 +344,11 @@ Whether to allow import insertion to merge new imports into single path glob imp
--
The path structure for newly inserted paths to use.
--
+[[rust-analyzer.inlayHints.bindingModeHints.enable]]rust-analyzer.inlayHints.bindingModeHints.enable (default: `false`)::
++
+--
+Whether to show inlay type hints for binding modes.
+--
[[rust-analyzer.inlayHints.chainingHints.enable]]rust-analyzer.inlayHints.chainingHints.enable (default: `true`)::
+
--
diff --git a/editors/code/package.json b/editors/code/package.json
index 62b0f3c0ba..3d2f2a0b48 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -784,6 +784,11 @@
"Force import paths to be absolute by always starting them with `crate` or the extern crate name they come from."
]
},
+ "rust-analyzer.inlayHints.bindingModeHints.enable": {
+ "markdownDescription": "Whether to show inlay type hints for binding modes.",
+ "default": false,
+ "type": "boolean"
+ },
"rust-analyzer.inlayHints.chainingHints.enable": {
"markdownDescription": "Whether to show inlay type hints for method chains.",
"default": true,