From 253bba044eccc1b7480ac5b17b6278bede677b99 Mon Sep 17 00:00:00 2001 From: Nicholas Rishel Date: Tue, 7 Jan 2025 18:40:46 -0800 Subject: Add config setting which allows adding additional include paths to the VFS. --- src/tools/rust-analyzer/editors/code/package.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/tools/rust-analyzer/editors/code') 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 @@ -2718,6 +2718,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": { -- cgit 1.4.1-3-g733a5