mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 08:47:50 +08:00
* 2023.1 release: update gh-links, re-gen EP lists * code samples: update target version * code samples: fix framework_basics missing dependency on Java plugin * stub_indexes.md: update -master GH link * EP lists: improve "Topic" presentation * internal_ui_inspector.md: fix link * kotlin_demo: fix link * Generate Android Studio releases * publishing_plugin.md: add note about plugin signing * plugin_signing.md: Update information about providing `certificateChainFile` and `privateKeyFile` + minor changes * tools_gradle_intellij_plugin.md: add `verifyPluginSignature` task * plugin_signing.md: add Plugin Signature Verification * plugin_signing.md: fixed anchor * creating_plugin_project.md: update * GH: set final 2023.1 tag * GH code samples: update PV version * code samples: ComparingStringReferencesInspection compatibility with 231.*
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