Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Better Diffing Algorithm #131

Open
mathewpareles opened this issue Oct 28, 2024 · 0 comments
Open

Create Better Diffing Algorithm #131

mathewpareles opened this issue Oct 28, 2024 · 0 comments
Assignees
Labels
new feature New feature or request

Comments

@mathewpareles
Copy link
Contributor

We want our diff algorithm to feel better to use. We are currently using the diff library to implement diffs (see the file findDiffs for our implementation).

The main issues are:

  1. Creating too many diffs, which a human would join together.
  2. Abuply changing diffs when the user creates / removes newlines.

If you have a smoother diffing algorithm in mind, we are open to contributions to the findDiffs.ts file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants