Feature description or problem with existing feature
I am trying to integrate phalcon/ide-stubs but just default values allowed.
"intelephense.stubs": [
"path\\phalcon\\ide-stubs\\src\\Phalcon"
],
Describe the solution you'd like
Another options for adding custom stubs path.
I think following the installation section in https://github.com/phalcon/ide-stubs should just work.
You just have to let intelephense index those stub files anyway. If those file are in your project (as a dev dependency as the doc suggests), it should be indexed by intelephense.
I think following the installation section in https://github.com/phalcon/ide-stubs should just work.
You just have to let
intelephenseindex those stub files anyway. In those file are in your project (as a dev dependency as the doc suggests), it should be indexed byintelephense.
Thank you for your reply. I tried to copy on my project folder, it's indexed and worked.
But i tried to add "Intelephense › Environment: Include Paths" it's not worked.

tracking adding folders outside of workspace in #253
I discovered another way to index phalcon without affecting composer.json - just add phalcon/ide-stubs to your project's parent directory and open parent dir from vscode.
e.g.
before:
after:
I discovered another way to index phalcon without affecting composer.json - just add phalcon/ide-stubs to your project's parent directory and open parent dir from vscode.
e.g.before:
- your_project_dir
after:
your_parent_dir (open it with VS Code)
- your_project_dir
- phalcon
Though not the most scalable solution, it works perfectly! The only thing that works for me on a Mac