Skip to content

Better support for multiline strings #372

@chshersh

Description

@chshersh

First of all, thanks a lot for creating this amazing tool! 🎉
I use it daily and it helps me a lot 🤗

While using the issue, I've noticed one potential improvement. Currently, when I edit a single line in a multiline YAML code block, I see the diff between two YAML values as the fully new string instead of detailed highlights in each string (as shown on the screenshot below)

image

I would be truly wonderful if difftastic could produce a more granular diff in this case! 🙏🏻

Possibly related:

Additional information:

  • OS: Ubuntu 22.04
  • Difftastic version: 0.35.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions