Copy KDoc documents from one method to another

For two given methods:

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

Is it possible to copy / link documents of the second method with the same with the first?

Manually copying the KDOC insert is not so good, because if you update one of them, there is a chance that the second will accidentally become obsolete.

+4
source share
1 answer

KDOC does not have such a feature currently available.

Submit a YouTrack feature request .

The reference guide for KDOC shows a set of available functions.

+2
source

All Articles