在Eclipse中禁用实时错误和警告检查 [英] Disable real-time error and warning check in Eclipse

查看:482
本文介绍了在Eclipse中禁用实时错误和警告检查的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现Eclipse在打字期间检查代码是否有错误和警告。是否可以改变这种行为,所以它只会检查我完成写一条线?

I find it distracting that Eclipse checks the code for errors and warnings during typing. Is it possible to change this behavior, so that it only checks when I'm done writing a line?

推荐答案

如果你是谈论java代码,该复选框可以通过'首选项 - Java - 编辑器' - >在输入时报告问题找到。

If you were talking about java code, the checkbox can be found via 'Preferences - Java - Editor' -> 'Report problems as you type'.

String tmp =             // no syntax error here
String tmp = ;           // line end -> syntax error

对于其他编辑者,使用常规编辑器 - 结构化文本编辑器 - >报告问题你输入'。没有必要停用自动构建。

For other editors use 'General - Editors - Structured Text Editors'-> 'Report problems as you type'. It's not necessary to deactivate 'build automatically'.

这篇关于在Eclipse中禁用实时错误和警告检查的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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