Skip to content

Customizable diff editor margin button #165594

@artemisSystem

Description

@artemisSystem

Recently i saw a new feature, which i see is described as "Margin Revert Icon" in the preferences, under Diff Editor. It's the right-pointing arrow in the margin when viewing an addition in a diff file.

It would be nice if it could be customized further. I'm imagining maybe having a dropdown (in the settings) with the options "Revert", "State/Unstage", and "None". I would find it much more useful to have a button to stage (when viewing a file in the working tree)/unstage (when viewing a file in the index) the change, instead of the revert button.

Metadata

Metadata

Assignees

No one assigned

    Labels

    diff-editorDiff editor issuesfeature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions