开发者

Why is the Problems view in Eclipse not showing all of my errors?

I am using Eclipse 3.4 Ganymede, and in my project there are several Java files that have compile errors. There's a red line at the error point when I open one of these files, but Eclipse doesn't show that there's a problem with the file at the project level.

Is there a property tha开发者_开发知识库t needs to be set for that to happen? Why wouldn't all of my errors be shown in the Problems view?


The project level shows the state of the classes on disk and not in memory.

In other words you can have plenty of compilation errors in your classes as you edit them, but the version on disk is not influenced until you save.

A quick way to synchronize is to use Ctrl-Alt-S which saves all edited files to disk.


You don't need to set any specific property. In the menu, select Windows -> Show View -> Problems and it will open the problems view for you, showing all errors/warnings in your current workspace.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜