Skip to content

Is it possible to ignore specific folders? #25

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

Closed
PF4Public opened this issue Jul 17, 2022 · 4 comments
Closed

Is it possible to ignore specific folders? #25

PF4Public opened this issue Jul 17, 2022 · 4 comments

Comments

@PF4Public
Copy link

While indexing it scans the whole project. Would it be possible to exclude some folders from the scan? Which allows sparing some memory (and I/O) on unneeded indexes.

@zobo
Copy link
Owner

zobo commented Jul 22, 2022

Yes, this is planned. There is a bunch of related issues in the original repository, for example: felixfbecker#159

A bit of an problem is that the Language Server Protocol does not support this concept natively and needs to be implemented as an extension to either the protocol or the configuration...

@zobo
Copy link
Owner

zobo commented Feb 12, 2023

Added support in #45 and zobo/vscode-php-intellisense#60 released as 1.1.0 . Setting is php.files.exclude.

@zobo zobo closed this as completed Feb 12, 2023
@svenez
Copy link

svenez commented Apr 11, 2023

what is the correct syntax to define folders to exlude? tryed out several different variants but it still trying to cache whole project

using in connected dev container, v1.1.2

@zobo
Copy link
Owner

zobo commented Apr 12, 2023

Can you give some example of what you are trying? I have one here: https://github.com/zobo/vscode-php-intellisense#features

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

3 participants