xml_dom_api.md: add EP link

This commit is contained in:
Yann Cébron 2025-04-09 16:55:06 +02:00
parent 0afe4f2073
commit 4d92b8dd08

View File

@ -631,7 +631,7 @@ Usually you will want to add searcher/utility methods to work with your `DomMode
DOM elements can be stubbed, so (costly) access to XML/PSI is not necessary (see [Indexing and PSI Stubs](indexing_and_psi_stubs.md) for similar feature for custom languages). DOM elements can be stubbed, so (costly) access to XML/PSI is not necessary (see [Indexing and PSI Stubs](indexing_and_psi_stubs.md) for similar feature for custom languages).
Performance relevant elements, tag or attribute getters can simply be annotated with `@com.intellij.util.xml.Stubbed`. Performance relevant elements, tag or attribute getters can simply be annotated with `@com.intellij.util.xml.Stubbed`.
Set and increase `stubVersion` of `com.intellij.dom.fileMetaData` extension whenever you change `@Stubbed` annotations usage in your DOM hierarchy to trigger proper rebuilding of Stubs during indexing. Set and increase `stubVersion` of <include from="snippets.topic" element-id="epLink"><var name="ep" value="com.intellij.dom.fileMetaData"/></include> extension whenever you change `@Stubbed` annotations usage in your DOM hierarchy to trigger proper rebuilding of Stubs during indexing.
## Building a DOM-Based GUI {collapsible="true"} ## Building a DOM-Based GUI {collapsible="true"}
<primary-label ref="Deprecated"/> <primary-label ref="Deprecated"/>