vscode-open-in-github
vscode-open-in-github copied to clipboard
This extension seems to assume all repos use https. Does not work for local github deployments over http
Extension version: 0.14.0
VSCode Version, OS:
Version: 1.48.0-insider Commit: ff6b1c5984a4c2116a06318f07e871a4169fdb1b Date: 2020-07-17T13:13:00.639Z (2 days ago) Electron: 8.3.3 Chrome: 80.0.3987.165 Node.js: 12.13.0 V8: 8.0.426.27-electron.0 OS: Darwin x64 18.7.0
Steps to Reproduce:
Install extension Run "open in github" I was directed to a url that matched my local github self-hosted instance, except that the "http" in the correct url had been replaced with an "https". I removed the superfluous "s" and the url was correct. Don't know who is forcing https, vsc or this extension. I noted a similar problem with this plugin as well: https://github.com/microsoft/vscode-pull-request-github/issues/2012
Would also like to bump for ssh use-cases. By default, the file opens to this url:
https://{{remote-url}}-github.com/filename...
It's easy enough to just remove the prepended url, but I'd like to see some automation where I don't have to do that.
Possible related? https://github.com/d4rkr00t/vscode-open-in-github/issues/58