0

IntelliJ Problems view does not show compile errors, even it underlines the classes in project view.

I've already tried many solution found (eg here), switched to Eclipse compiler, but nothing solved the problem.

enter image description here

Version: 2021.2.3 (Community Edition)Build #IC-212.5457.46 built on October 12, 2021

Daniel Hári
  • 7,254
  • 5
  • 39
  • 54
  • Does the build fail with errors, but they are not displayed in the project view? Please file a bug at https://youtrack.jetbrains.com/newIssue?project=IDEA with the logs attached (Help | Collect Logs and Diagnostic Data). – CrazyCoder Oct 22 '21 at 19:45
  • Displayed in project view (as underlined classes), but NOT displayed in "problems" view to navigate between the errors that would be handy (like in eclipse). If this is not the expected behaviour I file the bug for you. – Daniel Hári Oct 25 '21 at 19:33
  • This is definitely not an expected behavior and we are not able to reproduce it: https://i.imgur.com/ERiVEz5.png. – CrazyCoder Oct 25 '21 at 19:34
  • This happens when the error's location is in a source NOT currently open in the editor tabs (for example making a referenced public method private). And always this is the behavior for me. https://imgur.com/a/ebLXdhH – Daniel Hári Nov 01 '21 at 16:52
  • Make sure you use the latest IDE version and the project wide error analysis is enabled, the errors in all the files will be shown (even for those that are not currently open): https://i.imgur.com/8yvW5lF.png. – CrazyCoder Nov 01 '21 at 16:55
  • Thanks, but I have latest, and don't have that button for "wide error analysis": https://imgur.com/a/OpodTEA – Daniel Hári Nov 01 '21 at 17:05
  • Not sure why, see https://www.jetbrains.com/help/idea/file-and-project-analysis.html#project-wide-analysis. Please report a bug with the logs/sample project if it still doesn't work for you. – CrazyCoder Nov 01 '21 at 17:25

0 Answers0