I found it curious that the file rename sometimes ask to refactor the class inside and (most) sometimes just renames the files.
I think the class name has to match the filename exactly. It may also depend on whether your code compiles at the time, though not sure on that point.
In addition to what AndrewS said, I belive that if you have multiple classes in a single file, it will also not ask to refactor it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With