about summary refs log tree commit diff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-03-28 07:05:43 +0000
committerbors <bors@rust-lang.org>2023-03-28 07:05:43 +0000
commit5bba438c9cf684812e72e9d90c8fea55bd29909c (patch)
tree4b7988975a168b0cac6cc18fe3e31daa4ed938e2 /editors/code/package.json
parentf73510560f93262ad2e375d63b526af37aa3ae48 (diff)
parent3622fb645632fcf81af82919259be4b0012a3939 (diff)
downloadrust-5bba438c9cf684812e72e9d90c8fea55bd29909c.tar.gz
rust-5bba438c9cf684812e72e9d90c8fea55bd29909c.zip
Auto merge of #14366 - Veykril:linked-proj, r=Veykril
feat: Pop a notification prompting the user to add a Cargo.toml of unlinked file to the linkedProjects

cc https://github.com/rust-lang/rust-analyzer/issues/13226 https://github.com/rust-lang/rust-analyzer/issues/9661
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 4e57bf0e29b..0332fe30251 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -449,6 +449,11 @@
                         "type": "string"
                     }
                 },
+                "rust-analyzer.showUnlinkedFileNotification": {
+                    "markdownDescription": "Whether to show a notification for unlinked files asking the user to add the corresponding Cargo.toml to the linked projects setting.",
+                    "default": true,
+                    "type": "boolean"
+                },
                 "$generated-start": {},
                 "rust-analyzer.assist.emitMustUse": {
                     "markdownDescription": "Whether to insert #[must_use] when generating `as_` methods\nfor enum variants.",