php-language-server icon indicating copy to clipboard operation
php-language-server copied to clipboard

Keeps looking for problems in my .history folder, ignores settings.json exclude instructions

Open iskrasas opened this issue 11 months ago • 6 comments

I wish there was a setting to exclude folders explicitly from looking for problems

iskrasas avatar Mar 20 '24 10:03 iskrasas

See if you can make it work with this https://github.com/zobo/vscode-php-intellisense?tab=readme-ov-file#ignore-path-on-initial-index. Not sure if it works as it should, so try different combinations and restart the IDE.

Maybe "php.files.exclude": [ "**/.history/**/*" ]

zobo avatar Mar 20 '24 10:03 zobo

Maybe "php.files.exclude": [ "**/.history/**/*" ]

I have "php.files.exclude": [ "** /.history/ **" ], that is used by all the other extensions, restarted multiple times, didn't help

iskrasas avatar Mar 20 '24 10:03 iskrasas

spaces are there so that ** are not formatted out

iskrasas avatar Mar 20 '24 10:03 iskrasas

If you disable vscode-php-intellisense, do the errors still show up? Just want to make sure that it's actually this extension that reports them...

zobo avatar Mar 20 '24 11:03 zobo

Also, what do you mean with "all other extensions"?

zobo avatar Mar 20 '24 11:03 zobo

yeah, I did disabled it, and it is fine now I have quite a list of vscode extensions

iskrasas avatar Mar 20 '24 11:03 iskrasas