设置eclipse显示代码错误提示的

2024-10-12 12:28:59

1、首先找到不提示错误的工程项目,在项目上鼠标右键,选择Properties,如下图:

设置eclipse显示代码错误提示的

3、在弹出框的右边先勾选“Enable project specific settings”,“Abort buil颊俄岿髭d when build path errors occur”,再将incomplete build path 和circular dependencies改为error,具体设置如下图:

设置eclipse显示代码错误提示的

4、按照上图设置好参数后,点击apply在点击OK按钮即可。

猜你喜欢