about summary refs log tree commit diff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2021-01-26 16:18:01 +0300
committerAleksey Kladov <aleksey.kladov@gmail.com>2021-01-26 16:45:54 +0300
commit2870e701630c198bafb346e5a9c91c1d2fc9f092 (patch)
treecf85185c893a344bbfe29e48fcf856b630a06ec5 /editors/code/package.json
parenta733f65126451784c8b158d6c6318b556d68ebfc (diff)
downloadrust-2870e701630c198bafb346e5a9c91c1d2fc9f092.tar.gz
rust-2870e701630c198bafb346e5a9c91c1d2fc9f092.zip
Add config option to ignore directories
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index ee54638f183..66af94186fe 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -555,6 +555,14 @@
                     "default": "client",
                     "type": "string"
                 },
+                "rust-analyzer.files.excludeDirs": {
+                    "markdownDescription": "These directories will be ignored by rust-analyzer.",
+                    "default": [],
+                    "type": "array",
+                    "items": {
+                        "type": "string"
+                    }
+                },
                 "rust-analyzer.hoverActions.debug": {
                     "markdownDescription": "Whether to show `Debug` action. Only applies when `#rust-analyzer.hoverActions.enable#` is set.",
                     "default": true,