You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configurations grow long, and JSON has no comments, so there's nowhere to note why a widget or color is set the way it is. A "_comment" key doesn't work either, because unknown properties are errors. SketchyBar's shell configuration and Barik's TOML both allow comments.
Proposal
Accept // and /* */ comments, and trailing commas, in the main file, includes and packages.
JSONDecoder reads them with allowsJSON5, which also accepts other JSON5 syntax. Decide whether to allow all of it, or only comments and trailing commas.
Customize and command-line edits keep comments in place. ConfigurationEdits.swift already parses the file to keep its formatting and key order, so its parser needs to carry comments too.
Possible today
No. A comment makes the file invalid, and StableBar keeps the last working configuration.
Related
None found.
Triaged by Claude Code via T3 Code (Claude Opus 5.5).
Activity
Seb-GRAF commentedon Nov 11, 2026
Settings is the main way to edit now, and keeping comments through
ConfigurationEditsis a lot of parser work for little