When I am developing I haven't access to documenta...
# getting-started
f
When I am developing I haven't access to documentation of Kotlin SDK in IDE and I have to go to the Internet to look for it. How can download documentation of Kotlin SDK with Gradle or integrate to IDE?
j
The Kotlin SDK for what?
f
@Joffrey Kotlin SDK = Kotlin libs? Eg: • Attach image kotlin.collections.reversed(): I can't obtain description of method (Need source or javadoc). And I need go to Kotlin Doc every time to search.
j
Ah you mean you don't have the KDoc of the Kotlin standard library? That's strange. Which IDE are you using? This should be automatic, so maybe the Kotlinc plugin you're using has a bug or is outdated
f
Intellij last EAP (232.6095.10) But I think KDoc of the Kotlin-stdlib has never been included in the IDE automatically . JDK libs if it is included with Javadoc. Can you check If it show you the KDOC in your IDE?
j
I'm traveling right now without access to my computer, sorry. But you might be right actually, now that I think of it, I usually check the docs online I believe
thank you color 1
k
I have the same issue (and always had - with different laptops working for different companies, as well as on my home PC). I can press control+Q with the cursor on a Kotlin stdlib class/function to get its KDoc, but that seems to come from the downloaded stdlib source code. I can't press Shift-F1 to get the full documentation in my browser, like I can do with Java API methods (even in the same source file).
thank you color 1
f
Can you check If it show you the KDOC in your IDE?
I tried in my work and works. Most probably, The Environment of my house is corrupted. P.E: Resolved - I had Bundled the dependencies in my common library and It was using kotlin-stdlib of my common lib.