Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kotlin Generate Comment Doc [duplicate]

Tags:

kotlin

javadoc

With Java we used to use /** before a method and a nice auto-generated doc would just appear. Can't do the same with Kotlin. Is this feature available, turned of by default? How can i turn it on?

like image 508
johnny_crq Avatar asked Oct 31 '25 00:10

johnny_crq


1 Answers

Kotlin documentation tools is called Dokka. You can document your code as in java with /**. Take a look to the official docs: https://kotlinlang.org/docs/reference/kotlin-doc.html

like image 94
jorgemf Avatar answered Nov 01 '25 14:11

jorgemf