/**
* Package documentation goes here, and here's a [Symbol] reference. <-- Symbol can't be resolved; not imported yet
*/
package my.package
import my.Symbol // Import has to go here by Kotlin convention; but it's too late to import for the package documentation!
...even with fully qualified names in the comment (i.e.
[my.Symbol]
), the IDE highlights these as unresolvable.
Is there a design limitation with referencing symbols in
package.kt
documentation files? Is there some way to place the package documentation after imports?
o
Oleg Yukhnevich
10/31/2024, 7:24 AM
Hey!
what do you mean by
package.kt
files?
It's not possible to document packages in Kotlin files directly (there is no