自定义图标优先于编辑器/标题的可能性

时间:2018-12-06 06:00:01

标签: visual-studio-code

在使用menuseditor/title条目添加自定义菜单时,我添加了带有图标的多个标题整体。

示例

"editor/context": [{
        "when": //when some custom command id,
        "command": //commandId1,
        "group": "navigation"
    },
    {
        "when": //when some custom command id,
        "command": //commandId2,
        "group": "navigation"
    }
]

上面的代码可以正常工作,并且图标可以完美加载。但是它们是按照命令标题的字母顺序排列的。是否可以为每个条目提供自定义的优先级值,以便我可以使commandId2首先出现在标题栏中?

0 个答案:

没有答案
相关问题