minor update to excludeDirs doc
I saw reference to globs in #7755, but it doesn't look like they're actually supported, and I had to dig through the source to discover that the folders are relative to the workspace root. Further digging was required to get VS Code from hanging for long periods trying to watch giant Bazel folders that had already been excluded from Rust Analyzer. Hopefully this tweak will save others the confusion :-)
This commit is contained in:
@@ -142,7 +142,9 @@ config_data! {
|
||||
|
||||
/// Controls file watching implementation.
|
||||
files_watcher: String = "\"client\"",
|
||||
/// These directories will be ignored by rust-analyzer.
|
||||
/// 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'.
|
||||
files_excludeDirs: Vec<PathBuf> = "[]",
|
||||
|
||||
/// Use semantic tokens for strings.
|
||||
|
||||
Reference in New Issue
Block a user