IntelliJ Platform Plugin SDK
 
IntelliJ Platform Explorer

Web Symbols Context

Edit pageLast modified: 24 October 2024

One of the important qualities of well-written plugins is the enablement of its features only when needed. For instance, if a user does not have a particular web framework in their project, HTML files should not contain that framework-specific assistance.

Web Symbols framework provides various ways to detect current context and retrieve it through WebSymbolsContext.get(kind, ...) methods.

For a particular kind of Web Symbol context, there is only one name detected, and it can be null if the context kind is not present in the location.