禁用 Eclipse 验证器
我确实有一个包含 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
并非 Eclipse 中所有需要验证的东西都是验证器。很多验证来自构建者。禁用构建器非常容易,但如果构建器除了验证之外还生成工件,则可能会产生意想不到的后果。要禁用构建器,请转到项目属性 ->构建器并取消选中它。
作为替代方案,某些包含构建器的工具允许您指定不应报告某些类型的问题。我对 PHP 工具不熟悉,但我会在首选项下摸索。
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.
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.