No description
  • TypeScript 100%
Find a file
renovate[bot] fe3d3e6cb4
chore(deps): update dependency @types/node to v24.13.0 (#36)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-05 13:07:19 +00:00
.github/workflows chore: add LICENSE, pin vsce as dev dependency 2026-04-23 12:19:29 +10:00
.vscode chore: initialise project scaffold 2026-04-23 09:33:59 +10:00
src fix: omit line anchor when linking to a branch ref 2026-04-23 12:08:36 +10:00
.gitignore chore: initialise project scaffold 2026-04-23 09:33:59 +10:00
.node-version chore: add .node-version file pinned to Node 24 2026-04-23 11:33:03 +10:00
.oxlintrc.json chore: initialise project scaffold 2026-04-23 09:33:59 +10:00
.release-please-manifest.json chore: release 1.0.2 (#18) 2026-05-12 16:50:41 +10:00
.vscodeignore chore: initialise project scaffold 2026-04-23 09:33:59 +10:00
CHANGELOG.md chore: release 1.0.2 (#18) 2026-05-12 16:50:41 +10:00
LICENSE chore: add LICENSE, pin vsce as dev dependency 2026-04-23 12:19:29 +10:00
package-lock.json chore(deps): update dependency @types/node to v24.13.0 (#36) 2026-06-05 13:07:19 +00:00
package.json chore(deps): update dependency @types/node to v24.13.0 (#36) 2026-06-05 13:07:19 +00:00
README.md chore: add README 2026-04-23 12:21:46 +10:00
release-please-config.json chore: recategorise release-please commit types 2026-05-12 16:49:26 +10:00
renovate.json chore: add renovate config extending treetrum shared preset 2026-04-23 11:33:44 +10:00
tsconfig.json chore: initialise project scaffold 2026-04-23 09:33:59 +10:00

Open Remote

A lightweight VS Code extension that opens the current file (with optional line selection) on GitHub. A focused replacement for the "open on GitHub" feature from the GitHub Pull Requests extension.

Commands

Both commands are available from the command palette (Cmd+Shift+P) and the file explorer context menu.

Command Description
Open Remote: Open File on Remote Opens the file in your browser
Open Remote: Copy Link to Remote Copies the URL to your clipboard

When invoked, a ref picker appears with two options:

  • Current commit (HEAD) — a permanent permalink to the exact commit (selected by default, press Enter to use it)
  • Branch — any remote-tracking branch

If you have text selected in the editor, the link will include a line anchor (#L10 or #L10-L25). Line anchors are only added for HEAD permalinks — not branch links, since the file content may differ.

Requirements

  • The file must be inside a git repository with a GitHub remote (github.com)
  • The built-in VS Code Git extension must be enabled

Notes

  • Only github.com remotes are supported (GitLab/Bitbucket not yet supported)
  • HEAD links use the commit SHA — they are permanent and won't change as the branch moves