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
Tree Structure Provider Sample 
Reference: Tree Structure View in IntelliJ SDK Docs
Quickstart
The Tree Structure Provider sample project implements com.intellij.treeStructureProvider
Extension Point, which allows modifying the structure of the project tree in the Project View panel.
This implementation limits the presented files to the Plain Text files only.
The current implementation checks if a Project View node represents a directory or file of the PlainTextFileType
type.
Otherwise, an element is not included in the results list, so only directories and plain text files are rendered.
Extension Points
Name | Implementation | Extension Point Class |
---|---|---|
com.intellij.treeStructureProvider |
TextOnlyTreeStructureProvider | TreeStructureProvider |
Reference: Plugin Extension Points in IntelliJ SDK Docs