-
Notifications
You must be signed in to change notification settings - Fork 185
Config for ignoring warning/errors from certain folders #164
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
Comments
Will likely add something like |
I need this. Use case is: we have a library directory with some 3rd party code (stuff that can't be loaded via Composer unfortunately), and errors and warnings from that are showing up in my VS Code console. I have excluded it using the VS Code |
Would be neat to have the ability to use the .gitignore file to tell which files to ignore warnings from. Ya know? I think it's reasonable to assume you don't want to be linting anything not version controlled... |
Any news about this? Is there a way to exclude folder from the parsing process. ? Plus: is it possible to exclude a folder but still receive the code autocompletion and hyperclick functionality (jump to definition)? Thanks in advance |
Why this is not already implemented after some time? |
@New-key because no one sent a PR. |
If you want to get updates on fixes, there is a subscribe button in the top right. |
Then please take this bit of feedback: posting comments like that on issues will not make them get fixed any faster. All it does is spam maintainers with countless notifications. It doesn't magically give me the time and motivation to spend my free time in implementing something I personally don't get any value out of. If you care that much about this, then clone this repo, roll up your sleeves and implement it. This is open source. It is not a difficult feature by any means. And this is all just PHP code which I assume you are familiar with. The reason I write documentation on every single method is so that other people can jump in and contribute. If you don't care that much about this feature why would I? By nagging you act like I owe you to implement this. I don't. Yes, this issue is almost one year old, so what? Open Source developer burnout is a thing, and this contributes to it. |
@felixfbecker I'm sorry about that. I will delete all my comments and issues. Enjoy yourself! |
@byends no need to close issues. I believe if there is a bug or feature request, it should be tracked. |
Howdy. It seems like many many issues related to "excluding files from being parsed" are being marked as duplicate, including the ones in the |
If it was resolved, it would not be open ;) |
Fair enough :) I was curious because the last update was November of 2017, and several different possibilities were mentioned, including two in this very issue (a Again, forgive my confusion -- the extension has almost 6 millions (!) downloads, so I figured I must be the one not using it correctly. What I'm seeing:
I moved the There is a section regarding performance in this repo, but my understanding of it might be incorrect. I thought that:
It seems however that re-indexing happens each time. Now the aforementioned "Performance" section hints that " the index is kept in memory.". Correct me if I'm wrong, but this only applies if you stay in the same workspace, right? My assumption was that as long as you kept VSCode open, the client/server connection to PHP LS would remain open as well, therefore the index(es) would still be kept in memory. In other words, even if you switched from one PHP workspace to another PHP workspace, the indexes for both projects would remain cached in memory. Is it possible that the extension is killing the connection when a workspace is switched, thus retriggering indexing? Either way, and again, in the spirit of trying to understand how best to use the extension and PHPLS, is the behavior described above expected? Is reindexing meant to happen each time a workspace is (re-)opened? Is this extension targeting (fast) desktop users, or small to medium-sized project mostly? Which is OK, functionality seems to be great, I was trying to gauge how it scales. Thank you. |
From @hworld on November 18, 2016 16:59
In the language server project it says: "Errors/Warnings from the vendor directory are ignored."
Would be great to have a way to specify either a different directory, or multiple directories. Right now my composer.json has this:
Copied from original issue: felixfbecker/vscode-php-intellisense#33
The text was updated successfully, but these errors were encountered: