This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-11-29
Channels
- # adventofcode (9)
- # announcements (2)
- # aws (78)
- # babashka (55)
- # beginners (97)
- # biff (9)
- # calva (11)
- # cherry (2)
- # cider (8)
- # clerk (7)
- # clj-kondo (6)
- # clj-on-windows (4)
- # clojure (213)
- # clojure-austin (6)
- # clojure-europe (63)
- # clojure-nl (1)
- # clojure-norway (5)
- # clojure-spec (10)
- # clojure-uk (1)
- # clojurescript (14)
- # clr (2)
- # community-development (3)
- # conjure (14)
- # datomic (2)
- # deps-new (5)
- # dev-tooling (10)
- # editors (3)
- # emacs (3)
- # etaoin (19)
- # events (4)
- # fulcro (71)
- # holy-lambda (20)
- # java (3)
- # jobs (2)
- # leiningen (4)
- # lsp (24)
- # malli (15)
- # membrane (107)
- # music (1)
- # off-topic (29)
- # pedestal (4)
- # polylith (1)
- # portal (2)
- # rdf (5)
- # releases (7)
- # scittle (5)
- # shadow-cljs (8)
- # tools-build (15)
- # tools-deps (6)
- # xtdb (13)
cljs.core/inc
the client can check this -> means the server has cljs available?
When I put it like that then I get the answer is yes
@benjamin.schwerdtner should the client check this or rather the server?
if we do cljs according to the nrepl protocol, I feel the upgrade and check should already happen on the server
currently a lot of the upgrade process (upgrading a JVM Clojure repl to a ClojureScript one) is driven by the client (e.g. cider)
whereas I feel it might be worth exploring if we can move that into to server, e.g. you say what server to start and then you just connect to it from cider, where all the upgrade complexity is contained to the sever and doesn’t need to be implemented in every client. Does that make sense?
Here is 1 idea to fix some of the upgrade complexity + "selecting things" in the editor.
We add a file like project-root/ nrepl.edn
{:nrepl/run-command
;; potentially you run clj with an alias an setup things similar to this
;;
"nbb nrepl-server :port 1779"
:nrepl/port 1779
:nrepl/host "localhost"}
Now I can say something like =cider-jack-in-dwim= and it starts a
repl.
It can even first try to connect to the port, if it is running.
** pros
Less selecting
Implementation is straightforward
** cons
1 more file
Here is 1 idea to fix some of the upgrade complexity + "selecting things" in the editor.
We add a file like project-root/ nrepl.edn
{:nrepl/run-command
;; potentially you run clj with an alias an setup things similar to this
;;
"nbb nrepl-server :port 1779"
:nrepl/port 1779
:nrepl/host "localhost"}
Now I can say something like =cider-jack-in-dwim= and it starts a
repl.
It can even first try to connect to the port, if it is running.
** pros
Less selecting
Implementation is straightforward
** cons
1 more file