This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-03-09
Channels
- # announcements (47)
- # asami (43)
- # babashka (37)
- # beginners (119)
- # bitcoin (1)
- # calva (5)
- # circleci (5)
- # clj-kondo (36)
- # cljs-dev (5)
- # cljsrn (1)
- # clojure (92)
- # clojure-australia (2)
- # clojure-bay-area (2)
- # clojure-europe (121)
- # clojure-italy (7)
- # clojure-japan (1)
- # clojure-nl (4)
- # clojure-serbia (2)
- # clojure-uk (66)
- # clojuredesign-podcast (2)
- # clojurescript (19)
- # conjure (2)
- # cursive (13)
- # data-oriented-programming (2)
- # datomic (53)
- # defnpodcast (7)
- # depstar (33)
- # events (1)
- # fulcro (21)
- # graalvm (47)
- # jobs (1)
- # kaocha (1)
- # lambdaisland (1)
- # luminus (2)
- # malli (14)
- # membrane (16)
- # off-topic (45)
- # polylith (2)
- # re-frame (11)
- # reitit (7)
- # releases (1)
- # reveal (15)
- # rewrite-clj (123)
- # shadow-cljs (7)
- # sql (21)
- # startup-in-a-month (3)
- # tools-deps (25)
- # vim (2)
does Cursive support a gesture where by i move a form to a new let binding, in the closest (inner most parent) let form? similarly, is there a gesture for introducing and lifting let bindings further and further up? i.e. these from clj-refactor: https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-introduce-let https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-move-to-let https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-expand-let
You can introduce a let using Extract Variable, however amazingly I don’t seem to have that documented. Refactor -> Extract/Introduce -> Variable. You first select the form you want to extract, then select the level you want to introduce the let at.
ok nice! i'll give it a whirl!
One thing I should also point out - if you extract to an existing let the binding will be added to that one as you’d expect.
does Cursive support form-wise selection? i know you can expand/contract, but say i had three forms in a row i wanted to select and then cut, without using the mouse or selecting lines (with shift-up/down-arrow) is this possible?
Here's a discussion about that. There are workarounds but it could be better https://github.com/cursive-ide/cursive/issues/997
yeah that sticky thing will drive me swiftly crazy 😂 seems like it's still on the roadmap
I use the sticky stuff, it gets the job done, but what I commented about still stands unfortunately
I actually look at this periodically, but it’s unfortunately still hard due to the discussed problems integrating it into IntelliJ’s expand/shrink selection. But I promise to look at it again in this EAP cycle.
thank you Colin!
Colin, is these any chance these would be addressed in the near future? Should I break it out into a separate issue? https://github.com/cursive-ide/cursive/issues/2097#issuecomment-776189685
I’ve filed this, and fixed it for the next EAP: https://github.com/cursive-ide/cursive/issues/2523