?
avatar Serhioromano
Serhioromano
10 Apr 2018

I use PHPStorm as IDE to develop components for Joomla for few years already. It used to work perfectly. But one moment, not sure exactly when, it stoped intellisense on a lot of things.

For instance very basic JFactory. SO when ever I use it I have to type manually by memmory. Why is that? I am sure it is some weired Joomla library structure and not PHPStorm issue.

2018-04-10_22-04-24

Steps to reproduce the issue

Just make project out of Joomla 3.8 folder

Expected result

I expect intellisense

Actual result

No intellisense

System information (as much as possible)

No

Additional comments

No

avatar Serhioromano Serhioromano - open - 10 Apr 2018
avatar joomla-cms-bot joomla-cms-bot - change - 10 Apr 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 10 Apr 2018
avatar Serhioromano Serhioromano - change - 10 Apr 2018
The description was changed
avatar Serhioromano Serhioromano - edited - 10 Apr 2018
avatar Quy
Quy - comment - 10 Apr 2018

Duplicate #20030 ?

avatar rdeutz
rdeutz - comment - 10 Apr 2018

It is because of the namespacing, we have a script build/stubGenerator.php that will created a stub.php in the root and then you are good to go and it should work as before

avatar rdeutz rdeutz - change - 10 Apr 2018
The description was changed
Status New Closed
Closed_Date 0000-00-00 00:00:00 2018-04-10 16:08:51
Closed_By rdeutz
avatar rdeutz rdeutz - close - 10 Apr 2018
avatar Serhioromano Serhioromano - change - 10 Apr 2018
The description was changed
avatar Serhioromano Serhioromano - edited - 10 Apr 2018
avatar Serhioromano
Serhioromano - comment - 10 Apr 2018

@rdeutz It is because of the namespacing, we have a script build/stubGenerator.php that will created a stub.php in the root and then you are good to go and it should work as before

And how do I do I run it? In a terminal php ./build/stubGenerator.php? Or how?

avatar roland-d
roland-d - comment - 10 Apr 2018

@Serhioromano 2018.1 should recognize it out of the box otherwise use the EAP build.

avatar rdeutz
rdeutz - comment - 10 Apr 2018

And how do I do I run it? In a terminal php ./build/stubGenerator.php

sounds right

avatar Serhioromano
Serhioromano - comment - 11 Apr 2018

@roland-d 2018.1 should recognize it out of the box otherwise use the EAP build.

Thank you for hint. I use older version, till now I did not see the value of purchasing update.

Add a Comment

Login with GitHub to post a comment