cider

A channel dedicated to the Clojure Interactive Development Environment that Rocks (aka CIDER). :cider:
2021-05-05T14:30:52.453Z

Jack in clj&cljs should “just work”. Is it a leiningen , boot or deps.edn project

Michael Lan 2021-05-05T16:30:14.454Z

How can I eval the surrounding form? Not the top form nor the atom at point, for example here:

(comment
  (+ 1 2)
  )

dpsutton 2021-05-05T16:31:57.454400Z

you want to treat (+ 1 2) as the toplevel form rather than the whole comment form?

dpsutton 2021-05-05T16:32:46.455200Z

(setq clojure-toplevel-inside-comment-form t) and then eval top level form as normal anywhere inside the (+ 1 2) or right after it. otherwise you can always put your cursor at the close of the paren after the 2 and eval last sexp

Michael Lan 2021-05-05T16:34:23.455800Z

that is a nice feature, i will keep that in mind. thank you!

2021-05-05T19:36:08.455900Z

@matti deps.edn a rum project with figwheel https://github.com/drewverlee/garlic