Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore folders for libraries #26

Closed
jaimerod opened this issue Nov 3, 2016 · 6 comments
Closed

Ignore folders for libraries #26

jaimerod opened this issue Nov 3, 2016 · 6 comments

Comments

@jaimerod
Copy link

jaimerod commented Nov 3, 2016

Add the ability to ignore folders that contain libraries. That way I don't get hundreds of warnings from somebody elses code.

@felixfbecker
Copy link
Owner

Ignore from indexing, or ignore from errors/warnings?

@jaimerod
Copy link
Author

jaimerod commented Nov 3, 2016

Ignore the errors/warnings because it is code we should not be changing. Is there a way of muting those warnings? It is a good idea to index them because those libraries are still going to be used in the application and intellisense should still work.

@toretto460
Copy link

I need also this feature to ignore some folders because i don't have read permissions.
Ex. I have a .mysql folder used to mount a docker volume and I receive the following error

[Error - 7:59:42 PM] Server initialization failed.
  Message: RecursiveDirectoryIterator::__construct(/project/.mysql/my_db_name): failed to open dir: Permission denied
  Code: -32603 

@simonrozsival
Copy link

+1

@d0x2f
Copy link
Contributor

d0x2f commented Nov 14, 2016

When using Composer, PHP-Intellisense simply fills my error box with hundreds of errors and warnings from third party dependencies in the vendor directory.

I think it shouldn't show errors from directories within the files.exclude vscode setting. That setting seems to align with this issue.

@felixfbecker
Copy link
Owner

This issue was moved to felixfbecker/php-language-server#146

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants