This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-03-14
Channels
- # aleph (1)
- # announcements (4)
- # babashka (12)
- # beginners (28)
- # bristol-clojurians (1)
- # calva (28)
- # cljs-dev (8)
- # cljsrn (1)
- # clojure (16)
- # clojure-europe (2)
- # clojure-uk (125)
- # clojurescript (6)
- # cursive (17)
- # datomic (2)
- # kaocha (7)
- # off-topic (6)
- # reagent (3)
- # shadow-cljs (25)
- # sql (6)
- # tree-sitter (1)
Hello all. Happy to join this channel.
Wanted to ask about extending cursive:
how hard would it be to add a cursive command that runs some clojure code (f l)
at the REPL, where f
is some pre-configured clojure function, and l
is the current line at the editor?
The reason I'm asking is that I want to support some basic integration with notespace
(https://github.com/scicloj/notespace).
did you see the REPL commands
section here?:
https://cursive-ide.com/userguide/repl.html
I guess you can't get the current editor line.
Thanks @UBRMX7MT7!
It does allow getting some other information that I might be able to work with. 🙏
If there are other things that it would be helpful to have substitutions for, please file an issue and I’ll get them added.
Thank you so much @U0567Q30W!
Just noticed that trying to format a form like this gets pretty wonky:
(defn foo
[{tx :db/tx {:strs [from until]
:or {from 1
until 2}} :query-params}])