Reloading plugins in IntelliJ after changing settings

I am writing a plugin which has settings in the Other Settings menu (it impllements searchable configurable, and is represented in the plugin.xml as a <projectConfigurable ... />). What I want to achieve is to reload my plugin which is a ToolWindowExtension, when they push apply or ok button on the plugin settings page. How could I do that?

0

Your configurable has to implement `apply` method — do whatever you want in this method. Common code — set settings to your configuration component.

0

请先登录再写评论。