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: remove mention of prebuilt stubs (IJSDK-1106)
This commit is contained in:
parent
85075f0ee1
commit
8a0cffbb62
@ -73,8 +73,3 @@ 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).
|
||||
|
||||
For indexing XML, also consider using [`NanoXmlUtil`](%gh-ic%/platform/indexing-impl/src/com/intellij/util/xml/NanoXmlUtil.java).
|
||||
|
||||
### Consider Prebuilt Stubs
|
||||
|
||||
If your language has a massive standard library, which is mostly the same for all users, you can avoid stub-indexing it in each installation by providing prebuilt stubs with your distribution.
|
||||
See [`PrebuiltStubsProvider`](%gh-ic%/platform/indexing-impl/src/com/intellij/psi/stubs/PrebuiltStubs.kt) extension.
|
||||
|
Loading…
x
Reference in New Issue
Block a user