Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Open this in GitHubNew to Visual Studio Code? Get it now.
Open this in GitHub

Open this in GitHub

int128

|
1 install
| (0) | Free
Open this file in GitHub
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Open this in GitHub ts

This extension provides a command to open the current file in GitHub.

Getting Started

Press shift+cmd+P and choose "Open this in GitHub" command:

image

Specification

This extension finds the current commit SHA of the repository using git command.

It opens the blob URL with the active line number, for example,

https://github.com/{owner}/{repo}/blob/{commit-sha}/{path}#L{number}

If multiple lines are selected, it opens the the blob URL with the range, for example,

https://github.com/{owner}/{repo}/blob/{commit-sha}/{path}#L{number}-L{number}

Installation

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

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft