fix(settings): confirm before exiting the IDE by default (#834)

Confirm before exiting the IDE now defaults to on in both the Rust settings and the frontend schema; the exit dialog's "Don't ask again" still turns it off.

Fixes #749

Co-authored-by: kevinh458 <[email protected]>
Цей коміт міститься в:
kevinh authored and GitHub committed 2026-11-02 20:16:07 +08:00
1 джерело 502a9dc7dd
коміт 4ea7d32074
2 files changed
+2 -2

No files matched your search

+1 -1
Переглянути файл
@@ -235,7 +235,7 @@ impl Default for GeneralSettings {
fn default() -> Self {
Self {
reopen_last_project: true,
confirm_exit: false,
confirm_exit: true,
open_project_in: "ask".into(),
default_project_directory: String::new(),
save_on_idle: false,
+1 -1
Переглянути файл
@@ -118,7 +118,7 @@ function validateSpelling(raw: unknown): SpellingValid {
export { ACCENT_PRESETS } from "@/workbench/theme";
export const DEFAULT_SETTINGS: ValidSettings = {
general: { reopenLastProject: true, confirmExit: false, ...DEFAULT_GENERAL_EXTRAS },
general: { reopenLastProject: true, confirmExit: true, ...DEFAULT_GENERAL_EXTRAS },
appearance: { theme: "light", accent: "#3871e1", uiFontSize: 13, locale: "en", ...DEFAULT_APPEARANCE_EXTRAS },
editor: {
fontFamily: "JetBrains Mono",