How to immediately see compile errors in project tree of IntelliJ Idea?

前端 未结 4 957

I\'m wondering if it is possible to configure IntelliJ Idea to immediately show compile errors on the class files in the project tree. Currently I need to manually trigger the r

4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-30 02:43

    As of IntelliJ 12 there's an option to automatically build your project upon source changes. In "Settings" --> Build, Execution, Deployment --> "Compiler" check the checkbox "Build project automatically". This will immediately show any compile errors in the project tree.

提交回复
热议问题