Click Through to Class : Find Declaration |
Guru master
|
Nope, still works here. Are you sure file you are clicking in belongs to the active project?
|
||||||||||||
|
|
Yep, active project.
Works within the same file but doesn't open up additional files. I've even tried refreshing code explorer to see if that helsp but nope, nothing. |
||||||||||||
|
|
OK, I've done a little more testing and just had one of my developers install 5242 to confirm.
Snippet from my front controller.
Ctrl clicking on page_admintemplate no longer works yet Ctrl clicking on add_content opens up my home class so the issue only seems to occur with the new keyword. |
||||||||||||||
|
|
It's not working for me either
- Best regards, Caspar |
||||||||||||
|
|
It's also happening to me. It happens, it appears, on any class name so "Find Declaration" fails on the bold text but works on the italic. Sorry for the lack of CODE tags but I want the formatting.
Paste this into a new PHP5 file in build 5242: -------------------------------------------------- class Bar { public static $staticProperty; public static function staticMethod() {} public static function method() {} } $foo = new Bar(); Bar::staticMethod(); Bar::$staticProperty; $foo->method(); -------------------------------------------------- I hadn't noticed before now, but the static property also fails. |
||||||||||||
|
|
Are we able to get confirmation and an estimated time for the fix.
I've had to go back to a previous version because this bug is incredibly counter productive. |
||||||||||||
|
Site Admin
|
I'm not sure what fix you mean. I tried all the samples mentioned above using 5242, and all worked fine. No problems so far. On the other but closely related matter, please do not expect any reaction on the bugreports posted on these forums. Please read and follow the rules. Should you need support please contact support team. |
||||||||||||||
_________________ The PHP IDE team |
|
Fair enough I will submit a bug report but it will be no different to what I have already posted here.
I initially posted here in the forums because I wanted to check with the community and nusphere whether or not the bug could be confirmed as a bug, so far 2 other users have confirmed the issue so I feel safe to submit an official bug report, I dodn't feel that there was any point sending through something to support that could be due to my setup and that alone. |
||||||||||||
|
|
Hey Dimitri and forum,
This is (at least for me) very easy to reproduce. And like BlackGas I find it very counter productive. To reproduce the bug setup a project with two files. One in the projects root folder and another in a subfolder, like the following: /index.php <- file in the root folder /includes/classes.php <- file in the subfolder Set the content of the two files to the following: index.php
classes.php
With index.php open ctrl-clicking "test_class" will not bring you into the classes.php file. Hope this helps. - Best regards, Caspar |
||||||||||||||||
|
|
Hi again,
There seems to be a problem with subclasses as well. With the setup from last post add a new file called classes2.php in the includes subfolder. Change the content to: classes2.php
Clicking "test_class" in this file will not bring you to classes.php There's also problems with member functions. If the content of index.php is changed to: index.php
ctrl-clicking "test_function()" will not bring you into classes2.php. Actually the status bar will show the following error:
These examples all work fine in the the earlier versions of phpED. - Bes regards, Caspar |
||||||||||||||||||
|
|
You guys are talking about different pages - definition in one, usage in another. Copy my code and see if it happens in a single page please, so we can rule out anything to do with reading other project files.
|
||||||||||||
|
Click Through to Class : Find Declaration |
|
||
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