Check out our NEW end-to-end Java DevOps demo video on YouTube!

Visual Studio Team Services Extension for Visual Studio Code

The extension is available in the Visual Studio Marketplace.

Here is the Walkthrough of the Team Services extension for Visual Studio Code video that shows many of the features of the extension.

1. Prerequisites

Visual Studio Team Services

If you are planning on using the extension with Git repositories hosted on Visual Studio Team Services, ensure you have a Team Services account. If you do not have a Team Services account, find out how to create a free Team Services account.

Team Foundation Server

If you are planning on using the extension with Git repositories on Team Foundation Server, you must be running Team Foundation Server 2015 Update 2 or later. Earlier versions of Team Foundation Server are not supported.

2. Installation

First, you will need to install Visual Studio Code 1.11.1 or later.

To install the extension with the latest version of Visual Studio Code (version 1.11.1 is the latest as of this writing), bring up the Visual Studio Code Command Palette (F1), type install and choose Extensions: Install Extensions. In the Search Extensions in Marketplace text box, type team. Find the Visual Studio Team Services extension published by Microsoft and click the Install button. Restart Visual Studio Code.

3. Authentication

Visual Studio Team Services

If you are connecting to Team Services, you will need a personal access token (PAT) to securely access your account. The latest version of the extension will prompt for your token and store it securely. In previous versions of the extension, you needed to create a token and store it in your Visual Studio Code user settings.

If you do not have a personal access token yet, you will need to create one on your Team Services account. To create the token, go here to learn how. You can also view our video on how to do the same.

  • When you create your token, create it with the Build (read), Code (read) and Work items (read) scopes to ensure full functionality.
  • You can also use All Scopes, but the minimum required scopes are those listed above.

Details on how to use these credentials with the extension are linked in the next section.

Team Foundation Server

If you are connecting to Team Foundation Server, you will only need your NTLM credentials (domain name, account name and password).

Details on how to use these credentials with the extension are linked in the next section.

4. Next Steps

Frequently Asked Questions (FAQ)

Q: What platforms does the extension run on?

A: The extension runs on OS X, macOS, Windows and Linux (we've tested on RedHat, Ubuntu and CentOS).

Q: Does the Visual Studio Code extension support Team Foundation Server (on-premises)?

A: Yes. With version 1.103.0 the extension supports Team Foundation Server 2015 Update 2 and later.

Q: Where can I find the source code for the extension?

A: The code is open source on GitHub at Microsoft/vsts-vscode. We welcome feedback and contributions!