cursive-ide / cursive

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

Find implementations of protocol methods (cmd+alt+b) #437

Open savagematt opened 10 years ago

cursive-ide commented 10 years ago

Definitely.

hlship commented 8 years ago

This is something I would fine exceptionally valuable. Lots of great navigation end right there and suddenly you are back in text-search land.

metametadata commented 6 years ago

+1, I use protocols extensively and would like to quickly find all the implementations (i.e. defrecords, deftypes, maybe even reify-es). Would be perfect to have the same UX as when you code in Java and see the "bubble" in the sidebar next to interface/method declaration:

screenshot 2017-11-17 17 11 06
eerohele commented 6 years ago

This would be super-useful. It's currently really awkward to navigate from protocol methods to their implementations.

potetm commented 5 years ago

I want to second @metametadata's suggestion. No need to resolve individual fns. Properly finding implementations of the interface (no matter what fns happen to be implemented) would be good enough for me.

katox commented 5 years ago

I understand that enhancing the PSI representation (and a proper resolver) is a difficult task but supporting defrecord, deftype, defprotocol and defmulti/defmethod properly would ease things a lot - and it should enable more features from the platform functionality itself.

I can workaround it by expanding the expected dependency (jar) and using a Find in Path there but I feel like a caveman doing that.

vincent-dm commented 3 years ago

This feature would be very useful. I miss it every day.

Reefersleep commented 3 years ago

+1, I really miss this functionality, it'd be amazing to have!

amazkovoi commented 3 years ago

+1 This would really help!

takaczapka commented 2 years ago

+1 Same here

PawelStroinski commented 2 years ago

Yeah, this would be useful. Instead I'm just searching for (method-name [ string.

dlebrero commented 1 year ago

+1

ctomo commented 1 year ago

+1 This would be very useful. Is there a roadmap to when we can expect this to be implemented?

danieroux commented 1 year ago

+1

markbastian commented 1 year ago

+1

mtsbarbosa commented 1 year ago

+1

viktorkrskv0 commented 8 months ago

+1

velios commented 6 months ago

+1

arnaudbos commented 6 months ago

And another +1