feat(settings): add an option for smaller indents in trees (#1795)

Signed-off-by: Inf1mum <[email protected]>
Цей коміт міститься в:
Vadim Lazuk authored and GitHub committed 2026-11-07 02:42:55 +08:00
1 джерело d4db7bb290
коміт ebac061a1f
9 files changed
+79 -4

No files matched your search

+4
Переглянути файл
@@ -30,6 +30,8 @@ export interface AppearanceExtras {
redGreenVision: boolean;
differentToolWindowBackground: boolean;
compactMode: boolean;
/** IDEA "Use smaller indents in trees": tool window trees indent less per level. */
smallTreeIndents: boolean;
fullPathInTitle: boolean;
projectColorsInToolbar: boolean;
dndWithAltOnly: boolean;
@@ -88,6 +90,7 @@ export const DEFAULT_APPEARANCE_EXTRAS: AppearanceExtras = {
redGreenVision: false,
differentToolWindowBackground: false,
compactMode: false,
smallTreeIndents: false,
fullPathInTitle: false,
projectColorsInToolbar: true,
dndWithAltOnly: false,
@@ -144,6 +147,7 @@ export function validateAppearanceExtras(raw: unknown): AppearanceExtras {
redGreenVision: b("redGreenVision"),
differentToolWindowBackground: b("differentToolWindowBackground"),
compactMode: b("compactMode"),
smallTreeIndents: b("smallTreeIndents"),
fullPathInTitle: b("fullPathInTitle"),
projectColorsInToolbar: b("projectColorsInToolbar"),
dndWithAltOnly: b("dndWithAltOnly"),