Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>LineLinkNew to Visual Studio Code? Get it now.
LineLink

LineLink

Kevin Rose

|
197 installs
| (0) | Free
Open a link to your exact line of code in a browser from VS Code. Compatible with GitHub and GitLab.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode Line Link

Open a link to your exact line of code in a browser. Compatible with GitHub and GitLab.

This extension is immature, and will have many bugs.

Features

  • Open command pallete (cmd/ctrl + shift + p) and type either "Copy Link to Code" or "Open in browser".
  • Set keyboard shortcuts for line-link.copyLink or line-link.openLink if you want easier access.

Requirements

Your workspace must be a valid git repository.

Only GitHub and GitLab have been tested. Other git providers will not work unless they share the same URL structure.

How?

Inspects and parses git remote to find the URL of the project.

Release Notes

See CHANGELOG.md.

License

Available under the MIT license, see LICENSE.txt for details.

Code located at /src/typings/git.d.ts comes from the VSCode repo and is also available under the MIT license.

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