cursive
cursive copied to clipboard
add support for call hierarchy
This is a pretty useful action for java methods. I'd like it to work on clojure functions.
:+1:
+1
+1
+1
+1
:+1:
:+1:
👍
+1
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.
Would love to see that too.
+1
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.
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.
FYI clojure-lsp can already do this. In Calva, it is the command Calls: Show call hierarchy
👍 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 😃