Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » 'Open call hierarchy' (Ctrl-Alt-H) doesn't seem to work for me
'Open call hierarchy' (Ctrl-Alt-H) doesn't seem to work for me [message #89839] Tue, 13 January 2009 06:05 Go to next message
Eclipse UserFriend
Originally posted by: eclipsenews.20.epm.spamgourmet.com

Steps: right click a method, choose 'Open Call Hierarchy'

I would expect to see a list of all the places where the method was
called from, however I basically only see the declaration of the method
itself. Same if I switch to 'callee' hierarchy. Even when the method is
called or calls methods in the same file.

I was wondering if this is just something that hasn't been implemented
yet, or if there is something wrong with my setup? I'm on the latest
stable all-in-one of PDT 2.0

I couldn't find anything in bugs.eclipse.org about it.
Re: 'Open call hierarchy' (Ctrl-Alt-H) doesn't seem to work for me [message #89854 is a reply to message #89839] Tue, 13 January 2009 09:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: michael.zend.com

Hi,

Call Hierarchy is not implemented yet in PDT 2.0.
The action exists, since it is derived from DLTK.

Best regards,

"Tom Walter" <eclipsenews.20.epm@spamgourmet.com> wrote in message
news:gkhavs$fgj$1@build.eclipse.org...
> Steps: right click a method, choose 'Open Call Hierarchy'
>
> I would expect to see a list of all the places where the method was called
> from, however I basically only see the declaration of the method itself.
> Same if I switch to 'callee' hierarchy. Even when the method is called or
> calls methods in the same file.
>
> I was wondering if this is just something that hasn't been implemented
> yet, or if there is something wrong with my setup? I'm on the latest
> stable all-in-one of PDT 2.0
>
> I couldn't find anything in bugs.eclipse.org about it.
Re: 'Open call hierarchy' (Ctrl-Alt-H) doesn't seem to work for me [message #90007 is a reply to message #89854] Tue, 13 January 2009 22:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipsenews.20.epm.spamgourmet.com

Is it in the plan? Looks like it would be an awesome feature.

Michael Spector wrote:
> Hi,
>
> Call Hierarchy is not implemented yet in PDT 2.0.
> The action exists, since it is derived from DLTK.
>
> Best regards,
>
> "Tom Walter" <eclipsenews.20.epm@spamgourmet.com> wrote in message
> news:gkhavs$fgj$1@build.eclipse.org...
>> Steps: right click a method, choose 'Open Call Hierarchy'
>>
>> I would expect to see a list of all the places where the method was called
>> from, however I basically only see the declaration of the method itself.
>> Same if I switch to 'callee' hierarchy. Even when the method is called or
>> calls methods in the same file.
>>
>> I was wondering if this is just something that hasn't been implemented
>> yet, or if there is something wrong with my setup? I'm on the latest
>> stable all-in-one of PDT 2.0
>>
>> I couldn't find anything in bugs.eclipse.org about it.
>
>
Re: 'Open call hierarchy' (Ctrl-Alt-H) doesn't seem to work for me [message #90971 is a reply to message #90007] Mon, 19 January 2009 13:35 Go to previous messageGo to next message
exceptione is currently offline exceptioneFriend
Messages: 96
Registered: July 2009
Member
Tom Walter schreef:
> Is it in the plan? Looks like it would be an awesome feature.
>
I agree, would be really usefull. I can imagine that implementing this
is very difficult.
For instance, this is valid in php
<?php
$varMethod = array_rand('m1', 'm2', 'm3');
$method = 'm1';
$someObject->$varMethod();
$someObject->$method();
?>

You can only know the latter at compile time.
Re: 'Open call hierarchy' (Ctrl-Alt-H) doesn't seem to work for me [message #539427 is a reply to message #90971] Thu, 10 June 2010 17:03 Go to previous messageGo to next message
Torge Kummerow is currently offline Torge KummerowFriend
Messages: 2
Registered: July 2009
Junior Member
Well such cases doesn't need to be covered. They don't get covered in Java as well.

Integer i = new Integer(0);
String input = 33;
Method m = i.getClass().getMethod("parseInt");
m.invoke(m, input);

(Code not checked for errors, just exemplary)

This method call to "parseInt" wouldn't be found under Java either.

If you use such means you don't need to wonder if your tools stop following. And you are fighting all alone Wink

PS: Sorry for the late response but such a feature would be great.
Re: 'Open call hierarchy' (Ctrl-Alt-H) doesn't seem to work for me [message #778206 is a reply to message #539427] Wed, 11 January 2012 16:37 Go to previous message
Khanh Nguyen is currently offline Khanh NguyenFriend
Messages: 1
Registered: January 2012
Junior Member
Is "Call Hierachy" implemented and supported in PDT 3.0?

The thread here says it was not supported in PDT 2.0.

I am having PDT 3.0 and Eclipse 3.7 and that feature "Call Hierachy" does not work.

Steps: right click a method, choose 'Open Call Hierarchy'

I would expect to see a list of all the places where the method was
called from, however I basically only see the declaration of the method
itself. Same if I switch to 'callee' hierarchy. Even when the method is
called or calls methods in the same file.

[Updated on: Wed, 11 January 2012 16:38]

Report message to a moderator

Previous Topic:mysql_connect undefined when running script from Eclipse
Next Topic:Error! Create remote project
Goto Forum:
  


Current Time: Thu Apr 25 14:17:35 GMT 2024

Powered by FUDForum. Page generated in 0.02647 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top