How to make Scala Presentation Compiler happy with Binding.scala?

153 Views Asked by At

I use ENSIME to deal with Scala code, and ENSIME uses official Presentation Compiler. For all Binding.scala examples I looked at @dom functions result in "all is red" decoration (that is false positive error detection) for DOM fragments. Say this one example https://github.com/Atry/Binding.scala-sample results in "all is red" starting from the first div of the table definition.

I guess Eclipse users are also affected by the issue as far as Eclipse uses PC also.

How to resolve the issue?

1

There are 1 best solutions below

1
fommil On

use addEnsimeCompilerPlugin in addition to addCompilerPlugin. This will be addressed by https://github.com/ensime/ensime-server/issues/1152