You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
recently started using https://github.com/hyperfiddle/rcf . It's pretty nice. I'd love to configure Cursive to treat its tests macro the same as clojure core's comment macro for the purposes of sending the top form to the REPL. Under Cursive's current behavior, only (inc 1) form is considered the top form: (comment (inc 1) ; <- cursor in this form (inc 2))
Whereas, the entire (tests ...) form is considered the top form: (tests (inc 1) (inc 2))
As a default behavior, this makes sense. However, I don't think there's currently a way to tell Cursive to treat tests the same as comment
Comment from cfleming:
I’ll check this - I’m not sure if it’s possible to resolve-as a form as comment. I’m also not sure you’d want that, since it disables some functionality inside comment blocks.
The text was updated successfully, but these errors were encountered:
(from https://clojurians.slack.com/archives/C0744GXCJ/p1634844399005800)
recently started using https://github.com/hyperfiddle/rcf . It's pretty nice. I'd love to configure Cursive to treat its tests macro the same as clojure core's comment macro for the purposes of sending the top form to the REPL. Under Cursive's current behavior, only (inc 1) form is considered the top form:
(comment (inc 1) ; <- cursor in this form (inc 2))
Whereas, the entire (tests ...) form is considered the top form:
(tests (inc 1) (inc 2))
As a default behavior, this makes sense. However, I don't think there's currently a way to tell Cursive to treat
tests
the same as commentComment from cfleming:
The text was updated successfully, but these errors were encountered: