cogentcore / core

A free and open source framework for building powerful, fast, elegant 2D and 3D apps that run on macOS, Windows, Linux, iOS, Android, and the web with a single Go codebase, allowing you to Code Once, Run Everywhere.
http://cogentcore.org/core
BSD 3-Clause "New" or "Revised" License
1.7k stars 79 forks source link

Figure out a way to only save non-default values in TOML, JSON, etc #786

Closed kkoreilly closed 8 months ago

kkoreilly commented 8 months ago

This would make our config files much nicer.

kkoreilly commented 8 months ago

Implemented in 1631ed7b7fa16d7c23bb2bc7515108560a253472 and the commits after it as laser.NonDefaultFields.