Skip to content

Latest commit

 

History

History

project_model

Project Model Sample JetBrains IntelliJ Platform SDK Docs

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