如何查看 IntelliJ 中的编译错误列表? [英] How to view the list of compile errors in IntelliJ?

查看:27
本文介绍了如何查看 IntelliJ 中的编译错误列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种在 IntelliJ 中查看所有编译错误的方法,类似于它们在 Eclipse 中的显示方式.我尝试在这里和谷歌搜索,但还没有真正找到解决方案.我真的很喜欢 IntelliJ,我最近从 Eclipse 转换到它,我希望这只是我缺少的东西,而不是根本的缺陷.

解决方案

我认为这最接近您的愿望:

(来自
Eclipse 模式"/自动编译"项目的常见问题解答:http://devnet.jetbrains.com/docs/DOC-1122

I am looking for a way to view all compile errors in IntelliJ, similar to how they are displayed in Eclipse. I tried searching here and Google but have not really found a solution. I really like IntelliJ, I recently converted to it from Eclipse, and I hope this is just something I am missing and not a fundamental deficiency.

解决方案

I think this comes closest to what you wish:

(From IntelliJ IDEA Q&A for Eclipse Users):

The above can be combined with a recently introduced option in Compiler settings to get a view very similar to that of Eclipse.

Things to do:

  1. Switch to 'Problems' view in the Project pane:

  2. Enable the setting to compile the project automatically :

  3. Finally, look at the Problems view:

Here is a comparison of what the same project (with a compilation error) looks like in Intellij IDEA 13.xx and Eclipse Kepler:

Relevant Links: The maven project shown above : https://github.com/ajorpheus/CompileTimeErrors
FAQ For 'Eclipse Mode' / 'Automatically Compile' a project : http://devnet.jetbrains.com/docs/DOC-1122

这篇关于如何查看 IntelliJ 中的编译错误列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆