Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/veler/copygitlink

Copy links to files or selections to GitHub and Azure DevOps directly from Visual Studio's text editor, Solution Explorer and document tab.
https://github.com/veler/copygitlink

azuredevops github visual-studio vsix vsix-extensions

Last synced: 3 months ago
JSON representation

Copy links to files or selections to GitHub and Azure DevOps directly from Visual Studio's text editor, Solution Explorer and document tab.

Awesome Lists containing this project

README

        


pazword logo

Copy Git Link


Download for Visual Studio 2022


Download for Visual Studio 2019

[![Rating](https://img.shields.io/visual-studio-marketplace/r/EtienneBAUDOUX.CopyGitLink2022)](https://marketplace.visualstudio.com/items?itemName=EtienneBAUDOUX.CopyGitLink2022&ssr=false#review-details) [![Installs](https://img.shields.io/visual-studio-marketplace/i/EtienneBAUDOUX.CopyGitLink2022)](https://marketplace.visualstudio.com/items?itemName=EtienneBAUDOUX.CopyGitLink2022) [![Release Date](https://img.shields.io/visual-studio-marketplace/release-date/EtienneBAUDOUX.CopyGitLink2022)](https://marketplace.visualstudio.com/items?itemName=EtienneBAUDOUX.CopyGitLink2022) [![Last Updated](https://img.shields.io/visual-studio-marketplace/last-updated/EtienneBAUDOUX.CopyGitLink2022)](https://marketplace.visualstudio.com/items?itemName=EtienneBAUDOUX.CopyGitLink2022)

[![License](https://img.shields.io/github/license/veler/CopyGitLink)](https://github.com/veler/CopyGitLink/blob/main/LICENSE) [![Contributors](https://img.shields.io/github/contributors/veler/CopyGitLink?label=Contributors)](https://github.com/veler/CopyGitLink/graphs/contributors)

Copy links to files or selections to GitHub, GitLab and Azure DevOps directly from Visual Studio's text editor, Solution Explorer and document tab.
Useful to share a link to a teammate without leaving the IDE.

# Copy Link to Selection

![image__1.png](https://etiennebaudoux.gallerycdn.vsassets.io/extensions/etiennebaudoux/copygitlink2022/1.4.2/1624647696521/image__1.png)

# Copy Link to Method, Type, Property using CodeLens

![image__2.png](hhttps://etiennebaudoux.gallerycdn.vsassets.io/extensions/etiennebaudoux/copygitlink2022/1.4.2/1624647696521/image__2.png)

![image__3.png](https://etiennebaudoux.gallerycdn.vsassets.io/extensions/etiennebaudoux/copygitlink2022/1.4.2/1624647696521/image__3.png)

# Copy Link to File from document tab

![image__4.png](https://etiennebaudoux.gallerycdn.vsassets.io/extensions/etiennebaudoux/copygitlink2022/1.4.2/1624647696521/image__4.png)

# Copy Link to File from Solution Explorer

## Supports
* Solution View
* Folder View

![image__6.png](https://etiennebaudoux.gallerycdn.vsassets.io/extensions/etiennebaudoux/copygitlink2022/1.4.2/1624647696521/image__6.png)

# FAQ

**Q:** How do I use it?

**A:** Install the extension, open in Visual Studio a local file coming from any Azure DevOps, GitHub or GitLab repository. No need to open an entire solution, just a document is enough. Then, use one of the menu showed above to copy a link.

**Q:** Can I share entreprise self-managed GitHub or GitLab link ?

**A:** Yes.

**Q:** Can I share a link from any branch?

**A:** Yes, as long as what you're trying to share exists online (so make sure the code or file you share has been pushed on the current branch).

**Q:** What if I want to share a local change?

**A:** You need to Push the change first.

**Q:** What if I share a code existing in, let’s say, Master branch on the remote repository, but that I’m on a local branch that isn’t pushed yet?

**A:** If your branch doesn’t exist online, it will generate a link using the default branch on the remote repository (commonly Master).
But of course if your local branch differs too much from the default remote one, the link may be inaccurate.

**Q:** Does it works from a Live Share guest session, or GitHub Codespaces session?

**A:** No.