[Kotlin/dokka] New comment by yole on issue <#84: ...
# dokka
u
[Kotlin/dokka] New comment by yole on issue #84: Suggestion: Group Methods or Classes They wouldn't be deprived of it if they looked at the source code of your library. However, they wouldn't see any of this structure if they used regular IDE features such as code completion to explore its API. The main reason why most of the standard library is imported by default (actually not everything - e.g.
kotlin.comparators
isn't imported by default) is that the split of the standard library into packages happened very late in the development of Kotlin 1.0, and we wanted to minimize the impact on existing applications. I agree that the list of extension functions for
List
is kind of hard to read, but given that those extension functions are declared in many different places, a file-based grouping wouldn't help much. A better solution would be a tag such as
@group
that could be applied to the doc comments of different functions, regardless of where they are declared.