vscode-open-in-github icon indicating copy to clipboard operation
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

Open bedge opened this issue 4 years ago • 2 comments

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

bedge avatar Jul 19 '20 23:07 bedge

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.

bark-mshort avatar Oct 27 '20 15:10 bark-mshort

Possible related? https://github.com/d4rkr00t/vscode-open-in-github/issues/58

ahonnecke avatar Mar 07 '24 17:03 ahonnecke