Syntax highlight for case class and companion object.

Using 0.4.573 scala plugin. Currently it shows the following:
IDEA-Scala-Highlight-CaseClass-Object.png
Why constructing Point is highlighted as "Object method call" and constructing of Vector is not? There is still apply method generated by case class.

4 comments
Comment actions Permalink

Do you have code example? (or your example on picture is complete) I can't reproduce it.
Is it permanent behaviour?

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

This is a complete example to reproduce behaviour. And this behaviour is permanent. The same was in 0.4.472.

0
Comment actions Permalink

Ok, then is navigation is ok for Vector reference? I think it possible that it navigates to scala.Vector. That is possible if your file placed not in default package, but file header declares it default.

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

Oh, sorry for spam. I found actual problem. This will be fixed.

Best regards,
Alexander Podkhalyuzin.

0

Please sign in to leave a comment.