Why don`t work "Find Declaration" (Shift+F12) |
Guru master
|
I'm using 5989 and use Drupal 6. Can't say I've had any problems with Code Completion or Find Declaration.
I posted this recently in another thread, which may be of assistance to you: One possibility is that the project has corrupted meta data relating to your source files. You can first try right-clicking in the Code Explorer and doing a Refresh. If that does not work, you can exit PhpED and delete the project PPX and PPD files, which will be automatically re-created. I have seen corrupt PPD files cause problems, but that was a long time ago on an older version of PhpED. The DSK file contains breakpoints and other debug information, so you shouldn't need to delete that one. |
||||||||||||
|
|
Some functions are not finding correct. For example, I could not find the cache_clear_all()
|
||||||||||||
|
Guru master
|
Did you do delete the PPD and PPX files and/or do a Code Explorer Refresh?
I've just opened an index.php in a Drupal 6 project; cache_clear_all pops up fine with code completion and I can do Find Declaration. Drupal 6 uses a stub cache implementation for use when loading and declares a 'fake' cache_clear_all, so if you do a Find Declaration it is the stub copy that is found rather than the normal run-time copy. Is that the problem you are getting?[/img] |
||||||||||||
|
|
Yes i did. But nothing changed and the function is still not found. This problem you can see usually in the depth of the project. 5 or more steps in depth of project..
|
||||||||||||
|
Guru master
|
I can't reproduce the problem. Code Completion and Find Declaration seem to work everywhere. 5990 has been released today and apparently fixes something to do with Code Completion. The change log says that is for static methods and singletons, which probably is not relevant to Drupal too much, but maybe see if the update helps.
|
||||||||||||
|
|
maybe, i try it |
||||||||||||||
|
Why don`t work "Find Declaration" (Shift+F12) |
|
||
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