Is there a way in intellij to generate javadocs fo...
# intellij
c
Is there a way in intellij to generate javadocs for a method? i.e. When I start typing
Copy code
/**
 * 
 */
I want it to auto fill the param names
v
It does this for Java, but not for Kotlin. Right now for Kotlin, it will only suggest parameter names and such when you manually add tags to kdoc comments. Hopefully this gets added in the future.
👍 1
c
imo in kotlin auto generating kdoc does not make so much sense. you should not add param tags for all parameters just because they are there
1
w
How is Kotlin different than Java in that regard? I mean, you can argue the same for Java (not all parameters need param tags in javadoc)
c
I think I remember reading about it in a style guide, but you are right it's not kotlin specific.
c
I guess I just always forget about the syntax for kdocs, and so I rather have it autofill everything for me, and then I could delete stuff that doesn't make sense.
c
you can just type
@
in a kdoc and see what tags are available
the best way to remember the kdoc conventions is to write more kdoc, which is a great idea anyway
c
Agree. I feel like I'm always having to reference google on how to write docs. lol
a