Fork me on GitHub
#calva
<
2019-05-05
>
hoppy01:05:11

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

hoppy01:05:31

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.

pez06:05:11

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.)

pez06:05:03

@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.

dominicm07:05:46

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)))")))

dominicm07:05:19

If there's cider-refresh integration in calva, I'd love to integrate that too.

pez07:05:40

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.

dominicm08:05:58

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 🙂

metal 4
pez14:05:44

@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.

claudiu15:05:18

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 ?

pez15:05:37

You mean the args for the function? If so, that is currently not implemented.

pez15:05:49

I think @ibarrick might be looking at implementing it.

👍 4
claudiu15:05:22

that one would be really nice to have (used to it from cursive) 🙂

claudiu15:05:59

ex: map on hover I only get cljs.core/map Returns a lazy sequence consisting...

pez16:05:24

Yes, you’re right. That used to be better. Please file an issue about it so that I don’t forget to investigate it.

claudiu16:05:46

oky, will do 🙂