This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-01
Channels
- # announcements (7)
- # babashka (72)
- # beginners (62)
- # biff (1)
- # calva (9)
- # cider (8)
- # clj-kondo (35)
- # clj-otel (8)
- # cljsrn (11)
- # clojure (98)
- # clojure-europe (25)
- # clojure-germany (1)
- # clojure-norway (9)
- # clojure-uk (2)
- # clojured (3)
- # clojurescript (12)
- # conjure (3)
- # core-logic (4)
- # cursive (18)
- # datalevin (9)
- # datomic (5)
- # defnpodcast (2)
- # exercism (1)
- # graalvm (5)
- # gratitude (6)
- # hyperfiddle (3)
- # interop (12)
- # jobs (1)
- # joyride (34)
- # lsp (22)
- # meander (14)
- # missionary (16)
- # nbb (88)
- # off-topic (4)
- # pathom (20)
- # podcasts-discuss (1)
- # polylith (13)
- # portal (10)
- # re-frame (6)
- # releases (2)
- # remote-jobs (2)
- # rewrite-clj (3)
- # shadow-cljs (3)
- # spacemacs (6)
- # vim (24)
hmm did something change in cursive formatting or is this related to my idea upgrade? suddenly it indents #_
comments even stranger than before as seen in this commit https://github.com/thheller/shadow-cljs/commit/c2c1804edd5dcdc0e188115dd95e693df48201ac#diff-627331f67433ba87fbab3a5eccd603010cfc7818f4fc1e7f8ac698214c2d7285R268-R271
basically I only pressed reformat code on the file which has a bunch of #_#_
comments and indented all of them differently than before
can't really infer by what rule it is indented now https://github.com/thheller/shadow-cljs/blob/master/shadow-cljs.edn#L234-L248
I think this one has seemed odd to me for a while, but I'm mentioning it now. I use 'Extend|Shrink Selection' a lot and it seems odd after a string in the last position of a form. F.e. assuming |
is the cursor position before and <
/ >
defines the selection after I press Ctrl+W (Extend Selection) then I would expect to go from (foo "bar"|)
to (foo <"bar">)
but instead I seem to end up at <(foo "bar")>
which seems inconsistent with other behaviour (i.e. if "bar" isn't a String) and also wasteful as I can get there from (foo "bar")|
with Ctrl+W. Perhaps there's a good reason for it I've overlooked?
Also does something odd with #
-style anonymous functions: Again if |
is the cursor and I extend selection in (juxt #(subs % 0 4)|)
then current behaviour definitely violates POLA for me.
Also worth checking symbols that end in a question mark. f.e. (foo pred?|)
or a !
or -
- they also seem to break it. (though who in their right mind ends a symbol with a hyphen?)
Still getting inconsistencies like [foo bar|]
vs. [foo bar?|]
. It breaks my flow when I hit things like this but I guess this isn't a high priority.
I am on Cursive 1.12.3-2021.3 and getting the cyclic dependency error in a clojurescript repl: https://github.com/cursive-ide/cursive/issues/2690 was this only fixed for clojure?
tried restarting intellij to see if that would help - still getting the error. this is the intellij version and cursive
Ah, no, the problem is that that bug is fixed in the current EAP series, not in 1.12.3. You can upgrade to the EAP, see here: https://cursive-ide.com/userguide/#choosing-to-receive-eap-beta-builds. Otherwise, I'm hoping to get a new stable build out tomorrow.