diff --git a/extensions/copilot/package.json b/extensions/copilot/package.json index bc8dd34ea39..c356b30c906 100644 --- a/extensions/copilot/package.json +++ b/extensions/copilot/package.json @@ -4389,8 +4389,13 @@ "chat/editor/inlineGutter": [ { "command": "github.copilot.chat.explain", - "when": "!github.copilot.interactiveSession.disabled", + "when": "!github.copilot.interactiveSession.disabled && editor.hasSelection", "group": "2_chat@2" + }, + { + "command": "github.copilot.chat.review", + "when": "!github.copilot.interactiveSession.disabled && editor.hasSelection && config.github.copilot.chat.reviewSelection.enabled", + "group": "2_chat@3" } ], "chat/input/editing/sessionToolbar": [