From 3bfe6660dfb00455b3834453773bfb9dc1832a0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Mon, 13 May 2024 11:04:17 +0200 Subject: [PATCH] indexing_and_psi_stubs.md: add crosslinks --- topics/basics/indexing_and_psi_stubs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/topics/basics/indexing_and_psi_stubs.md b/topics/basics/indexing_and_psi_stubs.md index 4d9f44675..c38107102 100644 --- a/topics/basics/indexing_and_psi_stubs.md +++ b/topics/basics/indexing_and_psi_stubs.md @@ -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.