diff options
| author | Nicholas Rishel <rishel.nick@gmail.com> | 2025-01-07 18:40:46 -0800 |
|---|---|---|
| committer | Nicholas Rishel <rishel.nick@gmail.com> | 2025-01-08 10:57:46 -0800 |
| commit | 253bba044eccc1b7480ac5b17b6278bede677b99 (patch) | |
| tree | d43f034bbc6d7d6b38110629572152400a345e65 /src/tools/rust-analyzer/editors/code | |
| parent | fd1e95538fa3b3ca87fc4f7df5e9abd918949536 (diff) | |
| download | rust-253bba044eccc1b7480ac5b17b6278bede677b99.tar.gz rust-253bba044eccc1b7480ac5b17b6278bede677b99.zip | |
Add config setting which allows adding additional include paths to the VFS.
Diffstat (limited to 'src/tools/rust-analyzer/editors/code')
| -rw-r--r-- | src/tools/rust-analyzer/editors/code/package.json | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/tools/rust-analyzer/editors/code/package.json b/src/tools/rust-analyzer/editors/code/package.json index 80246bf3fea..87afc5c281b 100644 --- a/src/tools/rust-analyzer/editors/code/package.json +++ b/src/tools/rust-analyzer/editors/code/package.json @@ -2719,6 +2719,19 @@ } }, { + "title": "vfs", + "properties": { + "rust-analyzer.vfs.extraIncludes": { + "markdownDescription": "Additional paths to include in the VFS. Generally for code that is\ngenerated or otherwise managed by a build system outside of Cargo,\nthough Cargo might be the eventual consumer.", + "default": [], + "type": "array", + "items": { + "type": "string" + } + } + } + }, + { "title": "workspace", "properties": { "rust-analyzer.workspace.discoverConfig": { |
