Sam
02/14/2023, 10:05 AM@sample
documentation links in the stdlib not be broken in IntelliJ? They show as clickable, but clicking them just shows an error.Klitos Kyriacou
02/14/2023, 11:27 AMpublic fun <T> emptyList(): kotlin.collections.List<T> { /* compiled code */ }
The only way I get to see documentation while using IntelliJ is by looking at kotlinlang.org in Chrome.Sam
02/14/2023, 11:35 AMemptyList()
and then click on it, but I definitely have seen that not work in the past. C.f. https://kotlinlang.slack.com/archives/C0B8H786P/p1669208903960199?thread_ts=1669205543.114769&cid=C0B8H786PKlitos Kyriacou
02/14/2023, 11:47 AMval x: List<Int> = listOf()
then it takes me to the class file, and it won't show me the source file whatever I do. However, if I add a parameter and click on "listOf" in val x: List<Int> = listOf(1)
then it succeeds in taking me to the source file!