diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2025-01-09 10:24:51 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-09 10:24:51 +0000 |
| commit | e4708fec85e5e65cd53217dcc138697fa240b855 (patch) | |
| tree | e1db24055722db253a8741ff81b00bf0fbed04bc /src/tools/rust-analyzer/editors/code | |
| parent | f6e8974fa8ee00b740254df385b99e6bd3b7ee6c (diff) | |
| parent | 253bba044eccc1b7480ac5b17b6278bede677b99 (diff) | |
| download | rust-e4708fec85e5e65cd53217dcc138697fa240b855.tar.gz rust-e4708fec85e5e65cd53217dcc138697fa240b855.zip | |
Merge pull request #18880 from PrototypeNM1/extra-includes
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 6cb74a94a00..62ef84e9946 100644 --- a/src/tools/rust-analyzer/editors/code/package.json +++ b/src/tools/rust-analyzer/editors/code/package.json @@ -2722,6 +2722,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": { |
