Reference: Navigating the PSI in IntelliJ SDK Docs
PSI Demo project demonstrates working with the PSI Navigation by implementing AnAction
that through the message dialog, informs about:
- an element at the caret,
- containing method,
- containing class,
- local variables.
ID | Implementation | Extension Point Class |
---|---|---|
PsiNavigationDemo |
PsiNavigationDemoAction | AnAction |
Reference: Action System in IntelliJ SDK Docs