NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[fixed] Code Insight not picking up functions from includes


Joined: 10 Feb 2004
Posts: 93
Reply with quote
I've got a project set up, and all files mapped out appropriately in the Project Properties->Mapping Tab. On the Properties Tab, under the Files section, I have included a directory of files for Code insight includes:. Back in the IDE, if I look at the Code Explorer, the functions from those included files are listed. But if I am actually in the coding window, and begin the function name from one of the included files, it does not appear in the Code Insight list. If I go ahead and type out the function name, and then do Ctrl+Shift+Space Bar, the IDE reports Failed to find "<function_name>" function.

Am I missing something obvious?
View user's profileFind all posts by gilzowSend private messageAIM Address
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
If you have "limit scope to includes" (tools->settings->codeinsight), you need to make sure that all the included statements are resolved properly. Check Includes tab in the project properties and make sure they are pointing to right files.
Anyway, I'd not recommend you to turn "limit scope to includes" on.

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


Joined: 26 May 2007
Posts: 40
Reply with quote
I have the same problem and reported it earlier. If you do not limit the scope to includes it works fine, but you get what is expected and that is every little stinkin' variable or function that is in your entire project. Usually, a good portion of those are uninteresting in the current context and only cause confusion. The "limit scope to includes" option is a very good feature...if it just would work right.
View user's profileFind all posts by RamonSSend private message
Fixed!


Joined: 26 May 2007
Posts: 40
Reply with quote
It appears as that this is fixed in build 5028. At least it now picks up the variable names from files that were called in through include and require, which it didn't do before.
Thanks!
View user's profileFind all posts by RamonSSend private message
[fixed] Code Insight not picking up functions from includes
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