对于两个给定的方法:
/**
* Adds a [DataItem] to the Android Wear network. The updated item is synchronized across all devices.
*/
fun putItem(){ .... }
/**
* "same KDOC here with above"
*/
fun putItem(putRequest: PutDataRequest){ .... }
是否有可能复制/链接第二种方法的文档以使其与第一种方法相同?
手动复制粘贴 KDOC 不太好,因为如果您更新其中一个,则第二个很可能会意外过时。
目前 KDOC 中没有此类功能。
请将功能请求提交至YouTrack https://youtrack.jetbrains.com/issues#Kotlin.
The KDOC 参考指南 https://kotlinlang.org/docs/reference/kotlin-doc.html显示可用的功能集。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)