You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

IntelliJ插件开发:Git日志分支右键菜单对应Group ID查询

IntelliJ Git日志分支右键菜单Group ID

你需要的Git日志分支右键菜单对应的group id是Git.Branch.ContextMenu,将这个值替换掉你现有代码里的Git.Log.ContextMenu即可。

修改后的代码示例:

<extensions defaultExtensionNs="com.intellij">
</extensions>

<actions>
   <action id="GitlabMergeRequestAction"
           class="com.mypackage.myplugin.action.MyAction"
           text="Custom context menu entry">
           <add-to-group group-id="Git.Branch.ContextMenu" anchor="first"/>
   </action>
</actions>

内容的提问来源于stack exchange,提问作者Kewitschka

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.24 13:03:15