Many "Use of unknown class" warnings - references not found
Posted: September 24th, 2018, 7:01 am
Hello,
I do a lot of Joomla extension and plugin development using VS 2017 and PHP tools.
The problem that makes development a pain is that PHP tools doesn't find many many references to the Joomla framework class. I always get the above warning "Use of unknown class" for almost all Joomla classes like:
The project includes the complete Joomla source tree with all files and folders. So there are no additional external references which I could include.
Why does PHP tools not find those classes and references?
I didn't have that problem with other PHP IDEs.
Right now PHP tools is almost useless for Joomla development.
Could you please have a look at this.
Thanks.
I do a lot of Joomla extension and plugin development using VS 2017 and PHP tools.
The problem that makes development a pain is that PHP tools doesn't find many many references to the Joomla framework class. I always get the above warning "Use of unknown class" for almost all Joomla classes like:
- JHtml
- JRoute
- JFactory
- JControllerLegacy
- and many more
The project includes the complete Joomla source tree with all files and folders. So there are no additional external references which I could include.
Why does PHP tools not find those classes and references?
I didn't have that problem with other PHP IDEs.
Right now PHP tools is almost useless for Joomla development.
Could you please have a look at this.
Thanks.