Skip to content

Commit d22b830

Browse files
daelnicola
andcommitted
mention files.watcherExclude
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
1 parent 106ea7a commit d22b830

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/rust-analyzer/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ config_data! {
144144
files_watcher: String = "\"client\"",
145145
/// These directories will be ignored by rust-analyzer. They are
146146
/// relative to the workspace root, and globs are not supported. You may
147-
/// also need to add the folders to Code's 'watcher exclude'.
147+
/// also need to add the folders to Code's `files.watcherExclude`.
148148
files_excludeDirs: Vec<PathBuf> = "[]",
149149

150150
/// Use semantic tokens for strings.

docs/user/generated_config.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ Controls file watching implementation.
206206
--
207207
These directories will be ignored by rust-analyzer. They are
208208
relative to the workspace root, and globs are not supported. You may
209-
also need to add the folders to Code's 'watcher exclude'.
209+
also need to add the folders to Code's `files.watcherExclude`.
210210
--
211211
[[rust-analyzer.highlighting.strings]]rust-analyzer.highlighting.strings (default: `true`)::
212212
+

editors/code/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@
648648
"type": "string"
649649
},
650650
"rust-analyzer.files.excludeDirs": {
651-
"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'.",
651+
"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`.",
652652
"default": [],
653653
"type": "array",
654654
"items": {

0 commit comments

Comments
 (0)