This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # beginners (12)
- # calva (18)
- # cider (1)
- # cljs-dev (29)
- # clojure (99)
- # clojure-uk (18)
- # clojurescript (10)
- # clojureverse-ops (2)
- # cursive (7)
- # emacs (10)
- # fulcro (42)
- # graphql (36)
- # joker (1)
- # juxt (28)
- # mount (2)
- # other-languages (2)
- # pathom (1)
- # portkey (3)
- # re-frame (50)
- # shadow-cljs (42)
- # spacemacs (4)
- # sql (6)
- # yada (6)
yep, finally flipped with the ctrl+alt+c business. There was a similar stunt posted elsewhere but the keybindings were stale, so I updated them to dev branch: https://gist.github.com/Gnurdle/3a313cc456cb0d9cb1fbaa33944727b3
btw @pez, used calva (dev) today (in serious anger) bouncing between clj/cljs in same project, and didn't see anything new that was troubling. hanging together pretty well actually.
You skuld post that key bindings snippet on the wiki, @hoppy. Maybe add a note about that
alt+v does not work with some keyboards/languages, due to it producing a typed character in the text file. (It used to be the Calva key, until that was reported to me.)
@dominicm, what is edge in this context? Also, can you show me such a local.el file, or two? Maybe that will make it clearer what it would take to support those custom cljs repls.
Edge is JUXT's application foundation, a bit like a template.
(cider-default-cljs-repl . edge) (cider-cljs-repl-types . ((edge "(do (require 'dev-extras) ((resolve 'dev-extras/cljs-repl)))")))
@pez https://github.com/juxt/shop/blob/master/lib/edge-app-template/resources/clj/new/app.template/dir-locals.el here's the generation for it
I’d like to make calva and edge go very smooth together too. And I am right now looking at the jack-in-process and how we support different cljs repls. I think that should be quite possible. But it is going to be lost in the slack history here. Can you file an issue about it and provide links and info there? It really asks for a bit less hardcoded cljs types definitions than I currently have.
I've created #180 to start on the outline of that. I don't want to tie up the notion of "project-local config" with "custom repl types", so I've tried to keep mention minimal intentionally. This stems from not knowing VSCode at all 🙂
@dominicm, there is a setting in current Calva, for specifying the command to use to start the cljs-repl. I think that setting might not be at use in Calva 2, but if we can confirm that it would help for the edge case (!) that would be informative for how to do it in Calva 2.
Hi, trying out vscode & calva a bit. Got most things working (repl eval, go to definition, peek definition) but I'm a bit stuck on the function signature. Is there anything special I should do to get that in the function doc info ?
what I get is a bit different from the docs gif https://github.com/BetterThanTomorrow/calva/blob/master/assets/howto/features.gif
Yes, you’re right. That used to be better. Please file an issue about it so that I don’t forget to investigate it.