I am trying to get Kotlin Worksheets within Intell...
# announcements
d
I am trying to get Kotlin Worksheets within IntelliJ to recognize classes available within the project. I can get it to import my classes but it will not pull in classes form libraries included via Gradle Dependencies. Specifically, I have the following in my build.gradle
Copy code
implementation "io.arrow-kt:arrow-core:$arrow_version"
I submitted too soon... My project builds fine, but I cannot reference any Arrow classes in my worksheet. Is this a limitation of the worksheet or do I need to do something to make 3rd party classes available?
m
Hmm, that's weird. They aren't working in scratches for me, either. Used to work once you set the module in the scratch file. Using latest EAP for IJ and Kotlin Plugin. Possibly a defect? As they both should definitely do that.
a
Did you manage to resolve the issue? If not, please create a bug at http://kotl.in/issue, ideally with a sample project to reproduce. Thanks!
d
Hi Alexey. I have not resolved it. I'll open an issue this weekend and come up with a small project to reproduce. Thanks for follow-up.