Skip to content

Latest commit

 

History

History
32 lines (17 loc) · 971 Bytes

README.md

File metadata and controls

32 lines (17 loc) · 971 Bytes

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.