Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Statusbar Copy PermalinkNew to Visual Studio Code? Get it now.
Statusbar Copy Permalink

Statusbar Copy Permalink

Akash Gajjar

|
1 install
| (0) | Free
Adds status bar button for copying permalinks
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Copy git permalink

A lightweight VS Code extension that lets you copy a permanent link to the current file (and selected lines) at the exact Git commit you’re working on. Supports GitHub, GitLab, and Bitbucket remotes out of the box.

Features

  • Copy permalink for any file & selection
    Select one or more lines in your editor, or simply place the cursor anywhere, then click Copy Permalink in the status bar/right click context menu (or run the Copy Permalink command).

    git permalink status bar bottom right git permalink context menu
  • Line-range highlighting
    If you select multiple lines, the generated URL will highlight the entire range (e.g. #L10-L20 on GitHub/GitLab, #lines-10:20 on Bitbucket).

Requirements

  • Relies on vscode.git extension.
  • Your project must be a Git repository with a configured origin remote.

Extension Settings

This extension does not add any new settings in your settings.json.
All behavior is automatic; just install and start copying permalinks.

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