diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index 517a73edd33..337629e17fd 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -260,12 +260,12 @@ also need to add the folders to Code's `files.watcherExclude`. [[rust-analyzer.files.watcher]]rust-analyzer.files.watcher (default: `"client"`):: + -- -Find All References config. +Controls file watching implementation. -- [[rust-analyzer.findAllRefs.excludeImports]]rust-analyzer.findAllRefs.excludeImports (default: `false`):: + -- -Controls file watching implementation. +Exclude imports from find-all-references. -- [[rust-analyzer.highlightRelated.breakPoints.enable]]rust-analyzer.highlightRelated.breakPoints.enable (default: `true`):: + diff --git a/editors/code/package.json b/editors/code/package.json index 189f20fc0cd..07e9a08e1bd 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -706,6 +706,11 @@ "Use server-side file watching" ] }, + "rust-analyzer.findAllRefs.excludeImports": { + "markdownDescription": "Exclude imports from find-all-references.", + "default": false, + "type": "boolean" + }, "rust-analyzer.highlightRelated.breakPoints.enable": { "markdownDescription": "Enables highlighting of related references while the cursor is on `break`, `loop`, `while`, or `for` keywords.", "default": true, @@ -839,11 +844,6 @@ "type": "integer", "minimum": 0 }, - "rust-analyzer.findAllRefs.excludeImports": { - "markdownDescription": "Exclude imports from find-all-references.", - "default": false, - "type": "boolean" - }, "rust-analyzer.inlayHints.closureReturnTypeHints.enable": { "markdownDescription": "Whether to show inlay type hints for return types of closures.", "default": "never",