Copy & pasting a kotlin code in IntelliJ(2017....
# announcements
r
Copy & pasting a kotlin code in IntelliJ(2017.2EAP) creates a java file instead of kotlin file. Am I missing something or that support is not yet added?
v
ravikumar: no, you have to past into an existing kotlin file to have a conversion
r
@voddan I'm not trying to convert from Java to Kotlin. Say I have a
data class Person
inside another class, I want to move this into a separate class, copy and pasting the data class creates 'Person.java' instead of 'Person.kt'
y
v
Wow, yet another IJ feature I didn't know about 0_o