Add an button after commit and push button
Answered
i want to add an button after commit and push button,then realize push to gerrit.
but i do not known how to do ....

Please sign in to leave a comment.
Hi,
Please describe your use case in detail. Why do you want another pushing button?
As far as I know, Gerrit is a code review tool, and the commit tool window should handle committing and pushing changes to the configured VCS, so at first sight, it doesn't look consistent.
Hi,Karol
Because my boss wants to push changes directly to Gerrit(we have used gerrit-intellij-plugin) by clicking the button, without wanting to pop up a push dialog.
I would like to know if there is a way to implement this.
I used UI Inspector, invoked it on the “Commit and Push…” button, and it found CommitActionsPanel.
Try adding your custom action to
ChangesView.ShowCommitOptions.