Why is Dokka and KDoc so Poorly Supported by IDEA?
已回答
Why do we have to jump through hoops to get IDEA to generate HTML and GFM documentation for Kotlin? Given that Kotlin is JetBrain's language I would expect a "Generate KDoc" item under the Tools menu, with a dialog box presenting common options (location, GFM or HTML, Kotlin only or Kotlin and Java, etc.) If the project is using Maven or Gradle the POM / build.gradle.kts file should be automatically updated.
IDEA is a fantastic IDE, but in the area of Kotlin documentation support it has a glaring hole.
请先登录再写评论。
Please use https://discuss.kotlinlang.org/ for any questions related to Kotlin.
Please vote for https://youtrack.jetbrains.com/issue/KT-10589 and follow it for updates. Hopefully we will improve Dokka support in IDEA in the future.