Open khanhnam99 opened 1 year ago
how stop scan files indexing in visual studio code. php-intellisense ignore exclude files config.
Can you show you configuration of php.files.exclude
and the contents of the Output panel (PHP Language Server). Look also for a message containing files total
.
I also have this issue. For my php.files.exclude I have tried many combinations. For example "/.vscode-server/" and ".vscode/*/" and several others. I cannot find the correct way to exclude.
The .vscode-server is in the root for my user of course, and the folders I use for coding are in the ~/code/*
DEBUG Checking PHPLS_ALLOW_XDEBUG DEBUG The Xdebug extension is loaded (3.2.2)
WARNING No restart (Unable to read ini: /var/www/vhosts/system/xxx.net/etc/php.ini)
Try **/.vscode-server/"
Tried that. What finally works is absolute path: "/var/www/vhosts/xxx.net/.vscode-server/*/"
And on another server: "/home/xxx/.vscode-server/*/"
All good now. This has been bugging me for a while. Should add this to the readme for remote ssh vscode!
Indeed the docs say differently. I will recheck this.
how stop scan files indexing in visual studio code