Hello,
This gives me an error:
return new Imagick($path);
I believe it's because Imagick stub isn't added by default to Intelephense.
However, I don't find any documentation regarding how to add those myself if I want.
There is a Setting to add Stubs, but I'm not sure what to put when adding an item?
Thank you very much.
imagick For now settings UI don't have suggestions, but there is autocomplete in json.
You can find all values here: https://github.com/bmewburn/vscode-intelephense/blob/0a389b84e26a0f33ccfa93c86c848bb51fce67fd/package.json#L135-L293
Absolutely perfect!
Is there any documentation/wiki where we can see all these things?
If not, would be nice to have one :)
But I'm good for now - this can be closed.
Thank you.
There is non yet, but these are just folders from this repo: https://github.com/JetBrains/phpstorm-stubs
Most helpful comment
imagickFor now settings UI don't have suggestions, but there is autocomplete in json.You can find all values here: https://github.com/bmewburn/vscode-intelephense/blob/0a389b84e26a0f33ccfa93c86c848bb51fce67fd/package.json#L135-L293