Eclipse 消除因未编译代码而导致的错误
我有一些代码无法编译(您必须从控制台执行才能编译)。不过我想在调试中使用它。当我有大约 100 个错误时,这非常有效,然后我可以从错误视图中删除它们。然而,当错误控制台中有大约 60 000 个错误时,这是不可能的。
如何从错误视图中删除 60 000 个错误或使 Eclipse 不在错误视图中显示错误?
I have some code that does not compile (you have to execute from console to make it compile). However I would like to use it in debug. this works great when I have like 100 errors then I can just delete them from Errors View. However when there is like 60 000 Errors in Error Console this is not possible.
How to remove 60 000 Errors from Error View or make Eclipse not show errors in Error View?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

发布评论
评论(3)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
理想情况下,您应该修复项目设置以使代码在 Eclipse 中编译。
关于错误视图中项目的可见性,您可以使用过滤器(右上角带有箭头的按钮)来控制显示哪些错误。
Ideally you should fix your project setup to make the code compile within Eclipse.
Regarding the visibility of items in the error view, you can play around with the filters (button with arrows on the top right) to control which errors are shown.