Fork me on GitHub

The fewest step you can achieve is by defining a custom connect sequence, then it becomes ctrl+alt+c ctrl+alt+j enter.


A minimum config looks something like so:

"calva.replConnectSequences": [
        "name": "my-app",
        "projectType": "Leiningen",
        "cljsType": "none",
        "menuSelections": {
            "leinAlias": null,
            "leinProfiles": ["test", "dev"]
Depending on what profiles you have and such.


Stupid question here: How can I stop a nREPL? (and/or disconnect?)


Have you started it using Calva, @bastilla?


I did. And when I right-click the option to stop is disabled. Thing is, I obviously programmed an endless loop. So I have constant output and cannot stop it. So I closed Calva altogether. But I guess there must be a better solution.

ryan echternacht13:01:11

^ That was the best solution I found. Or to kill the underlying render proceses

ryan echternacht13:01:01

I think pez said if your loop is printing, then it’ll build up so much in the buffer that interrupting doesn’t do much


🙂 Thanks. Ok, so I better care for that endless loop to get things going again. Merci.


Hehe that’ll teach ya’ 😜


So, if you start the REPL using Jack-in, the preferred way to kill it is to hit ctrl+c in the jack-in terminal. Also re-running jack-in will work. But as @ryan072 says, if there is a lot of stuff buffered for the output window, a reload of the vscode window will be necessary. The vscode command Developer: Reload Window should work for that.

ryan echternacht16:01:50

Thanks @pez. I didn't realize there was a command for that.

ryan echternacht16:01:54

@bastilla fwiw, for advent of code, I would put short sleeps in my code so that I could watch it run and kill it when I had seen enough steps. Depending on your use case, that may or may not help

ryan echternacht16:01:32

it has the advantage of not blowing out the calva buffer with mass text tho


Hello Calva users and maintainers! As you may be aware, I'm currently engaged in a project called Startup in a Month, which is a project I'm embarking on for all of 2021 to make 12 startup in 12 months, all with Clojure and ClojureScript. I'm practically brand new to the language, but I'm banking on the quick learning curve and all the benefits of the language to give me a big productivity boost. You can learn more about it here: Anyway, being new to the language, I'm also new to the tools and REPL. I'm a first-time Calva user, and the maintainers of the library (looking at you @pez) may be interested to watch me make my first steps with it. These two stream recordings in particular have a lot of footage of me hitting my head in the dark as I try to figure things out 😅 Hope you find this useful for user-testing research! And hope to see you in the stream 🙂

❤️ 6

Thanks! ❤️ Haven’t checked it out yet, but generally this is stuff that is hard to get at for finding out where the Ux problems are. Will definitely look at these!

Alex Miller (Clojure team)21:01:22

hey just wanted to say I looked at Calva today for the first time in a long time and wanted to say kudos - super easy to install and get started

❤️ 15
calva 12

As Peter said, thanks! It always feels good to hear the effort put into something is really paying off.


Oh, thanks, @alexmiller! It is super great to hear this from someone who really knows what makes a good Clojure dev environment. Yesterday I watched you demo Clojure to a bunch of Java devs and you mentioned Calva in the passing, also revealing that you hadn’t tried it. So I was about to reach out asking that you give it a spin so that we can get your input. Quite amazing that you beat me to it. 😃

Alex Miller (Clojure team)21:01:36

I was connected to a repl in <10 minutes, so that was pretty easy

metal 9