https://kotlinlang.org logo
Title
w

witoldsz

06/14/2017, 9:58 PM
Hello! What is the easiest way to make Idea show me sources of Kotlin stdlibs? I was hoping the plugin will figure it out, but as of now all I can see are the signatures and
Decompile to Java
,
Choose sources
. Should I download sources, unpack, point to Idea or the sources should be already somewhere? I am building project using Gradle, no cmd-line tools or other stuff installed.
a

agomez

06/14/2017, 10:06 PM
witoldsz: i think there's a check to download javadoc and sources when importing/reloading a gradle project
w

witoldsz

06/14/2017, 10:25 PM
cannot find it 😞 Idea's settings and project configuration is such a spaghetti…
OK, so I have used NetBeans to download sources from Maven repo and now Idea can see them.
a

agomez

06/14/2017, 10:33 PM
for maven projects
automatic download
w

witoldsz

06/14/2017, 10:34 PM
but it's for Maven, my project is Gradle
a

agomez

06/14/2017, 10:35 PM
i know
cant find the configuration
i'm using gradle and i have all sources downloaded
w

witoldsz

06/14/2017, 10:37 PM
It's OK now, I can see the sources of stdlib.