ManuelHentschel / vscode-github-linker

VS Code extension to create and open GitHub links
https://marketplace.visualstudio.com/items?itemName=manhen.github-linker
MIT License
1 stars 1 forks source link

Support for Github Enterprise #5

Open Stanley-Yao opened 2 years ago

Stanley-Yao commented 2 years ago

Hello, just wondering if you have a plan to support Github Enterprise. Because When I copy the chunk of my code, the link looks like: null/blob/09003607c4f9ce8ee1f1f6f1962eb/ ....

ManuelHentschel commented 2 years ago

This should already be supported. It looks like the extension does not recognize the repo URL correctly, (the null part in your output). As a workaround you could try replacing ${repoUrl} in the setting githubLinker.templates.githubLinker with the hardcoded URL of your repo, using workspace settings to set this per project.

To properly troubleshoot this, I need more information. Did you change any of the settings of this extension? What do the remote URIs of the repo look like (feel free to replace sensitive parts)?