Important Feature Request: Ask if changes should be saved when exiting from EDIT to prevent loss of changes

Open
#665 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
40/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust
Domain
cli

Research direction

No file or test is named in the issue. Start by tracing how EDIT handles the upper-right X and exits with unsaved changes; done means closing prompts whether to save, preserves the user's choice, and does not silently discard edits.

Written by the indexing model from the issue text.

Description

I am so used to simply clicking on the "X" in the upper right corner of apps like Notepad and having that app then ask if changes should be saved. I discovered the hard way today that Edit won't do this. Instead, it simply closes without saving any changes.

Please change this so that Edit will behave as almost every other known Windows app does by asking the user if they wish to save changes.

Dominant language
Rust
Stars
14.6k
Forks
735
Avg merge
8h 40m
Merged PRs (30d)
4

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.

More from microsoft/edit

All issues in microsoft/edit

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.