IntelliJ IDEA 2016.3 Help

Converting a Java File to Kotlin File

IntelliJ IDEA enables you to convert a Java file to Kotlin.

To convert Java file to Kotlin

  1. On the main menu, point to Code menu.
  2. Choose Convert Java File to Kotlin File.
    /help/img/idea/2016.3/kotlin_convert.png

Note that the resulting Kotlin file appears in place of the original Java file.

See Also

Last modified: 7 December 2016