← Back to team overview

kicad-developers team mailing list archive

Why is the advanced config object read-only?

 

Is there any particular philosophical or technical reason why
ADVANCED_CONFIG was created as a read-only system (i.e. to modify any
values, you are supposed to edit the text config file and restart the
program)?

I have a use case for modifying its state but want to understand the logic
behind that initial decision before I add that support.

(The use case is that real-time connectivity is currently an advanced
config that defaults to off.  I would like to change it so that real-time
is defaulted to on, but can be disabled in advanced config, and can also be
disabled if an internal performance threshold trips.  The easiest way to do
this would be to modify the state of the ADVANCED_CONFIG singleton at
runtime.)

-Jon

Follow ups