App development in VS Code: Stubs available?

Okay, nevermind :see_no_evil: I solved it :white_check_mark:

I found this issue and apparently, you can simply pass a path where it searches for definitions in the VS Code settings for Intelephense.

So I linked it to my local nextcloud git repository, by adding those two paths. Maybe more will be needed, I will experiment a bit with this.

/Applications/MAMP/htdocs/nextcloud-server/core
/Applications/MAMP/htdocs/nextcloud-server/lib

1 Like