Skip to content

Conversation

@blutorange
Copy link
Contributor

@blutorange blutorange commented Jan 17, 2025

Adds a new option commandsOptions.edit.confirmUnsavedBeforeClose.

Defaults to false. When set to true, the edit dialog asks the user for confirmation first when they have unsaved changes and attempt to close the dialog. The user can either cancel the operation, keeping the dialog open, discard their changes, or save their changes.

Closes #3697

Defaults to false. When set to true, the edit dialog asks the
user for confirmation first when they have unsaved changes and
attempt to close the dialog. The user can either cancel the operation,
keeping the dialog open, discard their changes, or save their changes.

Implements Studio-42#3697
@nao-pon nao-pon merged commit 211c2c0 into Studio-42:master Aug 28, 2025
3 checks passed
@blutorange
Copy link
Contributor Author

Hi, I see you merged the various pull requests, that's great, thank you ; ) Not sure if you saw it, but can I ask if you have an opinion regarding #3678 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: When file being edited has unsaved changes, ask for confirmation before closing the edit dialog

3 participants