Karol Lewandowski 5a256a5e9a Settings tutorial: Change the implementation to follow the recommended approach (a separate state class)
Also:
- remove unnecessary screenshot
- change labels to follow UX guidelines
2024-06-20 12:42:04 +02:00

1.6 KiB
Raw Blame History

Settings Example JetBrains IntelliJ Platform SDK Docs

Reference: Settings Tutorial in IntelliJ SDK Docs

Quickstart

This project illustrates a custom Application-level Settings through the implementation of:

  • AppSettingsConfigurable is analogous to a Controller in the MVC model it interacts with the other two Settings classes and the IntelliJ Platform,
  • AppSettings is like a Model because it stores the Settings persistently,
  • AppSettingsComponent is similar to a View because it displays and captures edits to the values of the Settings.

Extension Points

Name Implementation Extension Point Class
com.intellij.applicationConfigurable AppSettingsConfigurable Configurable
com.intellij.applicationService AppSettings PersistentStateComponent

Reference: Plugin Extension Points in IntelliJ SDK Docs