IntelliJ - show where errors are

后端 未结 10 2451
失恋的感觉
失恋的感觉 2020-12-02 10:44

Is there a way to make IntelliJ mark error locations continuously for the files you are working on in the similar manner as Eclipse does? At the moment I need to make the pr

相关标签:
10条回答
  • 2020-12-02 11:26

    I ran into the problem of not having set my sources root folder (project window--right click folder, mark directory as > sources root). If you don't set this IDEA doesn't parse the file.

    0 讨论(0)
  • 2020-12-02 11:34

    For IntelliJ 2017:

    Use "Problem" tool window to see all errors. This window appears in bottom/side tabs when you enable "automatic" build/make as mentioned by @pavan above (https://stackoverflow.com/a/45556424/828062).

    To access this Problems panel, you must set your project to build automatically. Check the box for Preferences/Settings > Build, Execution, Deployment > Compiler > Build project automatically.

    0 讨论(0)
  • 2020-12-02 11:37

    Frankly the errors are really hard to see, especially if only one character is "underwaved" in a sea of Java code. I used the instructions above to make the background an orangey-red color and things are much more obvious.

    0 讨论(0)
  • 2020-12-02 11:40

    In my case, IntelliJ was simply in power safe mode

    0 讨论(0)
提交回复
热议问题