Play Framework Dependency Injection Template in Eclipse doesn't highlight

56 Views Asked by At

I'm refactoring my play framework project from static templates to dependency injectioned templates. In eclipse, when using static templates, it highlights ok

Eclipse highlighting the code
But when I try to inject an object through the constructor, it compiles and works but the icon changes and it clears all the red '@' characters for vars and fors, ifs
Eclipse doesn't highlight code and file icon changes
I've tried cleaning workspace, recompiling eclipse project via sbt, and other eclipse configs but without success.

sbt-plugin version is 2.6.13
sbteclipse-plugin version is 5.2.4
scala version is 2.12.4
eclipse version is 4.7.2

0

There are 0 best solutions below