visual-studio - VSTS - 如何使用更改集注释?

标签 visual-studio tfs azure-devops tfs-code-review

我们使用 visualstudio.com 作为我们的项目管理器提供商。我们刚刚开始使用对变更集的评论在提交后进行代码审查。

像这样:

VSTS changelog comments

我对使用它有一些疑问:

  • 像 Code-Review 这样使用变更集注释的方式是否正确?如果不是,为什么它甚至存在于 VSTS 上?

  • 据我所知,我收到有关这些评论的通知的唯一方法是在评论中使用“@”标记某人。是否有任何其他方法可以像任何 Visual Studio 扩展一样获取有关这些评论的通知?

提前致谢

最佳答案

是否使用变更集进行代码审查,取决于您的解决方法( checkin 前或 checkin 后的代码查看)。

如果更改总是被批准 checkin VSTS 而您只想讨论代码审查,那么您当然可以使用变更集来满足您的要求。以及变更集的功能(您可以在 changesets 中找到):

You can view a changeset to see what the exact file changes were, discover the owner's comments, find linked work items, and see if any policy warnings were triggered

如果更改需要在 checkin VSTS 之前由代码审阅者批准,则不应使用更​​改集,您需要使用 code review相反。

对于通知,您可以根据需要在通知设置(https://account.visualstudio.com/DefaultCollection/_notifications)中进行设置,例如您可以设置在 checkin 代码或代码审查更改时通知等。

enter image description here

关于visual-studio - VSTS - 如何使用更改集注释?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43442804/

相关文章:

c++ - 在 Visual Studio 中使用子项目

visual-studio - 如何将 Visual Studio 2015 Update 1 升级到 Update 2?

c# - TFS [merge] 标记在合并代码审查中的含义

visual-studio - 在没有管理员权限的情况下运行 Visual Studio

visual-studio - TFS - 获取 Visual Studio 中特定代码行的历史记录

xcode - 获取 TF205022 : The following path contains more than the allowed 259 characters in Xcode and TFS

powershell - 生成失败时如何在Azure DevOps PR中创建注释?

Azure DevOps 代码覆盖率被错误地识别为工件

linux - 未设置 Linux TERM 环境变量上的 Powershell v2.0

C++|在函数外声明类