I’ve noticed that with K2 mode enabled in IntelliJ, dokka samples are not working in the IDE. Everything works fine when building the docs from gradle, and the IDE works properly when k2 mode is disabled, but with K2 turned on, you can’t command-click into any
@sample
calls and they render as
// Unresolved
when looking at the documentation window in the IDE
a
Adam Semenenko
11/28/2024, 2:10 PM
hi @drewhannay, thanks for the useful report. I think it seems like a bug in the Kotlin IntelliJ plugin. Could you please create a report?
https://kotl.in/plugin-issue