mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
indexing_and_psi_stubs.md: add crosslinks
This commit is contained in:
parent
b06f83c002
commit
3bfe6660df
@ -16,11 +16,11 @@ It supports two main types of indexes:
|
||||
|
||||
File-based indexes are built directly over the content of files.
|
||||
Stub indexes are built over serialized *stub trees*.
|
||||
A stub tree for a source file is a subset of its PSI tree, which contains only externally visible declarations and is serialized in a compact binary format.
|
||||
A stub tree for a source file is a subset of its [PSI](psi.md) tree, which contains only externally visible declarations and is serialized in a compact binary format.
|
||||
|
||||
Querying a file-based index gets you the set of files matching a specific condition.
|
||||
Querying a stub index gets you the set of matching PSI elements.
|
||||
Therefore, custom language plugin developers typically use stub indexes in their plugin implementations.
|
||||
Therefore, custom language plugin developers typically use [stub indexes](stub_indexes.md) in their plugin implementations.
|
||||
|
||||
> [Index Viewer](https://plugins.jetbrains.com/plugin/13029-index-viewer/) plugin can be used to inspect indexes' contents and properties.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user