vscode-open-in-github: Unknown Git provider

Hi!

Today I started getting error alerts when trying to use this extension: Unknown Git provider. Error: unknown Provider. Yesterday extension worked fine. I didn’t make any changes in my environment recently, though maybe vscode updated in the background.

Here are my details: vscode: Version 1.25.1 (1.25.1) macOS: 10.13.5 xcode: 9.4.1

About this issue

  • Original URL
  • State: open
  • Created 6 years ago
  • Reactions: 6
  • Comments: 15 (4 by maintainers)

Most upvoted comments

I’m hitting this too. I tried setting openInGitHub.gitHubDomain to our Github Enterprise domain, but looks like a v1.3.5 problem. VS Code 1.25.1 as well on Windows.

@ziyasal Here’s a screenshot of the error within VS Code for me:

image

On:

  • ziyasal.vscode-open-in-github v1.3.5
  • VS Code v1.25.1
  • macOS 10.13.3

It also looks like the latest Travis build failed.

I love this extension and use it everyday. Looking forward to a fix!

@rusty-key No worries, I will have a look asap 👍

I love this extention too.

if you use custom domain repository like github.example.com, set openInGitHub.providerType: "github" in your user settings.

before this https://github.com/ziyasal/vscode-open-in-github/commit/5fae04014cee8a7456a37a618a903e8a043f0acc commit, the default providerType was gitlab but it would works with using github provider because gitlab and github are the same url style…

I’m experiencing exactly the same issue. I’ve tried setting providerType to "gitlab" and gitHubDomain to our custom Gitlab host, something I hadn’t had to set before, but this doesn’t do anything.

I’m using: • ziyasal/vscode-open-in-github v1.3.5 • vscode v1.25.1 • macOS 10.13.6