Using the “Push members down” refactoring when the class has no subclasses… In Java, IntelliJ will warn you that there are no subclasses and, in the next step, ask you if you want to create a new class. In Kotlin, IntelliJ will warn you that there are no subclasses and in the next step delete all the members.
😮 2
👋 1
🐛 4
😞 3
i
Ivan Kubyshkin [JetBrains]
05/22/2023, 7:25 AM
In my case I have the same message in Java as in Kotlin. Can you attach a sample project?
n
natpryce
05/22/2023, 7:25 AM
Did it create a subclass?
natpryce
05/22/2023, 7:26 AM
What version of the plugin are you using? I will update mine and re-test
i
Ivan Kubyshkin [JetBrains]
05/22/2023, 7:30 AM
No, it's the same message about deletion. 231-1.8.21-IJ8770.65