I have a problem with using default plugin configuration. I have a default plugin configuration in my plugin_name.xml file on the classpath and a project component that implements PersistentStateComponent. (I am not using JDOMExternalizable because it's deprecated). The documentation (here http://www.jetbrains.com/idea/plugins/plugin_structure.html under "defaults") states that "If component has defaults, the readExternal() method is called twice: the first time for defaults and the second time for saved configuration." (it's about JDOMExternalizable, but I believed PersistentStateComponent should act similarly). But it simply doesn't work - my plugin has default settings and when I am opening a project with its own settings for this plugin, the data isn't loaded again - loading default configuration from XML on classpath "blocks" somehow and the "real" configuration from project files is not being loaded afterwards. Any suggestions? I would extremely appreciate your help.