microsoft / microsoft/vscode

Dirty model is cleared when closing without save

Open
#326,723 1 comment 0 reactions 1 assignee Claimed by @hediet View on GitHub
bug custom-editors markdown-editor
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Testing #326540

1. Create a markdown doc
2. Open it in Agents window (hybrid editor)
3. Make a change
4. Try to close it without saving

The dialog pops up asking you to save the file, but dirty mode is already cleared, if you press Cancel the file is no longer dirty.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.