-
Notifications
You must be signed in to change notification settings - Fork 176
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
new middleware op to tap-current-value #770
Comments
Would you be interested in a PR for this ? |
Yes! Cheers - V |
I tried to figure out, how I can test my new middleware op without corresponding elisp functions. I managed to do this:
How can I use the inspector middleware in this way ?
I suppose I need to call som middleware ops before this ? but did not see anything which looked like "starting the inspector" |
Otherwise asked: Which middleware op(s) do I need to call, so that a following op |
Knowing this, I could then test my op: |
Hey @behrica, sorry for the delay. For developing this feature, I would suggest:
The key idea is that you simple use CIDER to develop CIDER, instead of emulating an interaction with Clojure nrepl code. (...That is of course possible but may be hard if you aren't already familiar with the inspector. IDK) Hope it helps! |
I did as you suggested and did both small changes to |
In order to continue to support:
clojure-emacs/cider#3311
I think we need a new middleware function, which could the be called later from the cider inspect elisp code to be written.
I think it should be very similar to this function
cider-nrepl/src/cider/nrepl/middleware/inspect.clj
Line 105 in d219ce6
and call the new function in orchard
inspect/tap-current-value
introduced with commit: clojure-emacs/orchard@625a78a
Does this seems reasonable to go ahead in supporting clojure-emacs/cider#3311 ?
The text was updated successfully, but these errors were encountered: