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: mention project shared indexes
This commit is contained in:
parent
9d737aed21
commit
07406f7d8d
@ -1,7 +1,7 @@
|
|||||||
# Indexing and PSI Stubs
|
|
||||||
|
|
||||||
<!-- Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
|
<!-- Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
|
||||||
|
|
||||||
|
# Indexing and PSI Stubs
|
||||||
|
|
||||||
<link-summary>The indexing framework allows to access information about files content without loading them to memory and parsing.</link-summary>
|
<link-summary>The indexing framework allows to access information about files content without loading them to memory and parsing.</link-summary>
|
||||||
|
|
||||||
## Indexes
|
## Indexes
|
||||||
@ -73,3 +73,7 @@ For [stub index](stub_indexes.md), implement [`LightStubBuilder`](%gh-ic%/platfo
|
|||||||
If a custom language contains lazy-parseable elements that never or rarely contain any stubs, consider implementing [`StubBuilder.skipChildProcessingWhenBuildingStubs()`](%gh-ic%/platform/core-api/src/com/intellij/psi/StubBuilder.java) (preferably using Lexer/node text).
|
If a custom language contains lazy-parseable elements that never or rarely contain any stubs, consider implementing [`StubBuilder.skipChildProcessingWhenBuildingStubs()`](%gh-ic%/platform/core-api/src/com/intellij/psi/StubBuilder.java) (preferably using Lexer/node text).
|
||||||
|
|
||||||
For indexing XML, also consider using [`NanoXmlUtil`](%gh-ic%/platform/indexing-impl/src/com/intellij/util/xml/NanoXmlUtil.java).
|
For indexing XML, also consider using [`NanoXmlUtil`](%gh-ic%/platform/indexing-impl/src/com/intellij/util/xml/NanoXmlUtil.java).
|
||||||
|
|
||||||
|
### Shared Indexes
|
||||||
|
|
||||||
|
For bigger projects, building and providing pre-built shared project indexes can be beneficial, see [Shared project indexes](https://www.jetbrains.com/help/idea/shared-indexes.html#project-shared-indexes).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user