From d0a8f6a3eb5094af36a72ca01b290a494dfd7b16 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 10 Jul 2020 15:27:34 +0200 Subject: Automatically reload project info on Cargo.toml changes --- editors/code/package.json | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'editors') diff --git a/editors/code/package.json b/editors/code/package.json index 743a2290c..aac4ba94f 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -237,6 +237,11 @@ "default": true, "markdownDescription": "Whether to show `can't find Cargo.toml` error message" }, + "rust-analyzer.cargo.autoreload": { + "type": "boolean", + "default": true, + "markdownDescription": "Automatically refresh project info via `cargo metadata` on Cargo.toml changes" + }, "rust-analyzer.cargo.noDefaultFeatures": { "type": "boolean", "default": false, -- cgit v1.2.3