Supports : GitHub, Bitbucket, Visualstudio.com
Extension for Visual Studio Code which can be used to jump to a source code line in Github / Bitbucket
Tested with VsCode 0.10.1
Press F1 and narrow down the list commands by typing extension
. Pick Extensions: Install Extension
.
Simply pick the Open in GitHub / Bitbucket
extension from the list
##Install Manual
Mac & Linux
cd $HOME/.vscode/extensions
git clone https://github.com/ziyasal/vscode-open-in-github.git
cd vscode-open-in-github
npm install
Windows
cd %USERPROFILE%\.vscode\extensions
git clone https://github.com/ziyasal/vscode-open-in-github.git
cd vscode-open-in-github
npm install
Command
Press F1 and type Open in GitHub
.
Keybord Shortcut
Press Ctrl+L G to activate. Press Ctrl+L C to copy active line link to clipboard.
Configure custom github domain
Add following line into workspace settings;
{
"openInGitHub.gitHubDomain":"your custom github domain here"
}
Have fun..
MIT © Ziya SARIKAYA @ziyasal