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?
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.
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.
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.
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.
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.
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?).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With