Perhaps I misunderstood how PhpStorm works, I never worked with an IDE before.
I created a new project, put in all my code and opened some files. There are many error/info messages telling me methods not found, variable not defined, and more.
The code itself is correct and works fine (locally and an the web server). However, I thought PhpStorm (magically) knows where the methods are defined, knows about the parameters, sees where variables are created in other file and so on. Was this a misassumption?
Do I need to configure something to get this work correctly or change my code accordingly?
Project is a CMS https://github.com/processwire/processwire and I am working inside /site-xxxx/templates/ and /site-xxxx/modules/