Arbitrary Editors diff Comparison
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 38.9k
- Forks
- 1.3k
- Avg merge
- 19m
- Merged PRs (30d)
- 1
Description
Is your feature request related to a problem? Please describe.
Need to see the difference i.e. compare two arbitrary buffers - i.e. in full generality.
- Buffers as it maybe unsaved new files too, not necessarily a saved file.
- Arbitrary as I am talking in context of non-SCM or non-R/VCS
Use Cases
Based on https://github.com/lapce/lapce/issues/2136#issuecomment-1426859906 , here are some use cases:
- compare dirty file (changes in editors) with saved file
- compare 2 non-consecutive commits
- compare modifications w.r.t. a refrence document - say the TA's provided answers
Describe the solution you'd like
Ability to select any two arbitrary editors in the "Open Editors" panel and "Compare selected".
This feature is available in VS Codium, Atom, Notepad++, doublecmd
Describe alternatives you've considered
The frontend is as simple as it can get, so, i don't think any alternates exist.
Additional context
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Open Editors panel and locate the editor comparison entry points; the issue names no files or tests. Done means selecting any two editors, including unsaved buffers, and displaying their diff, covering the listed comparison use cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop, devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100