diff options
| author | Damien Elmes <gpg@ankiweb.net> | 2021-07-19 23:09:29 +1000 |
|---|---|---|
| committer | Damien Elmes <gpg@ankiweb.net> | 2021-07-19 23:30:00 +1000 |
| commit | 106ea7ad85de375304bd4205bd7fe62864b7fe46 (patch) | |
| tree | 7015c74d7a499dfc0bb0a86501209a72b1daf607 /editors/code | |
| parent | 64bf67c5aa096eb6a059d6bb8304981ecb90318e (diff) | |
| download | rust-106ea7ad85de375304bd4205bd7fe62864b7fe46.tar.gz rust-106ea7ad85de375304bd4205bd7fe62864b7fe46.zip | |
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 :-)
Diffstat (limited to 'editors/code')
| -rw-r--r-- | editors/code/package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index c4ed4b59814..cf60b6eba5a 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.", + "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'.", "default": [], "type": "array", "items": { |
