cursive-ide / cursive

Cursive: The IDE for beautiful Clojure code
588 stars 7 forks source link

add support for call hierarchy #475

Open KevinCorcoran opened 10 years ago

KevinCorcoran commented 10 years ago

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

rafaeldff commented 9 years ago

:+1:

yatesco commented 8 years ago

+1

savagematt commented 8 years ago

+1

rsachdeva commented 8 years ago

+1

bluesxman commented 8 years ago

+1

wilkerlucio commented 8 years ago

:+1:

bguthrie commented 8 years ago

:+1:

kurman-zz commented 8 years ago

👍

rmfbarker commented 5 years ago

+1

Sardtok commented 3 years ago

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.

wilkerlucio commented 3 years ago

Would love to see that too.

almondThread commented 3 years ago

+1

colinphill-reify commented 2 years ago

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.

holyjak commented 2 years ago

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 commented 1 year ago

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

anthonyleonard commented 1 year ago

👍 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 😃