File name inspection doesn't appear to work when there is a companion
It seems like the File Name Inspection isn't working if a class has a companion object.
File is named Foo.scala
class is Bar notice the Inspection:
Adding a companion to Bar causes the inspection to stop working:
Please sign in to leave a comment.
Hi, Benjamin,
Thanks for reporting. This case indeed was not handled, so I fixed it.
For such kind of bugs and suggestions there is a better place:
https://youtrack.jetbrains.com/issues/SCL
Feedback is very appreciated.
Oh ok thank you.