дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-08 19:02:17 +02:00
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]>
Цей коміт міститься в:
1 джерело
502a9dc7dd
коміт
4ea7d32074
2 files changed
+2
-2
No files matched your search
@@ -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,
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in new issue
Заблокувати користувача