If I have the following project layout:
If sourceFile1 had an error, I don't see the redline marking a problem with moduleA; instead, I see a marking at the Project level, and if I expand the moduleA to see the files I can see that souceFile1 has the marking as well. But why moduleA doesn't have such marking? It would be nice to see which module contains the error without the need to expand trees to see where the error is occuring. Can this be done in intellij?