{{ message }}
Add githubPullRequests.createInBrowser setting to open PR creation in browser#8234
Draft
Copilot wants to merge 8 commits into
Draft
Add githubPullRequests.createInBrowser setting to open PR creation in browser#8234Copilot wants to merge 8 commits into
githubPullRequests.createInBrowser setting to open PR creation in browser#8234Copilot wants to merge 8 commits into
Conversation
…tton Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add button to create PR in browser
Add "Create in Browser" button to PR creation view
Dec 9, 2025
alexr00
requested changes
Dec 12, 2025
alexr00
left a comment
Member
There was a problem hiding this comment.
@copilot no need to change the current create view. Just add a setting githubPullRequest.createInBrowser, which defaults to false. When set to true, the existing "create" command should open the browser with the appropriate PR URL for the current branch and correct base branch, using the same base branch logic that the "create" view does to pick the starting base branch.
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
Contributor
Author
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
Copilot
AI
changed the title
Add "Create in Browser" button to PR creation view
Add Dec 12, 2025
githubPullRequests.createInBrowser setting to open PR creation in browser
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Add
githubPullRequests.createInBrowserSettingThis PR adds a setting that changes the behavior of the existing "Create Pull Request" command to open GitHub in the browser instead of showing the create view.
Implementation
Setting (
package.json):githubPullRequests.createInBrowserboolean setting (default: false)pr.createcommand opens GitHub in browser instead of showing the create viewBackend (
src/view/reviewManager.ts):createPullRequest()to check the setting using CREATE_IN_BROWSER constantopenCreatePullRequestInBrowser()method that:{normalizedHost}/{owner}/{repo}/compare/{base}...{head}Constants (
src/common/settingKeys.ts):CREATE_IN_BROWSERconstantChanges
githubPullRequests.createInBrowsersettingpr.createcommand to check setting and open browser when trueOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.