Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>Github-san toolsNew to Visual Studio Code? Get it now.
Github-san tools

Github-san tools

sanskrit-coders

| (0) | Free
Open files and folders inside Git submodules, worktrees, and multi-root repositories on GitHub, and launch Sanskrit-aware diffs with diff_san (pip install local-diff-san; see https://github.com/sanskrit-coders/diff_san/blob/master/local_diff/README.md).
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Github-san tools (VS Code)

Visual Studio Code extension (sanskrit-coders.github-san) providing Open on GitHub, Copy GitHub URL, and diff_san (local-diff-san) integration for files and folders inside Git submodules, worktrees, and multi-root workspaces.

Install

  • VS Code Marketplace: Github-san tools (sanskrit-coders.github-san) — or run code --install-extension sanskrit-coders.github-san
  • Open VSX Registry (Cursor, Windsurf, VSCodium, Antigravity): sanskrit-coders/github-san
  • GitHub Releases: sanskrit-coders/vscode_san/releases
  • JetBrains sister plugin: sanskrit-coders/jetbrains_san

Features

  • Open on GitHub (Github-san: Open on GitHub): Opens files, folders, and submodule roots in your browser from Explorer, Editor, Editor Tab, Source Control (SCM), or Command Palette, with #L... line/selection anchors in active editors.
  • Copy GitHub URL (Github-san: Copy GitHub URL): Copies the canonical GitHub URL directly to your clipboard.
  • Diff with diff_san (Github-san: Diff with diff_san (HEAD / Two Files)):
    • 1 file or folder inside a Git repo/submodule → diffs against HEAD (local-diff-san <path>).
    • 2 selected files → compares both side by side (local-diff-san <left> <right>).
    • 3+ selected files in Git repos → diffs all selected files against HEAD (local-diff-san --head <paths...>).
  • Resolves .git pointer files (gitdir: ...), worktree commondir configs, tracking branch names (e.g. origin/content → content), detached HEAD commits, and UTF-8 / Devanagari path segments.

Prerequisites (diff_san binaries)

The Diff with diff_san command invokes local-diff-san. Install it following the local_diff/README.md and diff_san overview README:

pip install local-diff-san
# Or editable install from a local diff_san clone:
pip install -e /path/to/diff_san/pull_requests -e /path/to/diff_san/local_diff

Configuration

  • githubSan.diffSanExecutable: Optional path to local-diff-san. When empty, searches DIFF_SAN_BIN, PATH, workspace .venv/bin / venv/bin, ~/gitland/python_venv/bin, ~/.local/bin, ~/.venv/bin, ~/venv/bin, and ~/gitland/sanskrit-coders/diff_san/.venv/bin.

Build, Test & Install

cd github-san
npm install
npm test
npm run package
code --install-extension build/github-san-1.1.1.vsix
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft