

In there you can search all kind plugins which enhance the default behavior of the editor. On the right side of VSCode, you will find the tab for the marketplace. However, we recommend that you install them, as they give you a better coding experience.

You can work on Kotlin projects without Visual Studio Code Extensions and Plugins. In case of doubt we recommend that you check out the official page from Jetbrains. This step heavily depends on how you have installed Kotlin and/or Java on your machine. It is mandatory that you have a valid compiler available in order to build Kotlin projects.

Also we use the standard version of Visual Studio Code. We have manually installed the Java Runtime Environment and the Kotlin Compiler. Our tutorial mainly focuses on the windows operating system. Also depending on the compile target, you may need the Java Virtual Machine or Java Runtime Environment.īesides of that the development is platform-independent and can be done in all major OS, including Linux (e.g. All you need is to have Visual Studio code installed (see our post). The development of Kotlin projects is not really dependent on your operating system. In the end, we will focus on the development, including building and debugging a Kotlin application and how to run tests.Īs a new part of this tutorial, we will discuss how to add Gradle support to your Kotlin project in Visual Studio Code.Ħ.4 Kotlin gradle main class Operating System Once this is done we will show you how to create a Kotlin project in vscode or how to import an existing one. The first part of this tutorial will focus on how to set up the extensions and plugins. This is possible with the rich ecosystem of extensions and plugins for Kotlin. Not only your code will well be displayed, but vscode also gives you the means to refactor and control your project. It offers IDE functionality such as AutoComplete, Text/syntax highlighting, text formatting, and linting. Visual Studio Code is a perfect choice to create Kotlin projects. If this is not the case you can look at our post on how to install it on Windows, Linux, or Mac. By now you should have installed your version of vscode. This tutorial will cover how you can set up your Visual Studio Code Editor for Kotlin projects.
