mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 16:57: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
Project Model Sample 
Reference: Project in IntelliJ SDK Docs, SDK in IntelliJ SDK Docs, Library in IntelliJ SDK Docs
Quickstart
Project Model Sample project provides five actions that present data extracted using ProjectRootManager
instance in the message dialogs.
Within the implemented actions, you will be able to:
- fetch libraries used in the project,
- retrieve the information about the module details,
- rename the used SDK,
- get the content source roots,
- or extend the project dependencies with an additional library.
Actions
ID | Implementation | Base Action Class |
---|---|---|
ProjectModel.SourceRoots |
ShowSourceRootsActions | AnAction |
ProjectModel.ProjectSdk |
ProjectSdkAction | AnAction |
ProjectModel.ProjectFileIndex |
ProjectFileIndexSampleAction | AnAction |
ProjectModel.ModificationAction |
ModificationAction | AnAction |
ProjectModel.LibrariesAction |
LibrariesAction | AnAction |
Reference: Action System in IntelliJ SDK Docs