VOOZH about

URL: https://marketplace.visualstudio.com/items?itemName=ziyasal.vscode-open-in-github

⇱ Open in GitHub, Bitbucket, Gitlab, VisualStudio.com ! - Visual Studio Marketplace


Skip to content
👁 Image
Sign in
Visual Studio Code>Other>Open in GitHub, Bitbucket, Gitlab, VisualStudio.com !New to Visual Studio Code? Get it now.
👁 Open in GitHub, Bitbucket, Gitlab, VisualStudio.com !

Open in GitHub, Bitbucket, Gitlab, VisualStudio.com !

Jump to a source code line in Github, Bitbucket, Gitlab, VisualStudio.com !
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

👁 Open in GitHub / Bitbucket / visualstudio.com

Supports : GitHub, Bitbucket, Visualstudio.com and GitLab

Extension for Visual Studio Code which can be used to jump to a source code line in Github, Bitbucket, Visualstudio.com and GitLab

👁 Build Status
👁 All Contributors

Install

Tested with VsCode 0.10.1

Press F1 and narrow down the list commands by typing extension. Pick Extensions: Install Extension.

👁 installation

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

Usage

Command

Press F1 and type Open in GitHub.

👁 Open function

Press F1 and type Copy GitHub link to clipboard.

👁 Copy function

(The URL for Github will also include line ranges if there are lines selected in the editor)

Press F1 and type Open Pull Request.

👁 Copy function

Keybord Shortcut

Press Ctrl+L G to activate. Press Ctrl+L C to copy active line link to clipboard.

Context menu

Right click on explorer item and choose Open in GitHub or Copy GitHub link to clipboard.

👁 Context menu options

Configure custom github domain

Add following line into workspace settings;

{
 "openInGitHub.gitHubDomain": "your custom github domain here",
 "openInGitHub.requireSelectionForLines": false, // If enabled, the copied or opened URL won't include line number(s) unless there's an active selection
 "openInGitHub.useCommitSHAInURL": false,
 "openInGitHub.providerType": "gitlab", //github, gitlab, bitbucket, ...
 "openInGitHub.providerProtocol": "https" //https, http. Useful for custom domains that don't support https. Defaults to https.
}

Have fun..

Contributors

Thanks goes to these wonderful people (emoji key):

👁 Image

Brady Holt
💻 📖 ⚠️
👁 Image

Grzegorz Dziadkiewicz
💻 📖 ⚠️
👁 Image

Yuichi Tanikawa
💻 📖 ⚠️
👁 Image

Suan Yeo
💻
👁 Image

Benjamin Pasero
💻
👁 Image

Stuart Leeks
💻
👁 Image

Marvin Hagemeister
💻
👁 Image

linarnan
💻 ⚠️
👁 Image

Dan Seethaler
💻 ⚠️
👁 Image

John Arthur
💻
👁 Image

Eduardo Diaz
💻
👁 Image

Tom Esterez
💻
👁 Image

Anthony Brown
💻

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT © Ziya SARIKAYA @ziyasal & Contributors