@ctkjose Yes, if you’re looking to overwrite global preferences with local ones. Another option is to merge global and workspace preferences, depending on the use case. The door is wide open for other logic too. This helped me understand why Panic chose not to reconcile global and workspace preferences in its API.
One more point, – my memory is fuzzy but I think empty values aren’t necessarily null
. The may be an empty string or array, depending on the preference type. Something I and other extension devs have done is to have a “use global setting” option in the workspace preference that explicitly sets the value to null
.