Plugin settings / configuration / preferences example?

I would like to add some very basic preferences or settings to my plugin, which the user would be able to change from the IntelliJ Preferences window. I found this tutorial/instruction:
https://confluence.jetbrains.com/display/IDEADEV/Customizing+the+IDEA+Settings+Dialog

But it seems like the applicationConfigurable sample plugin was removed from the project sometime in November, 2014 because it was bad and/or obsolete.
https://github.com/JetBrains/intellij-community/commit/fd9d545a69dde4bf38b420efe342886db34ed376

Is there a replacement for this document and its sample code somewhere? Is this method no longer valid for storing settings?

3 comments
Comment actions Permalink

The Configurable API used by this plugin is still valid. You can find tons of examples of its usage in the IntelliJ IDEA Community Edition source code and in other third-party plugins.

For documentation on storing the settings, please refer to this document: https://confluence.jetbrains.com/display/IDEADEV/Persisting+State+of+Components

0
Comment actions Permalink

Could someone update that document with some information about how to arrange configurables in the new v14 layout? I'm finding that my settings panels are now all found under Other Settings at the bottom, and my IDE and Project settings are separate, not grouped together like the other settings are. I haven't had time to investigate this so there's probably a simple solution, but it would be good to have it in the doc.

0
Comment actions Permalink

Ok, sounds good. I will use Configurable and seek out some other examples of its usage. Thanks.

0

Please sign in to leave a comment.