I have a very simple use case. Eclipse Kepler with PDF. New project with PHP nature.
One file at the root
# test.php
<?php
$fu = new Fu();
$fu->bar();
&
One file in a directory
# vendor/vendor.php
<?php
class Fu {
public function bar () {
}
}
&
Both files show an error in the Problems view. I need to exclude all files under vendor/ (recursively) from the Problems view, while keeping the code completion on objects defined under vendor/ (recursively).
Desired result:
- code completion in test.php still works on Fu and all classes defined under vendor/
- the Problems view doesn't show any error or warning on files under vendor/
- the Problems view shows errors and warnings on other files as usual
- the Problems view doesn't depend on the selected element
What I tried:
- removing vendor/ from the Build Path also removes all code completion on classes under vendor/
- Project > Properties > Validation > Enable project specific settings + PHP CodeSniffer Validator settings > Exclude Group > Folder: vendor doesn't do anything at all