将 KDoc 文档从一种方法复制到另一种方法

Copy KDoc docs from one method to another

对于给定的两个方法:

/**
* 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){ .... }

是否有可能copy/link第二种方法的文档与第一种方法相同?

手动复制粘贴 KDOC 不是很好,因为如果您更新其中一个,则第二个意外过时的可能性很高。

KDOC 目前没有这样的功能。

请向 YouTrack 提交功能请求。

reference guide for KDOC 显示可用的功能集。