lapce / lapce/lapce

Add support for persistent undo/redo and local file history

Open
#568 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-editor C-feature
Dominant language
Rust
Stars
38.9k
Forks
1.3k
Avg merge
19m
Merged PRs (30d)
1

Description

Noted by @dzhou121 in https://github.com/lapce/lapce/issues/447#issuecomment-1128527893. Moved here into its own issue so the original can be closed.

While exploring the scratch buffer implementation it seems possible that we can "relatively easily" add support for persistent undo/redo, and "local file history" feature.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the scratch buffer implementation referenced in the issue and the discussion linked from issue #447. Determine the intended behavior and storage boundaries for persistent undo/redo and local file history, then identify the relevant tests or add coverage that demonstrates both features working across an editor restart.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.