mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
references_and_resolve.md: Mention PsiPolyVariantReferenceBase
This commit is contained in:
parent
16e10c0494
commit
0c877b7ce9
@ -69,6 +69,8 @@ The targets to which the reference resolves are returned from the `multiResolve(
|
|||||||
The <ui-path>Navigate | Declaration or Usages</ui-path> action for such references allows the user to choose a navigation target in a popup.
|
The <ui-path>Navigate | Declaration or Usages</ui-path> action for such references allows the user to choose a navigation target in a popup.
|
||||||
The implementation of `multiResolve()` can be also based on [`PsiScopeProcessor`](%gh-ic%/platform/core-api/src/com/intellij/psi/scope/PsiScopeProcessor.java), and can collect all valid targets for the reference instead of stopping when the first valid target is found.
|
The implementation of `multiResolve()` can be also based on [`PsiScopeProcessor`](%gh-ic%/platform/core-api/src/com/intellij/psi/scope/PsiScopeProcessor.java), and can collect all valid targets for the reference instead of stopping when the first valid target is found.
|
||||||
|
|
||||||
|
> Consider using [`PsiPolyVariantReferenceBase`](%gh-ic%/platform/core-api/src/com/intellij/psi/PsiPolyVariantReferenceBase.java) as a base class for `PsiPolyVariantReference` implementations.
|
||||||
|
|
||||||
## Additional Highlighting
|
## Additional Highlighting
|
||||||
<primary-label ref="2022.2"/>
|
<primary-label ref="2022.2"/>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user