what's the secret to paste-convert java to kotlin?
# announcements
d
what's the secret to paste-convert java to kotlin?
g
Just copy and paste, usually it works like that
d
in what situations won't it work? maybe should have not included the comments // at the top of the java code?
g
no, I had it when copy-paste from Kotlin file %)
or something like that
also you can just paste to java file -> convert to Kotlin
d
ok I guess I won't worry about it, probably just this one file.. yeah I did that already and it worked, basically the same except the file contained the package line
d
Yeah in intellij it's under code tab at the very bottom