Triggering Actions After Settings Change

Answered

Hello

Currently trying to implement functionality that triggers specific actions when certain (plugin) settings change. For instance, I want to restart the DaemonCodeAnalyzer whenever a particular setting is updated.

Is there a built-in mechanism or best practice for detecting these changes and executing something in response?

0
1 comment

One solution is to provide dedicated listeners https://plugins.jetbrains.com/docs/intellij/plugin-listeners.html. If it's about settings not part of your plugin, it might be tricky as most settings pages do not provide some sort of callback.

0

Please sign in to leave a comment.