bmewburn / vscode-intelephense

PHP intellisense for Visual Studio Code
https://intelephense.com
Other
1.64k stars 94 forks source link

Please add OpenSwoole Stubs #2224

Closed ODelibalta closed 1 year ago

ODelibalta commented 2 years ago

Feature description or problem with existing feature OpenSwoole stubs are not available. IDE shows them as errors in my scripts even though the extension is enabled and the script executes fine.

Describe the solution you'd like Please add OpenSwoole stubs.

Additional context Using a composer package to add IDE support is not always viable. Sometimes I just want to fiddle with stuff and I really rather not deal with composer every single time.

OpenSwoole is a giant leap in terms of speeding up PHP and installs via pecl like many other PHP extensions. I'd really appreciate it if its stubs were added into this excellent extension.

Thank you for all you do

sandline commented 2 years ago

Try https://github.com/openswoole/ide-helper

bmewburn commented 1 year ago

swoole stubs added in 1.9 . add swoole to the intelephense.stubs setting.

ghnp5 commented 1 year ago

swoole stubs added in 1.9 . add swoole to the intelephense.stubs setting.

Hi @bmewburn - please note that adding "swoole" doesn't help for OpenSwoole users.

image

--

image

--

We might need "openswoole" stubs.

I'll try @sandline's suggestion - that might work for me!