Facet
Edit pageLast modified: 15 August 2024Product Help: Facets, Adding frameworks (facet)
A facet represents configuration specific for a particular framework/technology, associated with a module. A module can have multiple facets. For example, Spring Framework-specific configuration is stored in a dedicated Spring facet.
Working with Facets
note
Workspace Model API (2024.2+)The Workspace Model API is available since 2024.2 for use by third-party plugins and should be preferred over using the Project Model API.
See Interoperability with Project Model API and Usage Examples.
Managing Facets
To create, search, and access the list of facets for a module, use FacetManager
.
Facet-Based Tool Window
A tool window dependent on the existence of given facet(s) can be registered via com.intellij.facet.toolWindow
extension point.
Facet Basics Sample
See Facet Basics sample plugin project.
Thanks for your feedback!