Shows the GitHub pull request number for the current branch in the VSCode status bar. Click to open the PR in your browser.
Requirements
- GitHub CLI (
gh) installed and onPATH - Authenticated:
gh auth login
Features
- Displays
⤴ #1234for the current branch's PR - Shows
⤴ no PRwhen the branch has no associated PR - Tooltip shows PR title and state
- Click opens the PR in your default browser
- Polls every 30s (configurable)
Settings
| Setting | Default | Description |
|---|---|---|
ghPrStatusBar.refreshIntervalSeconds |
30 |
How often to poll gh pr view |
ghPrStatusBar.alignment |
left |
Status bar alignment (left or right) |
Commands
GitHub PR Status Bar: Refresh— force a refreshGitHub PR Status Bar: Open PR in Browser
License
MIT