Release

April 15, 20201 minute read

Multi-line code suggestions general availability

The multi-line code suggestions feature is now generally available to all GitHub users.

With multi-line suggestions you can suggest a specific change to multiple lines of code when reviewing a pull request. To select a multi-line code block, either:

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

Once you've selected the code block, click the diff icon and edit the text within the suggestion block.

Learn more about pull request comments and 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.

Multi-line code suggestions general availability - GitHub Changelog