mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 16:57:49 +08:00
1.8 KiB
1.8 KiB
Tree Structure Provider Sample 
Reference: Tree Structure View in IntelliJ SDK Docs
Quickstart
The Tree Structure Provider sample project implements 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