Kotlin Generate Comment Doc [duplicate]

杀马特。学长 韩版系。学妹 提交于 2020-01-15 05:59:25

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/38079234/kotlin-generate-comment-doc

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!