This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-07
Channels
- # announcements (4)
- # babashka (59)
- # beginners (26)
- # calva (34)
- # clj-kondo (3)
- # cljs-dev (1)
- # clojure (77)
- # clojure-austin (4)
- # clojure-europe (20)
- # clojure-nl (2)
- # clojure-norway (11)
- # clojure-spec (3)
- # clojure-uk (4)
- # clojurescript (103)
- # community-development (2)
- # cursive (15)
- # datalevin (12)
- # datascript (38)
- # datomic (1)
- # deps-new (2)
- # events (3)
- # figwheel-main (6)
- # fulcro (9)
- # honeysql (12)
- # jobs (4)
- # juxt (18)
- # kaocha (19)
- # lsp (42)
- # missionary (2)
- # pathom (14)
- # polylith (6)
- # portal (6)
- # reagent (8)
- # reitit (4)
- # releases (2)
- # shadow-cljs (17)
- # testing (1)
- # tools-deps (50)
- # vim (46)
- # xtdb (12)
Hello I have a question, While I can execute some code on REPL start from terminal, I don't know how to do that for Cursive REPL startup.
I have put the same options in Parameters field but the REPL doesn't print 6 as I expected. Can anybody help me with this?
Anyone please?
can you configure to put (or not put) a space in tagged elements? i.e. Clojure CLI
$ clj
(random-uuid)
Clojure 1.11.1
user=> #uuid "46744ee8-a11c-4a4b-9e27-9e3dc4110702"
Cursive
(random-uuid)
=> #uuid"58a6af18-34d9-45eb-90f3-d6446d4016bf"
it leads to unnecessary whitespace changesBut pprint itself is fine so the reason is not clear
(clojure.pprint/pprint (random-uuid))
#uuid "4130e408-256e-4ee3-b765-10de9a849e4b"
This is because Cursive pretty-prints values on the client side. I’ll look at making those values match what Clojure does.
it's surprising to me that those are different. should be controlled by the print-method for UUID, which should be the same?
But pprint itself is fine so the reason is not clear
(clojure.pprint/pprint (random-uuid))
#uuid "4130e408-256e-4ee3-b765-10de9a849e4b"
it seems like cursive (sometimes) offers to add namespaces to the ns :require
form, but not always. Does this only work for some reason if it detects an alias has been used in the project?
um, yeah, i agree with that poster - i'd like for it to require it without a shorthand if the project doesn't have a shorthand (we don't use them) - is there an issue I can upvote or something?
not sure, there is an issues bookmark at the top of the channel, I would try searching there
I couldn't find an existing issue, so I created a new one: https://github.com/cursive-ide/cursive/issues/2728