Extend highlighting for compiler errors and shapeless?

Hi everyone,

I am doing some work and using shapeless lens in order to get a type safe key into a case class field. I notice that if I put the wrong key string that I do get a compiler error when I try to compile, but IntelliJ does not detect this and show red squiggles. I would really love to be able to get that functionality, such that IntelliJ attempts compilation and when it finds the error, highlights the string with red squiggles because the string is not a valid field for the case class. 


I would be more than willing to contribute to this end, but I'm not sure where to begin and also why just basic scala compiler errors aren't highlighted by default? 


Please sign in to leave a comment.