Working before in Android Studio if before the function I put / ** and hit enter, then I automatically generated the next document with annotations for describing the parameters, the return value, etc.
/**
* @params a
* @return
*/
int f(int a)
{
return a;
}
When I started working with Kotlin in Android Studio, I tried to generate a similar template, it produces blank template without returns, params, etc.
/**
*
*/
fun f(a: Int)
{
return a
}
I installed Dokka and tried to set it up in Android Stuio, but it did not work. How can I configure the generation of a similar template for Kotlin in Android Studio?