开发者

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

开发者 https://www.devze.com 2023-01-29 23:08 出处:网络
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

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

精彩评论

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

关注公众号