Kotlin Kernel for Jupyter Notebook, v0.8
Today we have released a new version of the Kotlin kernel for Jupyter Notebook, and if you are experimenting with data — give notebooks with Kotlin kernel a try.
One of the great things about Jupyter Notebook is its interactive nature. It allows you to quickly get familiar with your data, try out some ideas, and run some experiments. Kotlin kernel helps you iterate over your ideas even faster by featuring enhanced code completion.
Previously, the kernel was already capable of completing local symbols, but with this update code completion works for global ones as well.
Another new feature included in this update is code completion after the dot:
Finally, when typing a string literal, Kotlin Kernel will help you complete the file paths on your local file system.
While experiments do become faster in a Jupyter Notebook, if you’re used to working in a regular IDE, you may found yourself missing some functionality, such as error analysis.
With this update, errors in your code will be underlined as you type just like in an IDE, and you’ll get a helpful hint on hover:
How To Try
You can play with Kotlin Kernel right in the browser using MyBinder service. There are several examples in the official repository.
To try the new Kotlin kernel with your existing Jupyter Notebook, install it via conda or pip install:
conda install kotlin-jupyter-kernel -c jetbrains
- pip install:
pip install kotlin-jupyter-kernel
Note, Kotlin Jupyter requires Java 8 to be installed:
apt-get install openjdk-8-jre
If you have previously installed Kotlin kernel, use following commands to update it to the latest version:
conda update kotlin-jupyter-kernel -c jetbrains
- pip install:
pip install --upgrade kotlin-jupyter-kernel
Also, feel free to join #datascience channel in the Kotlin community on Slack. We invite you to join this channel to ask questions, find out in what areas help is needed and how you can contribute, and of course share your feedback and your work with the community.
Subscribe to Blog updates
Kandy: the new Kotlin plotting library by JetBrains
We are excited to introduce Kandy, a new Kotlin plotting library by JetBrains. It provides a new, powerful DSL for creating charts of various kinds. The first public preview version is ready for you to try, and we welcome any feedback and comments you may have. Kandy Documentation How does it …
Kotlin for WebAssembly Goes Alpha
Kotlin/Wasm is in Alpha! Continue reading to explore the capabilities of this technology.
Kotlin Support in Fleet: Explore a New IDE from JetBrains
Learn more about the current state of Kotlin support in the Fleet Public Preview, a new IDE from JetBrains.
Introducing Kotlin Notebook
The first experimental version of the Kotlin Notebook plugin for IntelliJ IDEA is now available! This post will offer insight into the plugin’s functionality and use cases, but before launching into that, we’d like to let the plugin speak for itself: https://youtu.be/2PLYlDJPelQ W…