micro-editor / micro-editor/micro
Offer to show diff when backup file is found
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
Description of the problem or steps to reproduce
Currently the 2 options that show when a backup file is found is recover or ignore with no way (aside from switching to another terminal and diffing some oddly name file with the current file) to see what the differences are between them.
It would be nice if there was a third option to just show the diff of the 2 files to decide which to use.
Specifications
Commit hash: 2.0.1 (ubuntu) / 2.0.4-1 (alpine) (c5b0c2d41f67048ba859cbf7d7aba6a3b547e1ef)
OS: Linux
Terminal: Kitty
Contributor guide
No contributing guide indexed for this repository
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
No files or tests are named. Start by locating the backup-file recovery prompt and its recover/ignore choices, then trace how the current and backup files are identified. Done means a third choice shows their diff so the user can decide which file to keep.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100