IntelliJ Platform Plugin SDK Help

Project View

Decorating Project View Nodes

Plugin authors can modify the representation of nodes in the project view. This is used to, e.g., change the icon of module nodes to reflect the module type or add URL and server path to Python Jupyter directories as location strings.

To modify project view node representations, implement ProjectViewNodeDecorator and register it in the com.intellij.projectViewNodeDecorator extension point. From the interface only the decorate() method that modifies ProjectViewNodes needs to be implemented.

To update the node representation on certain events, use ProjectView.refresh().

09 April 2025