mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 08:47:50 +08:00
* switch to 242, update gh-ic links * fix link * fix link * fix link * fix link * regen EP lists still some diff between 242 and EAP8 * convert gh-ic-master links * GH code-samples: update PV IDE versions * code samples: adjust target IDE&since/until values * regen EP lists from release branch * intellij_community_plugins_extension_point_list.md: fix duplicate heading * intellij_community_plugins_extension_point_list.md: fix DevKit.lang.visitorProviderForRBCInspection EP * GH: update PV versions * 2024.2 GA
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