diff --git a/topics/basics/indexing_and_psi_stubs/stub_indexes.md b/topics/basics/indexing_and_psi_stubs/stub_indexes.md index 6ad94da45..61eca685b 100644 --- a/topics/basics/indexing_and_psi_stubs/stub_indexes.md +++ b/topics/basics/indexing_and_psi_stubs/stub_indexes.md @@ -1,6 +1,6 @@ -[//]: # (title: Stub Indexes) +# Stub Indexes - + ## Stub Trees @@ -28,7 +28,9 @@ The following steps need to be performed only once for each language that suppor * In your [plugin.xml](plugin_configuration_file.md), define the `com.intellij.stubElementTypeHolder` extension and specify the interface which contains the `IElementType` constants used by your language's parser. Define common `externalIdPrefix` to be used for all stub element types (see [`StubElementTypeHolderEP`](%gh-ic%/platform/core-api/src/com/intellij/psi/stubs/StubElementTypeHolderEP.java) docs for important requirements). -**Example**: [`JavaStubElementTypes`](%gh-ic%/java/java-psi-impl/src/com/intellij/psi/impl/java/stubs/JavaStubElementTypes.java) registered in [`JavaPsiPlugin.xml`](%gh-ic%/java/java-psi-impl/src/META-INF/JavaPsiPlugin.xml) +**Examples**: +- [`JavaStubElementTypes`](%gh-ic%/java/java-psi-impl/src/com/intellij/psi/impl/java/stubs/JavaStubElementTypes.java) registered in [`JavaPsiPlugin.xml`](%gh-ic%/java/java-psi-impl/src/META-INF/JavaPsiPlugin.xml) +- see [`Angular2HtmlStubElementTypes`](%gh-ij-plugins-master%/AngularJS/src/org/angular2/lang/html/stub/Angular2HtmlStubElementTypes.kt) for Kotlin sample For each element type that you want to store in the stub tree, you need to perform the following steps: diff --git a/v.list b/v.list index 7184f11de..1f9162877 100644 --- a/v.list +++ b/v.list @@ -15,4 +15,7 @@ + + +