vscode-pull-request-github icon indicating copy to clipboard operation
vscode-pull-request-github copied to clipboard

Add Cmd/Ctrl+R keybinding to refresh PR overview in editor

Open Copilot opened this issue 2 months ago • 0 comments

Users expect standard refresh shortcuts to work when viewing a PR overview in the editor. Currently, the refresh functionality exists but requires clicking a button or using the command palette.

Changes

  • Added keybinding in package.json mapping Cmd+R (Mac) / Ctrl+R (Windows/Linux) to the existing pr.refreshDescription command
  • Scoped to only activate when activeWebviewPanelId == 'PullRequestOverview' to avoid conflicts with other editor contexts
{
  "key": "ctrl+r",
  "mac": "cmd+r",
  "command": "pr.refreshDescription",
  "when": "activeWebviewPanelId == 'PullRequestOverview'"
}

No changes to command logic required - leverages existing refresh implementation.

Original prompt

This section details on the original issue you should resolve

<issue_title>Command R should refresh PR when in editor view</issue_title> <issue_description>I want to use Command R shortcut to refresh the main PR view when open in the editor</issue_description>

Comments on the Issue (you are @copilot in this section)

  • Fixes microsoft/vscode-pull-request-github#7117

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot avatar Dec 11 '25 09:12 Copilot