https://kotlinlang.org logo
Title
c

camdenorrb

10/08/2018, 3:45 AM
Is there any way to get templates for documentation in Kotlin? For example in Java if I open a javadoc comment it'll fill out params and stuff for me
Found: https://github.com/siosio/kodkod Why isn't something like this in Intellij?
h

Hamza

10/08/2018, 6:04 AM
Just use kodkod. It looks pretty neat.
g

gildor

10/08/2018, 6:12 AM
This is intentionally. Kotlin Team believes that params and other info about method should be part of method description rather than separated declaration
2
h

Hamza

10/08/2018, 6:28 AM
method description? what do you mean andrey
g

gildor

10/08/2018, 6:43 AM
For example
binarySearch
you can see that there is no special doc for argument
elements
, instead it used as part of method documentation
k

karelpeeters

10/08/2018, 7:36 AM
h

Hamza

10/08/2018, 8:00 AM
Thanks guys. Your help is always wonderful.