IntelliJ IDEA 2016.2 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.
    kotlin_convert

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

See Also

Last modified: 23 November 2016