From ee9ea014f339b8f7666061c4180efe69eea65df3 Mon Sep 17 00:00:00 2001 From: Vinicius Stock Date: Thu, 18 Jul 2024 09:30:45 -0400 Subject: [PATCH] Only show file operations in the explorer view --- vscode/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vscode/package.json b/vscode/package.json index 8839aa0e0..bf7163d0f 100644 --- a/vscode/package.json +++ b/vscode/package.json @@ -37,14 +37,14 @@ "view/title": [ { "command": "rubyLsp.fileOperation", - "when": "rubyLsp.activated && view.workbench.explorer.fileView.visible", + "when": "rubyLsp.activated && view == 'workbench.explorer.fileView'", "group": "navigation" } ], "explorer/context": [ { "command": "rubyLsp.fileOperation", - "when": "rubyLsp.activated && view.workbench.explorer.fileView.visible", + "when": "rubyLsp.activated", "group": "2_workspace" } ]