Eclipse 3.4.1 - how to view compiler output in Console while building a project

后端 未结 4 497
鱼传尺愫
鱼传尺愫 2021-02-01 17:21

I have what appears to be a very annoying problem. When compiling a project in Eclipse, I see no Console that shows the invocation of the Java compiler and the build results (as

4条回答
  •  遇见更好的自我
    2021-02-01 18:13

    Your question contains a couple of assumptions that you might want to re-think.

    It does not show the list of errors so that I can quickly jump to them.

    Errors are flagged in the edit window while you are editing. You can fix them on the spot, without having to "jump" anywhere.

    If you drop an entire source file into your project, you may not be in an edit window on that file. (And, of course, that's not standard Eclipse usage.) The simplest way I know do deal with that is simply to "Refresh" the project and look in the Package Explorer view to see whether there are any errors detected (which will happen immediately if you "refresh" a file into a source folder). Double-click on any files which show an error icon and look at the right-hand side of the edit window to see exactly where the errors are.

    I'm aware that there is a "Problems" view, which shows a list of problems (and not just compiler errors) in all projects and not the particular project that I am working with...

    Unless you are using multiple projects, with inter-project dependencies, I find it useful to close all but the current project on which I'm working. Then the "Problems" view is specific to the current context.

    Finally, I'd recommend looking at the Mylin "getting started" page for other hints on how Eclipse can help you focus on the current task.

提交回复
热议问题