I have a persistentstatecomponent where the file property of the storage annotation is set to "$MODULE_FILE$", but no data is saved to the iml. How do I do this? Also, is there a way to force a persistentstatecomponent to be saved?
What do you mean, default? The PersistentStateComponent interface doesn't specify any method that returns the default state as far as I can see.
From what I understood, default values should be set in the constructor of the component.
It was listed under <module-components>. Although I just noticed a difference in my plugin.xml from the devkit plugin.xml I was referring to. I did not have
<option name="type" value="PLUGIN_MODULE"/>
I have to stop working on this plugin for the moment. Is there another plugin which uses persistentstatecomponent for a module component that I can use for reference?
Thanks for your help.