This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-29
Channels
- # announcements (6)
- # babashka (23)
- # beginners (15)
- # biff (15)
- # calva (17)
- # clara (5)
- # clj-kondo (41)
- # cljdoc (2)
- # cljs-dev (67)
- # cljsrn (18)
- # clojure (19)
- # clojure-europe (25)
- # clojure-nl (2)
- # clojure-norway (9)
- # clojure-uk (2)
- # clojurescript (26)
- # core-typed (6)
- # cursive (15)
- # data-science (30)
- # datahike (1)
- # datomic (18)
- # docker (6)
- # emacs (10)
- # events (2)
- # graalvm (15)
- # graphql (5)
- # hugsql (4)
- # jobs-discuss (1)
- # joker (7)
- # lsp (36)
- # malli (28)
- # off-topic (46)
- # other-languages (1)
- # pathom (5)
- # pedestal (6)
- # polylith (5)
- # reitit (2)
- # releases (1)
- # rewrite-clj (63)
- # shadow-cljs (7)
- # spacemacs (16)
- # squint (6)
- # tools-deps (6)
- # xtdb (13)
Hi. When I try to press "Add as Clojure Deps project", I got a error notification "Cannot execute: Clojure command not configured" from Cursive. What should I do in this case? I fiddled around with the project configurations and stuff, but nothing seems to be the case here
Sorry for not researching more carefully. Basically I have to configure the Build Tool to let Cursive now how to invoke clj
. I did it and things seem to work fine now
is it possible in Curisve to print something like progress bar, but keeping it updating instead of print new line with each change? something like: 1% which after a while change into 2% instead of 1% 2% 3% …
Yes, that's possible...
You can use
(str \u001b "[1K")
instead of the usual \r
and use
(str \u001b "[0K")
for clear to end of line
Example autoclosable ticker-thingie I've used tor Cursive: https://gist.github.com/ivarref/e50b7906f0e50c2129781c2ec87e7eb2
I did turn it off though, don't remember why.
Code is slightly modified from: https://github.com/ivarref/clj-paginate/blob/main/test/com/github/ivarref/clj_paginate/ticker.clj which have some basic tickers for performance tests
It’s far from a full terminal interpreter, but simple cases like this should work ok.