-
Notifications
You must be signed in to change notification settings - Fork 185
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 #146
Comments
Ignore from indexing, or ignore from errors/warnings? |
From @jaimerod on November 3, 2016 7:55 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. |
From @toretto460 on November 3, 2016 23:49 I need also this feature to ignore some folders because i don't have read permissions.
|
From @simonrozsival on November 4, 2016 11:11 +1 |
From @d0x2f on November 14, 2016 2:10 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. |
In Eclipse PDT we have the concept of "library folders". These a folders that are indexed, but no validation and static code analysis is done for them. Composer's "vendor" folder is automatically set as a library folder. Users can mark and unmark library folders as they wish. |
I agree that defaulting to vendor/ is ok, but it should be configurable as some people change the vendor dir to be something else (composer.json > config > vendor-dir lets you do that), and other projects have libraries in more places than one. |
Sure, but currently there is no configuration at all for the LS so |
+1 for this. |
@ianfoulds This issue is already implemented and closed. If you experience crashes, please open a new issue. |
From @jaimerod on November 3, 2016 6:25
Add the ability to ignore folders that contain libraries. That way I don't get hundreds of warnings from somebody elses code.
Copied from original issue: felixfbecker/vscode-php-intellisense#26
The text was updated successfully, but these errors were encountered: