mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
* api_notable_list_2022.md: update unbundled plugins 2022.3 * element_patterns.md: new sample * 2022.3 release: update GH links * 2022.3 release: update GH links, #2 * EP list: initial, change android from GH to JB hosting temporarily + adapt links * 223 release initial values * stop recommending PreloadingActivity (internal API now) * product specific EP lists * element_patterns.md: minor * code samples: upgrade * extension_point_list.md: fix duplicate heading * sdk_code_guidelines.md: update compatibility values * spring_extension_point_list.md: update * 223.7571.182
Settings Example 
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,AppSettingsState
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 |
AppSettingsState | PersistentStateComponent |
Reference: Plugin Extension Points in IntelliJ SDK Docs