A VSCode extension that opens the current Git repository's remote URL in a browser.
- Download the latest release from the releases page.
- Open the Extensions sidebar in VS Code.
View → Extensions
. - Click on the ... menu in the top-right corner of the Extensions sidebar and select Install from VSIX....
- Select the downloaded VSIX file. Done!
Setting up an account is too much effort. This extension is mostly to scratch my own itch.
Ctrl/Cmd + Shift + P →
Quickly Open Remote URL in Browser
Selecting this command will present a list of browser options to choose from.
Selecting a browser will open the Fetch URL of the Origin remote in the selected browser.
The extension adds two commands to the Command Palette –
Open Remote Fetch URL in Browser
Open Remote Push URL in Browser
Selecting either of these commands will present a list of remotes to choose from.
Selecting a remote will present a list of browser options to choose from.
Selecting a browser will open the remote URL in the selected browser.
To me, this extension is already feature-complete.
But GitHub Co-Pilot seems to think that I should add support for opening the current file, line, selection, branch, commit, tag, pull request, issue, milestone, project, wiki, repository, user, organization, team and gist in the browser.
I'm very likely not going to do any of this. But if you want to, feel free to make a pull request or open an issue.