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:
Screenshot - 11122014 - 02:03:25 PM.png

Adding a companion to Bar causes the inspection to stop working:
Screenshot - 11122014 - 02:03:56 PM.png

Permanently deleted user

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:
Feedback is very appreciated.


Please sign in to leave a comment.