禁用日食验证器 [英] disable eclipse validators

查看:48
本文介绍了禁用日食验证器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我确实有一个包含ZF库的项目.在问题选项卡中,我从Zend库中获得了所有警告.我的问题是我想隐藏所有这些.我曾尝试为PHP验证程序添加HTML的排除组设置和规则,甚至为全局设置和自定义项目设置都暂停了所有验证程序,但没有任何效果.奇怪的是,最常见的问题类型是DLTK,我找不到这个特定的验证器.

I do have a project which includes ZF library. In the problems tab I get all the warnings from the Zend library. My problem is that I want to hide all that. I've tried adding Exclude Group settings and rules for HTML for PHP validator and even I've suspended all validators for global settings and as a customized project settings and nothing works. The strange thing is that most common type of problem is DLTK and I cannot find this particular validator.

推荐答案

并非Eclipse中所有可验证的东西都是验证器.大量的验证来自建造者.禁用构建器非常容易,但是,如果假定构建器除了验证之外还生成构件,可能会产生意想不到的后果.要禁用构建器,请转到项目属性"->构建器",然后取消选中它.

Not all things in Eclipse that validate are validators. A lot of validation comes from builders. It is quite easy to disable a builder, but there could be unintended consequences if the builder is supposed to generate artifacts in addition to validation. To disable a builder, go to Project Properties -> Builders and uncheck it.

作为替代,一些包含构建器的工具使您可以指定不应报告某些类型的问题.我对PHP工具不熟悉,但是我会在偏好设置下四处寻找.

As an alternative, some tools that include builders allow you to specify that certain types of problems should not be reported. I am not familiar with PHP tools, but I would poke around under preferences.

这篇关于禁用日食验证器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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