SplitScript reference / Language / stable setting key

stable setting key

syntax

"Label" => name key "host-key": value

Assigns an explicit stable key in the host settings map.

The quoted key is used for persistent host storage and dynamic SettingsView.enabled lookups. The source identifier remains the statically typed member exposed through settings and oldSettings. Without key, the source identifier is also the host key. Editor rename inserts that previous identifier as an explicit key, preserving saved settings while allowing the local member name to change.

Examples

Keep a stable host key

"Enable Auto Splitting" => enableAutoSplitting key "auto-splitting": true