NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Find Declaration problem


Joined: 06 Apr 2007
Posts: 48
Location: Gdansk, POLAND
Reply with quote
I have a file with classes and their methods. Somewhere in the code I have:
$this->myMethod(...). When I right-click on myMethod and select Find declaration - it doesn't work Sad. I'm pretty sure it actually was working in previous builds (I have 5023 currently).

Funny thing is, it works when referring to some other files, for example:
$varInstance = new anotherClass();
$varInstance->anotherMethod() - right-click > Find declaration works perfectly if the anotherClass is defined in another file.
View user's profileFind all posts by NatanielSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
I'd highly appreciate if you find a way to replicate the problem consistently and send/submit there corresponding code sample.

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


Joined: 29 May 2007
Posts: 29
Reply with quote
Hi dmitri,

try this:

Code:
<?php


class Test {

    protected $test;

}


class Test2 extends Test {

    function build() {

        $this->test = $this->write();

    }

    function write() {
        return ("hello world");
    }

}
?>



right click on "write" of "$this->write();", choosing "find declaration" don't work as expected, the cursor dont jump to the function. i use 5023...

Otto
View user's profileFind all posts by bruno701Send private message
Find Declaration problem
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