How do I enable error highlighting in editor?

My scala project does not show errors in my code inline. If I open an sbt shell and run the compile task, there are a bunch off errors. But the editor isnt showing them. How do I enable this error highlighting?