cursive icon indicating copy to clipboard operation
cursive copied to clipboard

add support for call hierarchy

Open KevinCorcoran opened this issue 9 years ago • 16 comments

This is a pretty useful action for java methods. I'd like it to work on clojure functions.

KevinCorcoran avatar Aug 29 '14 19:08 KevinCorcoran

:+1:

rafaeldff avatar Oct 19 '15 16:10 rafaeldff

+1

yatesco avatar Jan 18 '16 09:01 yatesco

+1

savagematt avatar Jan 18 '16 14:01 savagematt

+1

rsachdeva avatar Jan 18 '16 14:01 rsachdeva

+1

bluesxman avatar Jan 18 '16 16:01 bluesxman

:+1:

wilkerlucio avatar Jan 18 '16 16:01 wilkerlucio

:+1:

bguthrie avatar Feb 04 '16 18:02 bguthrie

👍

kurman-zz avatar Oct 18 '16 22:10 kurman-zz

+1

rmfbarker avatar Dec 18 '18 01:12 rmfbarker

Would love to see this. Would think this is an extension of Find usages implementation-wise. Finding usages recursively by hand is a bit of a pain, especially if the lists of usages get long in several parts of the tree forcing you to backtrack manually.

Sardtok avatar Feb 19 '21 09:02 Sardtok

Would love to see that too.

wilkerlucio avatar Feb 19 '21 11:02 wilkerlucio

+1

almondThread avatar Jul 13 '21 08:07 almondThread

Just want to add that, even if it can't trace the full hierarchy due to macro shenanigans, a naive trace through core def forms would be a huge help. Having to repeat the operation two or three times when it runs into an unknown macro would still be a much smoother procedure than having to repeat "find usages" for each and every call in the hierarchy.

colinphill-reify avatar Feb 10 '22 16:02 colinphill-reify

Currently I have to do this manually step by step by invocing Find Usages on the function of interest then going up one level and repeat... Implementing this would be a great time saver.

holyjak avatar Aug 03 '22 06:08 holyjak

FYI clojure-lsp can already do this. In Calva, it is the command Calls: Show call hierarchy

holyjak avatar Feb 10 '23 12:02 holyjak

👍 This would really help in exploring other people's Clojure code, which is what big enterprise-y teams have to do all the time, and it's big enterprise-y teams who buy lots of licences 😃

anthonyleonard avatar Jun 06 '23 07:06 anthonyleonard