]> git.lizzy.rs Git - rust.git/commitdiff
mention files.watcherExclude
authorDamien Elmes <dae@users.noreply.github.com>
Thu, 22 Jul 2021 11:03:06 +0000 (21:03 +1000)
committerDamien Elmes <gpg@ankiweb.net>
Thu, 22 Jul 2021 11:25:23 +0000 (21:25 +1000)
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
crates/rust-analyzer/src/config.rs
docs/user/generated_config.adoc
editors/code/package.json

index 323f2744f7ac2959af10bae13ca2f5c4b1d118b6..b6d4aef72eb987f19c1a9baa5c507cf0274e6702 100644 (file)
@@ -144,7 +144,7 @@ struct ConfigData {
         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<PathBuf> = "[]",
 
         /// Use semantic tokens for strings.
index 35342a810970938bf0f187abb6fea7689e3d4a97..675e57386e89e72c1f72284661312628712911d8 100644 (file)
@@ -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`)::
 +
index cf60b6eba5abe2bd9bd82280afeb9e15173ea77e..47a64aa71888d00c0aac6fbedb795e18c9dc8665 100644 (file)
                     "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": {