its so frustrating that you can’t see sources of k...
# intellij
n
its so frustrating that you can’t see sources of kotlin std library for most of the classes/funs, i.e. Map.mapNotNull
r
Not a terribly useful comment but I can - importing my gradle project adds the sources for kotli-stdlib 1.7.20 fine for me. (Though finding sources is one of those things that sometimes doesn't work and I've never been able to work out why...)
n
our projects are mainly using Maven. But for whatever reason when you CMD +B(CMD + click) it just opens that and you can’t navigate to actual sources. Download Sources doesn’t help
I know sources are donwloaded fine because I can see sources for other files but not anything with filename ***Kt.
r
You have got
Automatically download: sources
checked at
Preferences | Build, Execution, Deployment | Build Tools | Maven | Importing
?
n
yes
s
I run into this issue all the time, in Gradle projects 😞. Sometimes if I click on something I get actual sources and sometimes I don’t. It seems random but I’m sure there’s some reason for the distinction.
same 9
4
m
It was the same for me in the past but now I think I do see the sources all the time. I use the latest of Kotlin, IJ and Gradle.
n
@mcpiroman can you open Map.mapNotNull for example?
m
Yes
n
🤔
k
I cannot open mapNotNull it shows same compiled code ☹️