如何在 Visual Studio Code (2023) 中连接 TFS

huangapple go评论88阅读模式
英文:

How to connect TFS in Visual Studio code (2023)

问题

有一种有许可的方法(不一定得到支持)可以在Visual Studio Code中连接到Teams Foundation Server吗?

似乎Visual Studio本身已经有本地集成,截止到2018年似乎还有一种方法,但是主要扩展程序不再得到支持并且已从商店中移除...

编辑:
似乎对于托管在TFS中的git仓库,这不会对git界面产生影响。一旦你克隆了仓库,VS Code的源代码控制就会正常工作。

然而,如果你将仓库设置为TFVC,除非使用特殊工具,否则无法集成,因为TFVC在大多数组织中都不再使用。

英文:

Is there a licensed method (not necessarily supported) to connect to Teams Foundation Server in Visual Studio Code?

It appears there is native integration into visual studio and as late as 2018 there appears to be a method but the primary extension is no longer supported and was pulled from the store...

Edit:
It appears to have no impact on the git interface that the git repository is hosted in TFS. Once you clone the repository, VS Code source control works normally.

However, if you set the repository to TFVC you will not be able to integrate it without special tools since TFVC is not used in most orgs.

答案1

得分: 1

目前在VSCode中没有Microsoft对TFVC的支持。

托管在TFS(又名Azure DevOps)中的Git仓库是可以访问的,但TFVC仓库不行。

您说得对,Microsoft曾经有一个支持TFVC的VSCode扩展,但已经下架。

在Windows上,如果您安装了Visual Studio,会包含tf.exe,您可以在VSCode中的终端中使用tf

英文:

Currently there is no Microsoft support for TFVC in VSCode.

Git repos hosted in TFS (aka Azure DevOps) can be accessed, but not TFVC repos.

You are correct that there was a VSCode extension from Microsoft that supported TFVC and it was pulled.

On Windows if you have tf.exe (which is included with installs of Visual Studio), you can use tf from the terminal within VSCode.

huangapple
  • 本文由 发表于 2023年7月11日 00:56:54
  • 转载请务必保留本文链接:https://go.coder-hub.com/76655845.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定