Reviewable changes
Reviewable changes
reviewable.io

Code suggestions

 

New

  

You can now conveniently suggest changes when reviewing code:

image.png

And you get a nice, basic code editor when doing so, with syntax highlighting, automatic indents, and so on:

image.png

You can use the feature for code quotes, suggestions, or even just ad-hoc snippets to get the benefit of the code editor. And for those of you who like to lay out some options, there can even be multiple suggestions per comment. 😅

There are two major caveats:

  1. There's no click-to-accept functionality; you have to copy the suggestions into your code by hand.
  2. It doesn't interoperate with GitHub's code suggestions, because GitHub doesn't expose any API to do so.

We'll be working to further improve the feature (e.g., more compact diffing, jump to the original suggestion line) so please don't hesitate to share your ideas for how to make things even better!