如何将Visual Studio代码连接到Visual Studio Team Services

如何将Visual Studio代码连接到Visual Studio Team Services

问题描述:

我最近下载了Visual Studio Code,并且试图弄清楚如何将编辑器连接到我的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?

首先下载"

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.

安装扩展程序后,打开克隆的Git存储库的根文件夹或子文件夹.一旦扩展检测到Team Services或Team Foundation Server 2015 Update 2(或更高版本)存储库,您将需要提供凭据(如果尚未找到凭据).如果要求您提供凭据,则状态栏中将显示一个指示器,其消息将指示您需要登录.

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.