How can I provide UI to change plugin's settings

To store settings I should use PersistentStateComponent object. But how user can change these settings?
Suppose I've got two input fields and few checkboxes. What's the best way to implement plugin's settings UI?

2 comments
Comment actions Permalink

Implement com.intellij.openapi.options.Configurable

Look into other plugins or intellij-community.

I implemented quite a few of them using IntelliJ UI Designer, I do not say they are perfect, but they work, see...
https://github.com/krasa/EclipseCodeFormatter
https://github.com/krasa/GrepConsole
https://github.com/krasa/VisualVMLauncher
https://github.com/krasa/MavenHelper

0

Please sign in to leave a comment.