Kotlin / dokka

API documentation engine for Kotlin
https://kotl.in/dokka
Apache License 2.0
3.41k stars 403 forks source link

[K2] Reference to a class with quoted name is not resolved #3356

Open atyrin opened 10 months ago

atyrin commented 10 months ago
/**
 * Class: [Quoted Class Name]
 */
class `Quoted Class Name`() {

}

K1

image

K2:

image

NB: IDE didn't resolve the reference even with K1.

Installation

Parent: #3328

IgnatBeresnev commented 9 months ago

The difference itself comes from analysis-api, it doesn't resolve such links.

So, ideally, this needs to be fixed in analysis-api, but it looks like we can add a workaround on our side, so we are not blocked by it (yet).

vmishenev commented 9 months ago

See https://github.com/Kotlin/dokka/issues/3385#issuecomment-1854747125 and the definition of a link image

IgnatBeresnev commented 8 months ago

Accidentally noticed that IDEA (K1) actually proposes these links in autocomplete, but doesn't resolve it.

Image