FeatReq: Find symbol
3 posts
• Page 1 of 1
FeatReq: Find symbol
I kinda think that if you have complete intellisense and the user has documented all un-inferrable instances, it would make a lot of sense.
Anyway this feature deserves some thinking. I believe you guys should be quite good in static PHP analysis - it may be even possible to know the return value of a function withouth the user actually declaring it in a PHP comment. I imagine it will be slow, but it would make A LOT of sense.
Anyway this feature deserves some thinking. I believe you guys should be quite good in static PHP analysis - it may be even possible to know the return value of a function withouth the user actually declaring it in a PHP comment. I imagine it will be slow, but it would make A LOT of sense.
Welcome to the zone where normal things don't happen very often.
- BladeMF
- Posts: 346
- Joined: October 10th, 2012, 7:14 am
Re: FeatReq: Find symbol
Yes, PHP Tools actually does that.
Is simple case, where no PHPDoc is needed.
- Code: Select all
$x = new X;
return $x;
Is simple case, where no PHPDoc is needed.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: FeatReq: Find symbol
You'd think I'd notice that I mean something more like this:
- Code: Select all
function A(){
$x = new X();
return $x;
}
$g = A();
// here you get the members for class X on $g.
Welcome to the zone where normal things don't happen very often.
- BladeMF
- Posts: 346
- Joined: October 10th, 2012, 7:14 am
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 61 guests