Jump to content
dummzeuch

Is there a way to jump to implementing classes in delphi RAD Studio?

Recommended Posts

This is why we need a forum that is not StackOverflow:

 

Is there a plugin for delphi IDE for doing the following: Jumping from interface to implementing classes.

for example in JIdea Java IDE you can easily point to an interface and see all implementing classes and select to which class you want to jump. It is currently very annoying that Ctrl+Click on a method goes to the interface where the method is declared and there is no easy way to find classes implementing this method. The only option I know is search.

 

Voted down and probably will be closed shortly because:

"Recommendation requests are off topic here"

 

https://stackoverflow.com/questions/53116163/is-there-a-way-to-jump-to-implementing-classes-in-delphi-rad-studio

 

Maybe somebody here can help?

 

(Note: It's not my question, I just copied it here.)

  • Like 2

Share this post


Link to post

Not sure  about the direction this question is actually heading, but does the structure view help?

Share this post


Link to post
Guest

You can search for references and jump to any places where the interface type is used included the implementing class

 

113993954_2018-11-0211_53_08-Window.png.9534c11a30f4378c1c9f159d19306c3c.png

Edited by Guest

Share this post


Link to post

MMX Code Explorer shows "Related Classes". When called from inside an interface it shows the implementing classes with navigation on click.

 

image.thumb.png.de4caf39f4a44125866d3df1f6c5ad96.png

Edited by Uwe Raabe
  • Like 7
  • Thanks 1

Share this post


Link to post
15 minutes ago, Uwe Raabe said:

MMX Code Explorer shows "Related Classes". When called from inside an interface it shows the implementing classes with navigation on click.

After Years of using MMX, learning something new today.......
Thanks

Share this post


Link to post
On 11/2/2018 at 12:01 PM, Uwe Raabe said:

When called from inside an interface it shows the implementing classes with navigation on click.

Can you tell which classes it considers? For example I have the interface unit in a package and many different DLL projects that implement this interface but not all of them or even none is being opened in the IDE. Is there the possibility to tell the plugin to consider certain directories with sources in them?

Edited by Stefan Glienke

Share this post


Link to post

Without cross-checking the actual sources to make sure: If you enable Pre-parse Project Files and Persistent Module Information, it should be sufficient to open the relevant projects once to get the necessary information.

 

Currently there is no way to specify some directories to scan as that is most likely a per-project setting. As MMX just recently added some per-project settings stored in the dproj file, there is a good chance for such a feature to be implemented in the future.

  • Thanks 1

Share this post


Link to post
On 11/2/2018 at 1:22 PM, dummzeuch said:

for example in JIdea Java IDE you can easily point to an interface and see all implementing classes and select to which class you want to jump.

Did you know that this Java IDE can do the same thing for Pascal code too? After installing a plugin for Pascal support of course.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×