开发者

Eclipse/Zend Studio, stop validation for parts of a project tree

I have some external libraries that are showing 'warnings', I 开发者_开发百科want to stop validation of this part of my project because it is interfering with actual warning messages from my source code. Is this possible?

I am using Zend Studio but it is based on eclipse so I think the same method will apply on both applications.


You can try to go to Preferences/Validation/HTML syntax validator for PHP files/ click on settings. Add first an exclude group and then add a rule with your library folder. This will work at least with pure PHP warnings. I have a similar question concerning DLTK warnings and also posted this question to ZS forums, but I have not too much hope from there.


I was having the same issue with a dependency we were pulling in and the previous answer didn't help (maybe because it changed in the last 7 years). I found a solution on the Zend Forums.

Word of caution: if your files are having errors, you probably should NOT preform these steps!

To summarize:

  1. Right-click on the folder.
  2. Click "User As Library Folder"
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜