This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-18
Channels
- # announcements (5)
- # aws (14)
- # babashka (5)
- # beginners (39)
- # brompton (9)
- # chlorine-clover (10)
- # cider (2)
- # clj-kondo (107)
- # cljfx (2)
- # cljsrn (7)
- # clojure (40)
- # clojure-australia (2)
- # clojure-conj (5)
- # clojure-europe (11)
- # clojure-japan (2)
- # clojure-nl (3)
- # clojure-spec (1)
- # clojure-uk (6)
- # clojurescript (8)
- # cursive (20)
- # datahike (6)
- # degree9 (2)
- # deps-new (2)
- # development-containers (11)
- # fulcro (26)
- # jobs (1)
- # joker (1)
- # kaocha (1)
- # lambdaisland (1)
- # malli (6)
- # membrane (1)
- # nbb (1)
- # news-and-articles (2)
- # off-topic (3)
- # pedestal (23)
- # re-frame (19)
- # reagent (6)
- # sci (110)
- # shadow-cljs (7)
- # tools-deps (9)
- # xtdb (20)
After seeing @pez setup Gitpod for Calva for his Rich4Clojure repo, I wondered what would be involved in getting Clover working in Gitpod... https://github.com/seancorfield/deps-new starts up VS Code with Calva and Clover installed, with a modified config.cljs file in place (copied from the .clover
folder in deps-new
), starts a Socket REPL (on port 50505, puts that in .socket-repl-port
so Clover can find it. I haven't figured out how to persist keybindings in a repo, but Gitpod seems to persist those itself (I'm assuming it uses your GitHub sign-in to somehow sync that across workspaces?).
Yes, I was testing GitPod on some of my projects too, it was working until I found out that there are some APIs they didn't yet support. Seems that's fixed now, then? 🙂
BTW, I forgot to tell: I think Clover already works with Gitpod, right? Let me check on my test project and I'll update here
Yes, it does work, even with custom commands:
Yes, I think Clover even worked when Gitpod was using Theia. Which is extra cool in my book.
Yeah, all my repos are setup with Calva + Clover + Socket REPL and the setup copies in my custom commands, and I have my key map configured as well.
With the custom commands for Clover you have to copy the config file in at startup which took a couple of goes to get right (because the Clover config folder doesn't exist at that point). Right now I have that config file in each of my repos. e.g., https://github.com/seancorfield/next-jdbc/blob/develop/.clover/config.cljs
(just added that to clj-new, depstar, honeysql, and next-jdbc as well)
BTW, I forgot to tell: I think Clover already works with Gitpod, right? Let me check on my test project and I'll update here