diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index 35e0a4082eb..ca7e3313134 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 62b0f3c0baf..3d2f2a0b48a 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,