This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # aleph (1)
- # announcements (3)
- # aws (1)
- # beginners (95)
- # calva (15)
- # clojars (4)
- # clojure (84)
- # clojure-android (3)
- # clojure-austin (1)
- # clojure-chicago (1)
- # clojure-dev (66)
- # clojure-europe (3)
- # clojure-italy (15)
- # clojure-nl (13)
- # clojure-uk (33)
- # clojuredesign-podcast (9)
- # clojurescript (6)
- # crux (7)
- # cursive (68)
- # data-science (4)
- # datavis (1)
- # datomic (13)
- # emacs (4)
- # fulcro (2)
- # jobs (4)
- # jobs-discuss (89)
- # luminus (23)
- # nrepl (6)
- # off-topic (2)
- # onyx (2)
- # pathom (4)
- # pedestal (11)
- # re-frame (9)
- # reagent (8)
- # reitit (5)
- # shadow-cljs (131)
- # spacemacs (13)
- # sql (8)
- # vim (8)
- # yada (4)
@lspector is not alone. Adapting to a new way of thinking about code (Lisp) is plenty of cognitive load. Trying to simultaneously adapt to a new way of thinking about typing is more than I can handle.
I think structural editing is super awesome and helpful. And I love that it is there for me to summon at will. Having the editor add balancing brackets is also wonderful for me, so I always try to configure that in any editor I use, for any typing. Even prose. I've introduced quite a few people to coding over the years, never seen anyone struggle because of the editor auto-inserting parens. But I guess it is configurable for a reason.
Hi Guys, I just had a small question that I need to ask. I have my parent directory where my front-end and back-end projects are. My front-end project is using shadow-cljs and I can't connect to it's nrepl because it is complaining about the
shadow-cljs.edn. Now if I want to connect to it, I have to open my front-end project in a separate VSCode window. So what I wanted to ask is that if there is a way to pass a path of my
shadow-cljs.edn file so that all my repls are in the same window?
I've created https://github.com/BetterThanTomorrow/calva/issues/260 for the issues in REPL I've found. Probably will add more.
Does calva support edn formatting? I've tried Tab in editor and 'Format document' command. Neither worked.
@cheatex, thanks for reporting. Very strange. Also this
edn issue is strange. Yes, Calva formatting should work in
.edn files. It works when I try it...
@punit-naik, currently you will need to use different VS Code windows for those projects. You are welcome to file a Feature Request on Github. However, I currently do not have an idea how to support the setup better.
Dear calva-friends: I need help putting this build to some real world testing. Here are the two test cases it addresses:
Put the cursor where I have marked with
(foo| #_) [:foo| (:foo)(bar)]
|and hit enter. With the current Calva, you should see that formatting fails in both cases. Quite spectacularly in the latter case. The attached build fixes the latter case and mitigates the first case some.
tabformatting still doesn't work in the first case. (It is due to a bug in
rewrite-cljs, that I need to isolate and report.)
couple of noob questions if I may:
1. I don’t see any screen designation when I’ve evaluated an s-exp. I’m comparing this to spacemacs where there’s a little green bar on the left letting me know that something has been evaluated. Does Calva not have this?
2. I found
Clojure: eval and show the result but I don’t see a default key binding. Is the intent that a user add their own keybindings? I tried
⌘-k ⌘-e and it seems to work.
@dcreno it looks like you are not using Calva. Maybe you are using the Clojure extension?
should I install this one? > Calva: Clojure & Clojurescript Interactive Programming
Yes. It is a bit confusing with all the different extensions, but uninstall the Clojure one, and install Calva.
Hi all. Is there any way to get autocomplete of standard library functions in Calva? I've tried several times both on Mac and Ubuntu, but cannot get anything other than the naive word autocomplete to show up