cursive icon indicating copy to clipboard operation
cursive copied to clipboard

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

Open savagematt opened this issue 11 years ago • 19 comments

savagematt avatar Jul 22 '14 15:07 savagematt

Definitely.

cursive-ghost avatar Jul 22 '14 18:07 cursive-ghost

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

hlship avatar Nov 03 '15 22:11 hlship

+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

metametadata avatar Nov 17 '17 15:11 metametadata

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

eerohele avatar Jun 20 '18 07:06 eerohele

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.

potetm avatar Mar 30 '19 13:03 potetm

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.

katox avatar Aug 11 '19 16:08 katox

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

vincent-dm avatar Jan 26 '21 17:01 vincent-dm

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

Reefersleep avatar Mar 01 '21 13:03 Reefersleep

+1 This would really help!

amazkovoi avatar Apr 12 '21 01:04 amazkovoi

+1 Same here

takaczapka avatar Nov 09 '21 12:11 takaczapka

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

PawelStroinski avatar Nov 19 '21 21:11 PawelStroinski

+1

dlebrero avatar Mar 14 '23 16:03 dlebrero

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

ctomo avatar Jul 04 '23 09:07 ctomo

+1

danieroux avatar Aug 07 '23 08:08 danieroux

+1

markbastian avatar Aug 09 '23 14:08 markbastian

+1

mtsbarbosa avatar Sep 14 '23 13:09 mtsbarbosa

+1

viktorkrskv0 avatar Dec 28 '23 09:12 viktorkrskv0

+1

velios avatar Feb 20 '24 07:02 velios

And another +1

arnaudbos avatar Feb 27 '24 12:02 arnaudbos