I’m a rookie and I would like to develop Nextcloud apps. I have a question regarding my dev environment. I setup a Nextcloud in Windows Subsystem for Linux (WSL) and use PHPStorm on Windows.
I checked out the notestutorial and opened the project in PHPStorm. When I open any class PHPStorm can’t find the OCP package. E.g. in the NoteApiController.php class PHPStorm cant find
use OCP\AppFramework\ApiController;
use OCP\AppFramework\Http\DataResponse;
use OCP\IRequest;
How do I configure my dev environment/PHPStorm to get auto completion for the Nextcloud classes?
I didn’t think of this, but honestly, I like to have the entire Nextcloud “close” and searchable by the IDE so that I can compensate for the lack of documentation and search the code quickly
Right, that was my old trick with Netbeans as well where I could open multiple projects inside a single window. Ever since switching to phpstorm I just open Nextcloud as a whole.