Code insight works intermittently |
Site Admin
|
suppose you have two files and two files included in them:
a.php: <? include "incdir/inc1.php" ?> and b.php: <? include "incdir2/inc2.php" ?> inc1.php is located in /somedir/incdir/inc1.php and inc2.php is located in /somedir/someotherdir/incdir2/inc1.php in this case both /somedir/someotherdir and /somedir should be listed in the "include path" setting. Forthcoming PHPED 4.0 besides others is targeted to this problem. |
||||||||||||
|
|
Actually, it often doesn't work when the included file is in a directory in the include path. It fails to know about declared classes, methods, variables, etc.
All needed files parent directories are definitely in the configured include path. E |
||||||||||||
|
|
Here is an example of what I'm talking about. This is some code from my current project:
I try to add a parameter for the initPerson() function call. The cursor is where it says "MY_CURSOR_HERE". Note that I've already typed "$in" and I'm looking for the IDE to complete it to "$interests". However, the IDE does not pop up a list of completion options. If I hit CTRL > SPACE, nothing happens. But if the cursor is at the start of a blank like, code completion does work for "$interests". Is it that code completion does not work within function call parameter lists? Thanks, E |
||||||||||||||
|
|
Here is another illustration from my project...
As above, no code completion popup. Here is more information to help specify the issue. When I am working on a function declaration parameter list code completion popup menu comes up when I type "$". I type...
Don't need completion because I'm defining a function name. I type the rest of the name and start the parameter list...
|
||||||||||||||||||
|
|
ddmitrie, I hope you are finanlly gonna believe my post as well that code completion is not working - I posted full examples for you, and all you kept saying is it worked, while it obviously doesn't, as this user is now confirming...
I really need this to be fixed, or I'll need to find another solution, which would be a shame, since I like nusphere a lot. |
||||||||||||
|
Site Admin
|
Actually not. It's known that in some situations v 3.3 does not provide code completion due to its limitations. It's not an ideal code insight tool. All I said is below:
And it's what I keep saying |
||||||||||||||||
|
Code insight works intermittently |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by