What does the RoamingType parameter of the @Storage annotation do?
The SDK documentation simply says "The
roamingTypeparameter of the
@Storageannotation specifies the roaming type when the Settings Repository plugin is used." But I'm not understanding what a roaming type is when it comes to saving settings. I see the (non-deprecated) options are:
- DISABLED
- PER_PLATFORM
- PER_USER
But I'm not understanding how that changes how the settings are persisted. I would think PER_PLATFORM means it stored somewhere such that settings are for all users of a machine. But where are they stored? And what is Disabled do? Can someone explain please? Thanks.
Please sign in to leave a comment.
See https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000154224-Saving-sensitive-data-with-PersistentStateComponent