NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Code completion (Find Declaration) changes in PHPED 11?


Joined: 19 Nov 2011
Posts: 4
Reply with quote
So, up until 11 I could right click on something like $this->load->view, $this->model, etc using CodeIgniter framework when I had my phpdoc loaded and it would find it - now in 11 it returns cannot find variable.

Has anybody else ran into this problem with CI style setups?
View user's profileFind all posts by mistinSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
From what you posted I see only $this variable. IDE normally can find it easily as it is pointing to the class where you placed the variable.
As of properties like load, model, and view -- it depends on how they are declared, if they are declared at all. From these perspectives, v11 does not change anything toward CI. If something worked in previous versions, it still works in v11 too, otherwise you may want to report it to support and provide more details on the problem.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 15 Sep 2005
Posts: 51
Location: Birmingham, UK
Reply with quote
I've noticed that the additional directories property in project properties gets cleared, stopping code insight working for my Zend projects.

Might not be what is happening to you but worth a look.
View user's profileFind all posts by BlackGasSend private messageVisit poster's website


Joined: 09 Jan 2012
Posts: 3
Reply with quote
I have the same or a similar problem with autocomplete in Version 11.
I use Yii Framework and include files are not uploaded yet that Yii framework is a directory with the framework added to your project .
Appears only in the tab Run & Debug - . > Run target - > Maping for debugger. The Code insignt - > includes not .
Can not work for Code Insight framework. Quite important thing Sad PHPEd for me in this state unusable.
View user's profileFind all posts by mikovecSend private message


Joined: 09 Jan 2012
Posts: 3
Reply with quote
Now It's OK. Was deleting a project created in version 10 and re-create for Version 11.
View user's profileFind all posts by mikovecSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
The framework directory is picked from the setting of the Php Framework tab. If this directory is also found in Addtional Directories, PhpED removes it from here. So the behaviour is correct.
Regarding code completion -- before doing anything, just check if Code Explorer tab lists the classes/functions/variables/properties etc you're expected to see in Code completion dropdown or in Find declaration. If you do not see them there, check if corresponding directory with sources is either in the project, or in Additional directory or pointed in the Php Framework, then try to refresh Code Explorer If nothing helps, contact support.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Code completion (Find Declaration) changes in PHPED 11?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic