zobo / php-language-server

PHP Implementation of the VS Code Language Server Protocol 🆚↔🖥

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to ignore specific folders?

PF4Public opened this issue · comments

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.

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...

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

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

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