Why is plugin adding "override" to implemented methods?

I have some a trait that I am extending and when I go to implement the
methods from the trait, the Scala plugin is adding the "override"
keyword to the function, even though it is pure virtual in the trait and
so the override keyword is not necessary.

Thank you,

Donald

1 comment
Comment actions Permalink

As for me it looks like good practice. In case if method dissapear from trait you will know about new dead code.

However it's configurable. See screenshot in attached files.

Best regards,
Alexander Podkhalyuzin.



Attachment(s):
Override.png
0

Please sign in to leave a comment.