Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to list impls of protocol in info middleware #568

Conversation

kapilreddy
Copy link

Use ns-imports of all namespaces to list all classes that
extend the protocol in question.

HACK - Modify classname to map->{classname}. The jump will only work for
defrecords at the moment.

clojure-emacs/orchard#204

Use ns-imports of all namespaces to list all classes that
extend the protocol in question.

HACK - Modify classname to `map->{classname}`. The jump will only work for
defrecords at the moment.
@bbatsov
Copy link
Member

bbatsov commented Nov 23, 2018

@kapilreddy Thanks for looking in this!

I think the right home for this code would be orchard, not cider-nrepl. Ideally cider-nrepl should be a very think wrapper around the orchard library, which does the actually heavy lifting.

@kapilreddy
Copy link
Author

Makes sense. Will push the changes on orchard.

@bbatsov
Copy link
Member

bbatsov commented Dec 17, 2018

@kapilreddy 👍

@arichiardi
Copy link
Contributor

Agree as well, I can maybe pick this up after clojure-emacs/orchard#37 is in

@bbatsov
Copy link
Member

bbatsov commented Jun 2, 2019

@arichiardi I guess it's time to remind you of your promise. ;-)

@arichiardi
Copy link
Contributor

Ah ah definitely thanks for the reminder 😅

"/map->"
(last xs))))
x)]
{:candidates (into {}
Copy link
Contributor

@arichiardi arichiardi Jun 3, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this returning :candidates? shouldn't it go in compliment?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those are different candidates. :-)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we use the same key for several things here and there (I think it was used somewhere in info as well).

@bbatsov
Copy link
Member

bbatsov commented Jul 16, 2019

@arichiardi Any progress with this?

@kapilreddy
Copy link
Author

@arichiardi Hey, Let me know if you need help moving this into Orchard and/or testing it.

@arichiardi
Copy link
Contributor

I think I need help yes, my Clojure time has been reduced substantially 😒

@viebel
Copy link

viebel commented Jan 12, 2021

@bbatsov @arichiardi What's the status of this issue?

@bbatsov
Copy link
Member

bbatsov commented Jan 12, 2021

It's waiting for a volunteer to drive it to the finish line.

@viebel
Copy link

viebel commented Jan 12, 2021

@kapilreddy Would you like to volunteer?

@vemv
Copy link
Member

vemv commented Feb 1, 2022

Probably it doesn't make much sense to keep the PR open for yet another year, it's bit of a distraction when checking out our projects' status.

Volunteering welcome! (Probably at Orchard level next time)

@vemv vemv closed this Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants