在哪里可以找到新的天蓝色devops扩展的所有可用贡献目标? [英] Where can i find all available contribution targets for the new azure devops extensions?

查看:85
本文介绍了在哪里可以找到新的天蓝色devops扩展的所有可用贡献目标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

新的Azure扩展开发文档指向 github 中的示例项目,在这里您可以看到针对扩展程序不同区域的不同扩展示例.天青的DevOps门户网站.但是,我找不到有关所有可用捐款目标的任何文档.我在哪里可以找到这些信息.

The new azure extension development documentation points to a sample project in github where you can see different extension examples targeting different areas of the of the azure DevOps portal. However I am not able to find any documentation regarding all available contribution targets. Where do I find that information.

例如,回购中的示例之一显示了如何向存储库选择器添加新菜单选项.这是贡献代码段的外观:

For instance one of the samples in the repo shows how to add a new menu option to the repository picker. This is how the contribution snippet looks:

{
    "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在哪里可以找到所有可用目标的文档?

As you can see they target ms.vss-code-web.command-bar-repository-picker-actions Where do i find documentation of all the different targets available?

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

What I have tried is inspecting the azure DevOps portal with chrome Devtools hoping to see the target string as an html attribute in any of the elements. That was just a wild guess. This seems like an important piece of information to be documented for extension creation, where are those?

推荐答案

您可以安装贡献指南" 来自Microsoft的扩展.

You can install the Contributions Guide extension from Microsoft.

此扩展旨在帮助扩展开发人员发现Visual Studio Team Services的各种组件,这些组件可以由第三方扩展的贡献以及每个目标可用的上下文数据作为目标.

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.

此外,您可以找到很长的列表此处.

In addition, you can find a long list here and here.

这篇关于在哪里可以找到新的天蓝色devops扩展的所有可用贡献目标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆