Comment actions Permalink

I found the problem. It has to do with the syntax hilighting i had set up.

In particular i added: "Argument to by-name Parameters" and selected "include block expressions"

As in scala test, it is all about the block expression to by name parameters it was all changed in grey. The other option works perfect: Include Literals.

I would urge to fix that bug: "include block expressions" in scalatest cause issue.

Comment actions Permalink

This is wrong setting as block shouldn't be grey not only in Scalatest. Highlighting should be a bit different. This is known problem, but I don't have proper solution for that yet.

Best regards,
Alexander Podkhalyuzin.

Comment actions Permalink

In 2020 problem can be worked-around by:

uncheck: "Highlight arguments to by-name parameters"
uncheck: "Include block expressions"
uncheck: "Include literals"

in Settings/Language&Frameworks/Scala



Please sign in to leave a comment.