calva

Wednesdays you might find @U0ETXRFEW in the Gather Calva space. Invite is https://gather.town/invite?token=GZqrm7CR and the password is `Be kind`.
bringe 2021-07-06T03:52:58.385900Z

Thanks, @brdloush, for the output window improvement!

Tomas Brejla 2021-07-06T08:16:14.386700Z

Glad to have helped. Unfortunately the output still gets quite sluggish after 10k lines so I still often find myself jumping to that window and manually deleting all the content. But I guess the improvement helps quite a lot. Printout of 500 lines took almost 25 seconds for me without batching (with empty repl window), now it's under second.

Tomasz Pik 2021-07-05T07:46:21.371700Z

Hi, is there a way/example of putting 'start calva' command (with project type) in project's tasks.json file?

pez 2021-07-05T07:58:51.371900Z

I don’t think there is a way to do that. I could be wrong. What is the use case?

Tomasz Pik 2021-07-05T08:01:26.372100Z

Simplify work :)

pez 2021-07-05T08:03:24.372300Z

Then you might get away with using Custom Jack-in/Connect Sequences: https://calva.io/connect-sequences/

2021-07-05T17:10:49.375800Z

Hi! Sorry that I'm asking something that has probably been asked in the past (couldn't find it though): If I understand correctly, VIM keybindings in vscode do not respect Paredit. For example, if I erase a paren with x in normal mode, then the corresponding other paren stays, and I get unbalanced parens. Did I get it right? 🙏

pez 2021-07-05T17:17:06.377600Z

I haven't seen that particular question before. 😎 You'll need to bind x to the paredit delete command. There's a VSpaceCode config as well.

2021-07-05T17:35:50.377800Z

Thank you so much!

gabo 2021-07-05T19:29:11.384Z

Hi 👋 I think that my vscode config (shared mutable state, amirite?) is messing with the jack-in command. Symptoms: 1. When I execute the jack-in command from a deps.edn file, I get the prompt to choose my repl type; when I choose Clojure CLI nothing happens and this message appears Running the contributed command: 'calva.jackIn' failed. 2. When I execute the jack-in command from a clojure file, nothing happens altogether I found this https://github.com/BetterThanTomorrow/calva/issues/1182 that looks similar so I tried to debug It like bpringe suggested

gabo 2021-07-05T19:33:58.384400Z

I ran calva in debug mode and in the console I see for 1:

An error occurred while initializing project directory. TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type function ([Function (anonymous)])
when I executed the jack-in command, but I do get to the prompt to choose the project type then nothing happens (Something to note, I have an alias in the deps.edn file, and when I choose to use it it works!)

gabo 2021-07-05T19:45:36.385100Z

And for 2 I see the same message:

An error occurred while initializing project directory. TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type function ([Function (anonymous)])
and the Running the contributed command: 'calva.jackIn' failed. prompt And nothing else happens