Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Disable Team extension by workspace settings #23

Closed
henry-infevo opened this issue Jul 8, 2016 · 5 comments
Closed

Disable Team extension by workspace settings #23

henry-infevo opened this issue Jul 8, 2016 · 5 comments

Comments

@henry-infevo
Copy link

I'm working on a project with is using Git repo (It is not TFS repo). The visual studio code always shows message like this
error msg

Are there any way to disable the extension for a project?

@jeffyoung
Copy link
Contributor

AFAIK, VS Code extensions can be uninstalled but not disabled.

Can you tell me more about the repository? When you say it is using "Git" but "not TFS" is it a Team Services repository (that is, hosted on visualstudio.com)? Have you already configured the extension by creating a personal access token (PAT) in order to access the server (according to the instructions in the README.file)? The extension requires a PAT in order to authenticate to the server to get data about pull requests, builds and work items.

If you've already configured it for a particular Team Services account, are you looking for a way to disable the extension for some other Team Services account?

Finally, if the Git repository is not on visualstudio.com, can you tell me more about where it is hosted?

@henry-infevo
Copy link
Author

Hi @jeffyoung,

I have 2 projects:

  1. A Git repo is hosted on my server (GitLab community version).
  2. A Git repo is hosted on {username}.visualstudio.com server.

I think we should have an option to disable the extension in a particular project workspace because we use the VSCode for multiple projects.

Thanks,

@jeffyoung
Copy link
Contributor

So you're opening the folder for 2 and you get that message? If that's the folder you're opening, have you configured the access token for it? If not, is it because you'd just rather not set the PAT for it (and this is why you'd like the extension to be disabled)?

If you're opening the folder for 1, the extension shouldn't load at all. If you get the errors as a result of that, then this is a bug I'll need to investigate further.

Thanks for the additional information!

@jeffyoung
Copy link
Contributor

Hi @Jkaveri. Since this issue was opened, we've updated the extension quite a bit. Now, I would suspect that if you open a folder for your Team Services repository, you'll be prompted to "sign in" and provide your personal access token. I'd be interested in knowing if this changes what you've seen.

@jeffyoung
Copy link
Contributor

Closing since there has been no follow-up.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants