Hi. I'm having trouble understanding when the Crea...
# intellij
e
Hi. I'm having trouble understanding when the Create extra commit with .java -> .kt file rename checkbox is supposed to appear. I just committed two files, a
foo.java
deletion and
foo.kt
creation that resulted from the Convert Java file to Kotlin file action, with some ostensibly simple updates to
foo.kt
and the checkbox wasn't there, and history was lost on the commit. Whereas I have other commits containing more than just the conversion and the checkbox was there as the extra rename commit was created. Is there something deterministic I should be looking for?
m
I didn't even know that was an option! That's amazing that it's there (at least some of the time)
e
You especially realize how useful it is when it's missing. :D
💯 1
a
1. Commit some Java file(s) to git. 2. Invoke J2K on them. 3. Commit. The checkbox should appear on second commit. If it doesn't, then it's a bug. Please report to http://kotl.in/issue with steps to reproduce and your IDEA/Kotlin plugin versions. Thanks!
e
OK, the next time it happens I'll submit an issue.
🙏 1