ycomp
ycomp

Reputation: 8583

kotlin unresolved KDoc link but IntelliJ doesn't like the import that fixes it

import abc.MyClass.MyEnum; /// from Java

/**
 * [MyClass.MyEnum]
 */
class efg () : MyClass.MyEnum {
    return MyClass.MyEnum.BiGNUMBER;
}

I have something similar to the above in IntelliJ... but it will identify the import as unused - so optimize imports will remove it... however, if I don't insert that import manually then in my docs it will identify [MyClass.MyEnum] as cannot be resolved

What can I do?

Upvotes: 4

Views: 1402

Answers (1)

yole
yole

Reputation: 97268

This is a known issue in the Kotlin plugin.

Upvotes: 2

Related Questions