Open in GitHub
Open the current project or file in github.com.
There are many other extensions for doing this, but they either don't work well for me or they provide too few/many functionalities.
Follow the instructions in the Marketplace, or run the following in the command palette:
ext install fabiospampinato.vscode-open-in-github
It adds 6 commands to the command palette:
'Open in GitHub: Project' // Open the current project in GitHub
'Open in GitHub: File' // Open the current file in GitHub
'Open in GitHub: File Blame' // Open the current file's blame in GitHub
'Open in GitHub: File History' // Open the current file's history in GitHub
'Open in GitHub: Issues' // Open the current project's issues in GitHub
'Open in GitHub: Pull Requests' // Open the current project's pull requests in GitHub
"openInGitHub.github.domain": "github.com", // Custom GitHub domain
"openInGitHub.remote.name": "origin", // Name of the remote repository
"openInGitHub.remote.branch": "master", // Name of the remote branch
"openInGitHub.useLocalBranch": true, // Use the local branch instead of the fixed remote branch
"openInGitHub.useLocalRange": true, // Highlight the local selection range, if there's one
"openInGitHub.useLocalLine": false // Highlight the local line if there's no selection range
Opening the project
Opening the file
If you found a problem, or have a feature request, please open an issue about it.
If you want to make a pull request you can debug the extension using Debug Launcher.
MIT © Fabio Spampinato