From f8477d0cb43fe594c674242196b167b6720f12b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Mon, 8 May 2023 21:43:59 +0300 Subject: [PATCH] Hide deps panel outside of Rust projects and set missing category --- editors/code/package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/editors/code/package.json b/editors/code/package.json index c7b540625d9a0..1ce6a1b2b00a5 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -287,7 +287,8 @@ }, { "command": "rust-analyzer.revealDependency", - "title": "Reveal File" + "title": "Reveal File", + "category": "rust-analyzer" } ], "keybindings": [ @@ -1996,7 +1997,8 @@ "explorer": [ { "id": "rustDependencies", - "name": "Rust Dependencies" + "name": "Rust Dependencies", + "when": "inRustProject" } ] },