Hello everyone, I've just recently discovered the ...
# datascience
s
Hello everyone, I've just recently discovered the Kotlin kernel for Jupyter. While trying to set it up in Intellij, I've come across a strange error: the highlighter always marks the code with an error stating "Expecting a top level declaration". Did any of you perhaps came across a similar problem, and if so do you have any tips on how to fix it? This doesn't happen if I launch Jupyter "manually", it seems to be related to Intellij itself.
i
Hello! How do you use Kotlin kernel in intellij? Do you use Kotlin Notebook plugin?
s
I've just created a new juypter notebook (I use intellij ultimate). But I couldn't change the kernel directly (for some reason intellij was only showing the python 3 kernel), so I opened the notebook outside of intellij and changed the kernel there. Once saved and reloaded inside intellij it was showing the kotlin kernel correctly
I've tried to search for a "kotlin notebook" plugin but couldn't find anything. Do you have any pointers?
i
s
thanks, I've installed it but it's still not entirely solving the problem, now I get this error no matter what I type, but it seems I moved on step forward?
execution works though
i
That's the bug that should be solved in Nightly (maybe in the latest EAP too). We haven't released this plugin yet, so it has some critical issues, but they are being solved actively in the latest versions
s
ok that's great to hear. I can definitely live for a while using the web interface until the issue is fixed. Thanks a lot for the help!