Monodevelop 插件 - 自定义类别节点
Monodevelop AddIn - Custom category node
我遵循了 this 教程,但他们没有告诉我如何创建自己的节点。
他们的代码正在创建项目 Edit/Insert Date 但我想要 Edit/Insert/Date
从那个教程看来我必须添加但我不知道在哪里,因为我试图在任何地方添加它但它告诉我我无法扩展该节点。
在 ItemSet 中添加插入菜单。
<Extension path = "/MonoDevelop/Ide/Commands/Edit">
<ItemSet id = "Insert" _label = "Insert">
<Command id = "DateInserter.DateInserterCommands.InsertDate"
_label = "Insert Date"
_description = "Insert the current date" />
</ItemSet>
</Extension>
我遵循了 this 教程,但他们没有告诉我如何创建自己的节点。
他们的代码正在创建项目 Edit/Insert Date 但我想要 Edit/Insert/Date
从那个教程看来我必须添加但我不知道在哪里,因为我试图在任何地方添加它但它告诉我我无法扩展该节点。
在 ItemSet 中添加插入菜单。
<Extension path = "/MonoDevelop/Ide/Commands/Edit">
<ItemSet id = "Insert" _label = "Insert">
<Command id = "DateInserter.DateInserterCommands.InsertDate"
_label = "Insert Date"
_description = "Insert the current date" />
</ItemSet>
</Extension>