JakubMisek If I install a new empty laravel project ("composer create-project laravel/laravel test") I also get the same errors: https://x.gnx.li/KBZgW3G4. So this project has no extra packages or anything.
Call to unknown method fest
It's not only with laravel btw. I also use KirbyCMS and it has the same problem, global and class functions are not recognised. https://x.gnx.li/yQ5TTwsQ
Thank you for the details.
Is there any error in VSCode's OUTPUT -> PHP Language Server
SamSerrien It seems like it didn't find composer.json
and installed.json
files. It should look like this:
Aren't your vendor
files excluded from the VSCode files view?
JakubMisek My vendor is exluded from the sidebar view yes (files.exclude {...}), could that be the problem? I had no idea the sidebar view and whatever scans the plugin does are related 🤔
SamSerrien it could be the problem, but, it's our problem :) we didn't expect that and as a result, we probably ignored the composer packages - I'll prepare some tests to see if we're on the right track.
SamSerrien is the vendor
folder somewhere outside the root of your VSCode workspace?
JakubMisek Nope. In the meanwhile I tested it and If I make the folder visible in my sidebar it works. If I hide it it doesn't 😅 So you were spot on with that one.
SamSerrien thanks for the quick check! our bad, will be fixed :)
SamSerrien question - is the composer.json
included in the workspace? :)
JakubMisek it is :)
Fixed and preparing pre-release (the one after 1.51.15986
), thanks!