Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to connect Visual Studio Code to Visual Studio Team Services

I recently downloaded Visual Studio Code and I'm trying to figure out how to connect the editor to my Visual Studio Team Services project. Anyone have any success with this?

like image 600
user167698 Avatar asked Jul 27 '15 05:07

user167698


People also ask

How do I connect Visual Studio Code to Team Foundation Server?

From the Visual Studio Tools menu, select Options, then select Source Control > Plug-in Selection. Select Visual Studio Team Foundation Server. For Visual Studio Team Foundation Server, enter the name and port number for the Azure DevOps Proxy Server.

Can we connect TFS from Visual Studio Code?

The Best Answer is Fortunately both are supported for now in VS Code. You need to install the Azure Repos Extension for Visual Studio Code. The process of installing is pretty straight forward. Provide user name --> Enter --> Provide password to connect to TFS.

How do I add Visual Studio Code project to TFS?

To go to TFS source control in your visual studio code, you can use the press Ctrl + Shift + G or click this icon in your left pane. Let's see how to use TFS commands in Visual studio code in out next blog (Part-2) And as always, feel free to reach me out if you have any questions. I would be glad to help.

How does CODE work in Visual Studio Team?

Within Visual Studio Code, you can install the Teamwork extension to interact with your projects and tasks. Open Visual Studio Code on your computer and select the extensions option from the left sidebar. Alternatively, press shift + command + x on your keyboard. In the extensions marketplace, search for Teamwork.


2 Answers

First Download the "Visual Studio Team Services" extension from the marketplace, it allows you to connect to Team Services, monitor your builds and manage your pull requests and work items for your Git repositories.

After you've installed the extension, open either the root folder or a sub-folder of the cloned Git repository. Once a Team Services or Team Foundation Server 2015 Update 2 (or later) repository is detected by the extension, you will need to provide your credentials (if credentials weren't already found). If you are required to provide your credentials, there will be an indicator in the status bar whose message will indicate that you need to login in.

like image 188
Rami Sarieddine Avatar answered Sep 24 '22 13:09

Rami Sarieddine


As Alex S. Mentions, Visual Studio Code can already integrate with TFS and Visual Studio Team Services when you're using a Git Repository for source control.

TFVC support is not included, but there is a nice wrapper around the command line tools available as a plugin. You still need to have either Team Explorer 2013 or Team Explorer 2015 installed on your system, so this doesn't work on Linux or Mac, unfortunately. (Though it could possibly use the Cross Platform Command line Tools for TFS I suppose, pull request anyone?).

like image 29
jessehouwing Avatar answered Sep 22 '22 13:09

jessehouwing