Skip to content

✨ Save and Restore Editor State #2057

Closed

Description

@thecoolwinter

Description

CodeEdit should save and restore the state of editors when files are opened. Switching between tabs should not lose the user's selection, scroll position, selected indent mode, etc. This is a pretty large blocker right now for ease of use while using CodeEdit to work on a project.

This should be entirely transparent to the user. This restoration should happen fast, and without intervention.

Additional Context

There's two kinds of things we should restore: per-session state, and permanent state.

Permanent state to restore:

  • Cursor positions
  • Scroll position

Per-session state (kept around with tab information).

  • Undo/Redo stack
  • Find text

Activity

  1. moved this from 🆕 New to 📋 Todo in CodeEdit Projecton May 30, 2025
  2. changed the title [-]✨ Save and Restore Entire Editor State[/-] [+]✨ Save and Restore Editor State[/+] on May 30, 2025
  3. moved this from 📋 Todo to 🏃‍♂️ In Progress in CodeEdit Projecton Jun 16, 2025
  4. moved this from 🏃‍♂️ In Progress to 🏁 Complete in CodeEdit Projecton Jul 10, 2025
  5. added a commit that references this issue on Jul 10, 2025
    4ce9be0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions