Reference: Project in IntelliJ SDK Docs, SDK in IntelliJ SDK Docs, Library in IntelliJ SDK Docs
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.
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