Improvement

February 21, 20201 Minute Read

A new interaction for multi-line pull request comments

Since shipping multi-line comments back in October, we've heard feedback that many people expected selecting a range of lines and then clicking the "+" button would also create a multi-line comment. Today, you can do just that.

To leave a comment referencing multiple lines, you can either:

  • click on a line number in the diff view, hold Shift, click on a second line number and click the "+" button next to the second line number; or
  • click and hold to the right of a line number, drag and then release the mouse when you’ve reached the desired line.

Learn more about pull request comments or send us your feedback.

Subscribe to our developer newsletter

Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.

By submitting, I agree to let GitHub and its affiliates use my information for personalized communications, targeted advertising, and campaign effectiveness. See the GitHub Privacy Statement for more details.

A new interaction for multi-line pull request comments - GitHub Changelog