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?

请先登录再写评论。