Navigatable#navigate was changed so that it can no longer be used via delegation: [navigation] IJPL-253947: Mark Navigatable#navigate as override-only · JetBrains/intellij-community@5703000 · GitHub
- The Plugin verifier complains: “Review your usage and follow the API contract.”
- This breaking change was not announced in the docs: Incompatible Changes in IntelliJ Platform and Plugins API 2026.* | IntelliJ Platform Plugin SDK
- The IDE’s own plugins have not been adapted to this change, so there is no reference guidance: intellij-community/plugins/editorconfig/backend/src/language/structureview/EditorConfigStructureViewElement.kt at 668ce08c5d5e51ada068d0ae67ad67bd3937624d · JetBrains/intellij-community · GitHub
A legitimate use case (delegation) is now blocked for plugins, but still used in the IDE’s own bundled plugins.
Why is that, and why is there no documentation with migration guidance about this breaking change?
I have resolved this by changing a delegation to a psiElement property from
override fun navigate(requestFocus: Boolean) = psiElement.navigate(requestFocus)
to
override fun navigate(requestFocus: Boolean) {
NavigationService.getInstance(project = psiElement.project)
.requestNavigate(
psiElement,
if (requestFocus) NavigationOptions.requestFocus() else NavigationOptions.defaultOptions()
)
}
Is that as intended?