[英]Placing menu options in visual studio extensions
I've got a new menu option for my Visual Studio 2010 extension (made with the Package SDK, .vsix). 我的Visual Studio 2010扩展程序有一个新的菜单选项(使用Package SDK,.vsix制作)。 I'd like it to appear just after the Attach to Process options, preferably in the same menu group.
我希望它出现在Attach to Process选项之后,最好是在同一个菜单组中。 There's documentation on the existing menu groups but that doesn't seem to include the groups I'm looking for.
有关于现有菜单组的文档,但似乎不包括我正在寻找的组。
There's also a priority
attribute in the .vsct declaration XML; .vsct声明XML中还有一个
priority
属性; does that control the ordering of the menu options and groups? 这会控制菜单选项和组的顺序吗? If so, where can I find the priority of existing Visual Studio menu options?
如果是这样,我在哪里可以找到现有Visual Studio菜单选项的优先级?
Got an answer on the Visual Studio forums . 在Visual Studio论坛上得到了答案。 The steps as I understand them:
我理解的步骤如下:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.