Easy and fast way for reviewers to suggest code changes that can be easily applied by change owner.

Reviewer workflow

  • Select line or multiple lines of diff and start comment

Comment example
  • Click on suggest fix - that copies whole selected line/lines

Comment example
  • Modify lines in the suggestion block. Optionally add more details as normal comment text before or after the suggestion block.

Suggestion example
  • Optionally you can preview suggested edit by clicking on Preview fix when you stop editing comment

Suggestion Draft example
Suggestion Preview

Author workflow

You can apply one or more suggested fixes. When suggested fix is applied - it creates a change edit that you can modify in gerrit. More about editing mode.

FYI: Publishing a new patchset in gerrit will make gerrit change out of sync with your local git. You can checkout latest gerrit by using commands from download drop-down panel. More about download drop-down panel

You can use copy to clipboard button to copy suggestion to clipboard and then you can paste it in your editor.