Eclipse中的代码出现标红、黄、绿的原因
Eclipse中的代码出现标红、黄、绿的原因及怎么改回正常显示?
1.原因,是因为点到了
这三个运行图标中的中间那个,该为测试代码覆盖率的功能,也就是run -->coverage
2.解决办法,
Window >>>Show View >>> Other…
Java >>> Coverage>>>>Open
最后点那个两个X重叠的图标
点这个图标即可,回复正常
Eclipse中的代码出现标红、黄、绿的原因
Eclipse中的代码出现标红、黄、绿的原因及怎么改回正常显示?
1.原因,是因为点到了
这三个运行图标中的中间那个,该为测试代码覆盖率的功能,也就是run -->coverage
2.解决办法,
Window >>>Show View >>> Other…
Java >>> Coverage>>>>Open
最后点那个两个X重叠的图标
点这个图标即可,回复正常