mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
navigation.md: mention EP names
This commit is contained in:
parent
2b85ad36a3
commit
b3e562273d
@ -14,7 +14,7 @@ Direct navigation is the navigation from `PsiElement` to another `PsiElement`,
|
|||||||
such as navigation from `break` keyword to the end of a loop in Java, without showing any popups.
|
such as navigation from `break` keyword to the end of a loop in Java, without showing any popups.
|
||||||
|
|
||||||
To provide `PsiElement` for direct navigation, implement and register
|
To provide `PsiElement` for direct navigation, implement and register
|
||||||
[`DirectNavigationProvider`](%gh-ic%/platform/core-api/src/com/intellij/navigation/DirectNavigationProvider.java).
|
[`DirectNavigationProvider`](%gh-ic%/platform/core-api/src/com/intellij/navigation/DirectNavigationProvider.java) in `com.intellij.lang.directNavigationProvider` EP.
|
||||||
|
|
||||||
## Symbol Navigation
|
## Symbol Navigation
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ instances (where to go and what to show in the popup).
|
|||||||
|
|
||||||
To provide navigation targets by a `Symbol`, either:
|
To provide navigation targets by a `Symbol`, either:
|
||||||
- implement and register
|
- implement and register
|
||||||
[`SymbolNavigationProvider`](%gh-ic%/platform/core-api/src/com/intellij/navigation/SymbolNavigationProvider.java);
|
[`SymbolNavigationProvider`](%gh-ic%/platform/core-api/src/com/intellij/navigation/SymbolNavigationProvider.java) in `com.intellij.symbolNavigation` EP;
|
||||||
- or implement
|
- or implement
|
||||||
[`NavigatableSymbol`](%gh-ic%/platform/core-api/src/com/intellij/navigation/NavigatableSymbol.java)
|
[`NavigatableSymbol`](%gh-ic%/platform/core-api/src/com/intellij/navigation/NavigatableSymbol.java)
|
||||||
in the `Symbol`.
|
in the `Symbol`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user