Include green bars in "Open modified file" #4000
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
feature-request
Request for new features or functionality
When reviewing a PR which makes large edits, it can be quite difficult to follow the lines added/removed, due to large gaps between lines in each respective view in the split view, or large interleaving of unrelated lines added/removed in the unified view.
Sometimes in these scenarios it is easier to ignore the lines removed and focus on the lines added. The "Open Modified File" command can be useful for this purpose. It even includes the PR comments on added lines (see the little message bubble glyphs on the left).
Unfortunately, the "modified file" lacks the green bars which indicate that a line was newly added in the PR. This means it's difficult to see the boundaries between unmodified code and added code. That means it's hard to tell what parts of the file we need to review. It looks like the "add comment" bar (the thicker gray bar on the left) somewhat indicates which lines were edited, but it is imprecise and difficult to see.
Similarly, it would also be handy if red bars would show up for deleted lines when using the "Open Original File" command. It looks like a similar situation, with comments on deleted lines showing up, etc.
It would be great to know if you have any sense of whether the team thinks this change would be worthwhile, and if so whether you would accept a contribution for it. Thanks!
The text was updated successfully, but these errors were encountered: