gpt4 book ai didi

azure-devops - 我在哪里可以找到新的 azure devops 扩展的所有可用贡献目标?

转载 作者:行者123 更新时间:2023-12-03 16:50:33 33 4
gpt4 key购买 nike

蔚蓝新扩展开发documentation指向 github 中的示例项目您可以在其中看到针对 azure DevOps 门户不同区域的不同扩展示例。但是,我无法找到有关所有可用贡献目标的任何文档。我在哪里可以找到这些信息。

例如,repo 中的一个示例展示了如何向存储库选择器添加新菜单选项。这是贡献片段的样子:

{
"contributions": [
{
"id": "sample-repository-picker-action",
"type": "ms.vss-web.menu-item",
"targets": [ "ms.vss-code-web.command-bar-repository-picker-actions" ],
"properties": {
"text": "Sample repository picker action",
"uri": "dist/RepositoryActions/RepositoryActions.html",
"iconName" : "Add",
"registeredObjectId": "sample-repository-action"
}
}
]
}

如您所见,他们的目标是 ms.vss-code-web.command-bar-repository-picker-actions我在哪里可以找到所有不同目标的文档?

我尝试过的是使用 chrome Devtools 检查 azure DevOps 门户,希望将目标字符串视为任何元素中的 html 属性。那只是一个疯狂的猜测。这似乎是要为扩展创建记录的重要信息,那些在哪里?

最佳答案

您可以安装 Contributions Guide来自微软的扩展。

This extension is designed to help extension developers discover the various components of Visual Studio Team Services that can be targeted by contributions from third party extensions, as well as the context data that is available at each target.



此外,您还可以找到一长串 herehere .

关于azure-devops - 我在哪里可以找到新的 azure devops 扩展的所有可用贡献目标?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58716740/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com