Vscode-intelephense: Imagick

Created on 14 Dec 2019  路  3Comments  路  Source: bmewburn/vscode-intelephense

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.

Most helpful comment

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

All 3 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nn-hh picture nn-hh  路  3Comments

swashata picture swashata  路  3Comments

zlianon picture zlianon  路  3Comments

ottopic picture ottopic  路  3Comments

superadmini picture superadmini  路  4Comments