This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-03
Channels
- # adventofcode (107)
- # announcements (1)
- # asami (14)
- # babashka (67)
- # beginners (89)
- # calva (34)
- # cider (17)
- # clj-kondo (5)
- # cljs-dev (2)
- # clojure (57)
- # clojure-europe (52)
- # clojure-india (1)
- # clojure-italy (1)
- # clojure-losangeles (2)
- # clojure-nl (6)
- # clojure-uk (39)
- # clojurescript (40)
- # community-development (3)
- # conjure (3)
- # cursive (17)
- # datomic (11)
- # docker (13)
- # events (3)
- # figwheel-main (3)
- # fulcro (12)
- # graalvm (7)
- # holy-lambda (7)
- # honeysql (9)
- # introduce-yourself (5)
- # malli (9)
- # minecraft (3)
- # missionary (21)
- # nextjournal (7)
- # off-topic (52)
- # pathom (3)
- # polylith (11)
- # portal (3)
- # re-frame (21)
- # reagent (34)
- # reclojure (7)
- # reitit (1)
- # reveal (11)
- # shadow-cljs (68)
- # tools-build (12)
- # tools-deps (5)
- # vim (4)
- # xtdb (9)
With data visualization tooling like Portal and Reveal getting more and more mature, I seem to be adding more and more repl commands to Cursive. Repl commands are awesome and it would be extremely good to see some QOL updates to the Edit REPL Commands window. I added an issue about the ordering of entries there: https://github.com/cursive-ide/cursive/issues/2622
Cursive doesn't balance let bindings with destructuring in them, is this intentional?
I prefer the balanced let
bindings, but this is clearly a preference option that should be available to enforce or not
Yes, this is deliberate since the destructuring forms can be very large (like your example). If you’d like a switch for that I can add one - I tend to try to resist more config options until people complain loudly enough.
i think it's a valid strategy. 🙂 in this case, i would put the map on a new line anyway. but i'm curious what others think of it...
i just took a look at our codebase and it appears our team is ok with not balancing destructuring forms in let
bindings. all good for now. :-)
@cfleming Hi,
I would really appreciate very much if there would be an option to balance this kind of let
bindings.
Also very often I want to align the pairs in some forms (like test and then statements in a cond
or case
) because of readability, is this something that others want?
I really like Cursive, great job 👏 Colin.
@cfleming better late than never. 🙂 https://github.com/cursive-ide/cursive/issues/2623
Definitely better! Thanks, I’ll look at this, I haven’t looked at the new bookmarks stuff in detail yet.
I just commented over on the issue with a few thoughts after looking at it briefly.
When using a context action to insert a require, is there any way to get Cursive to insert it in a sort order, rather than just at the bottom?
In the meantime, there's an ok plugin to sort requires. https://plugins.jetbrains.com/plugin/13222-clojure-namespace-sort