Skip to content

Allow expanding diff window to see neighboring code #584

Description

@QuentinTorg

What do you want to change?

I would like to be able to click above/below the hunk to expand the window and see more code context around the existing code. If the expansion would merge up to another hunk, then it merges the hunks. Github PR reviews have this feature for reference

Why?

Sometimes the hunk is too small and only shows few lines inside of a large function. This can make it hard to review, especially if there are multiple changes to a single function that are then broken into multiple hunks.

How? (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions