

It is still in “preview” but it seems to work fine. It is very basic but it works well.Īnother plugin is called just Kotlin. This extension adds syntax coloring, code folding and a very basic support to the language. The absolutely required extension is Kotlin Language. However, I assumed that you have them installed for your standard JDK experience.

If you are using Ubuntu, just run sudo snap install -classic kotlin.If you are using MacOS and Homebrew, then just run brew install kotlin.Instructions are here but if you do not want to spend extra clicks the basic instructions are: Obviously, the first step is to install the stand-alone version of the Kotlin compiler. Therefore, it is time to see if and how I can use Kotlin in VS Code (and see what is missing).

However, while IntelliJ is a great IDE, often I do not like to rely on big IDEs - especially when VSCode works perfectly well for 90% of my use cases. With the upcoming release on Kotlin Native, then, you can even ditch the JVM! It is the perfect thing in between a “super-powerful and but difficult language” like Rust or Modern C++, and a “super-easy but that seems to be designed in the 80s” like Go.
