Kotlin IDE for Visual Studio Code
February 13, 2023 ยท View on GitHub
Smart code completion, linting, debugging, formatting and more for Kotlin in VSCode using the Kotlin language server and the Kotlin debug adapter.
To use, make sure that JDK 11+ is installed and open a Kotlin file inside a Gradle or Maven project. Support for Kotlin source files with a standalone compiler (kotlinc) is experimental. The language server will then automatically launch in the background.
Features
- Code completion
- Linting
- Semantic highlighting
- Debugging
- Go-to-definition
- Signature help
- Hover
- Formatting
- Document symbols
- Find references
Usage
Debugging
- Setup:
- Open the
launch.jsonfile in your project and invoke code completion to create a new launch configuration (or selectAdd Configuration...in the debug tab)
- Open the
- Launch:
- Build your project (before every launch)
- Click the
Runbutton in theDebugtab or pressF5