Skip to content
This repository was archived by the owner on Jun 2, 2026. It is now read-only.
This repository was archived by the owner on Jun 2, 2026. It is now read-only.

Create a native diff component #50

@mathewpareles

Description

@mathewpareles

When the user applies changes to a file, Void will highlight all of the additions in green. Here's an example:

green.diffs.mp4

However, Void should also display the parts of the file that were deleted. Here's a mock-up of what we want this to look like for the above example. The diff should include both the insertions (green) and deletions (red):

expected-diff

Task: Show diffs as above. This requires creating a new provider for diffs diffProvider, and using it in Void's VS Code extension.

Constraints:

  1. When a diff is displayed, it should not cause a syntax error in the file.
  2. When the user selects everything in the file (ctrl + a), the deletion parts of diffs should not be included in their selection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions