Parses a single KEY=JSONVALUE preference assignment as accepted by --set-preference
and --session-preference. The value may be base64:-prefixed (used when forwarding
values that must survive shell/URL transport intact). Returns undefined (after logging a
warning to warn) when the entry has no key or the value is not valid JSON.
Language-override keys ([languageId].preferenceName) are split into
preferenceName + overrideIdentifier using the same first-dot +
OVERRIDE_PROPERTY_PATTERN check as resource preference providers.
Nested-object CLI keys ([typescript]={...}) have no . after the brackets and
are kept as a literal preferenceName.
Parses a single
KEY=JSONVALUEpreference assignment as accepted by--set-preferenceand--session-preference. The value may bebase64:-prefixed (used when forwarding values that must survive shell/URL transport intact). Returnsundefined(after logging a warning to warn) when the entry has no key or the value is not valid JSON.Language-override keys (
[languageId].preferenceName) are split intopreferenceName+overrideIdentifierusing the same first-dot + OVERRIDE_PROPERTY_PATTERN check as resource preference providers. Nested-object CLI keys ([typescript]={...}) have no.after the brackets and are kept as a literalpreferenceName.