diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs index 323f2744f7..b6d4aef72e 100644 --- a/crates/rust-analyzer/src/config.rs +++ b/crates/rust-analyzer/src/config.rs @@ -144,7 +144,7 @@ config_data! { files_watcher: String = "\"client\"", /// These directories will be ignored by rust-analyzer. They are /// relative to the workspace root, and globs are not supported. You may - /// also need to add the folders to Code's 'watcher exclude'. + /// also need to add the folders to Code's `files.watcherExclude`. files_excludeDirs: Vec = "[]", /// Use semantic tokens for strings. diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index 35342a8109..675e57386e 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -206,7 +206,7 @@ Controls file watching implementation. -- These directories will be ignored by rust-analyzer. They are relative to the workspace root, and globs are not supported. You may -also need to add the folders to Code's 'watcher exclude'. +also need to add the folders to Code's `files.watcherExclude`. -- [[rust-analyzer.highlighting.strings]]rust-analyzer.highlighting.strings (default: `true`):: + diff --git a/editors/code/package.json b/editors/code/package.json index cf60b6eba5..47a64aa718 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -648,7 +648,7 @@ "type": "string" }, "rust-analyzer.files.excludeDirs": { - "markdownDescription": "These directories will be ignored by rust-analyzer. They are\nrelative to the workspace root, and globs are not supported. You may\nalso need to add the folders to Code's 'watcher exclude'.", + "markdownDescription": "These directories will be ignored by rust-analyzer. They are\nrelative to the workspace root, and globs are not supported. You may\nalso need to add the folders to Code's `files.watcherExclude`.", "default": [], "type": "array", "items": {