Persist settings at application level
Answered
Hi,
I saw that the Storage annotation, for PersistentStateComponent, has changed and I don't really understand how I need to specify the path of an application level component as StoragePathMacros.APP_CONFIG is deprecated.
I looked in the documentation (http://www.jetbrains.org/intellij/sdk/docs/basics/persisting_state_of_components.html) but there is not exemple on how we should specify the path for components other than project level components.
Could you explain me how to do or give a bit more precision in the documentation ? :)
Please sign in to leave a comment.
Hi,
just specify path.
Last I checked this works in newer IDE's but fails to store settings in older IDEs. In my plugin, removing the APP_CONFIG caused older IDEs not to store settings for the plugin, while the newer ones work with the deprecated storage macro. I'll remove it when I drop support for older IDEs, real soon now.