"Go to definition" with two matches fails for one match
3 posts
• Page 1 of 1
"Go to definition" with two matches fails for one match
I have a PHP Tools project, where the root path contains a file "include.php" and a subfolder also contains the same file "include.php" (shared in source control).
In this subfolder I have another file "company.php" which contains a reference to a class of "include.php".
If I use "Go to definition", I'll get asked, which of the two "include.php" should be opened, which is fine.
But when I want to open the file of the subfolder, it doesn't work, because the calculated line number is wrong.
The other files line number is correct and this line number + the total number of lines of the file include.php seems to be the line number of the second file which doesn't work (see screenshot).
VS 2013 RC / PHP Tools 1.9.462
Greetings,
Daniel
In this subfolder I have another file "company.php" which contains a reference to a class of "include.php".
If I use "Go to definition", I'll get asked, which of the two "include.php" should be opened, which is fine.
But when I want to open the file of the subfolder, it doesn't work, because the calculated line number is wrong.
The other files line number is correct and this line number + the total number of lines of the file include.php seems to be the line number of the second file which doesn't work (see screenshot).
VS 2013 RC / PHP Tools 1.9.462
Greetings,
Daniel
You do not have the required permissions to view the files attached to this post.
Last edited by Daniel on October 10th, 2013, 1:37 pm, edited 1 time in total.
- Daniel
- Posts: 29
- Joined: September 9th, 2013, 2:51 pm
Re: "Go to definition" with two matches fails for one match
Ha, ok... my intellisense seems to have updated to the correct line, which you can see in the attached screenshot. Strange... Now it works.
Greetings,
Daniel
Greetings,
Daniel
- Daniel
- Posts: 29
- Joined: September 9th, 2013, 2:51 pm
Re: "Go to definition" with two matches fails for one match
Good, please give me know if it happens again. We'll be watching this behaviour.
Thanks,
Thanks,
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 68 guests