Fork me on GitHub

Search for paredit among the keyboard shortcuts, cmd+k cmd+s on Mac.


To people testing the jack-in, I now notice that the Java processes started by it are left behind even after closing the project window in vscode. We will look into that, but meanwhile, be aware of this.


@pez Jack-in worked right away this time ! :))


😃 It takes a bit of luck though. But good to know!


a non-so-uncommon workflow is that jack-in needs to be done multiple times as errors are repaired. so that needs to be a thing. A straightforward 'stop' and 'restart' would be more helpful than the emacs "find and kill the buffers" approach to that need


Good catch, @hoppy. Please file it as an issue.


@pez There are some notes. lein command gives this warning

nREPL server started on port 60946 on host - 

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by cider.nrepl.inlined_deps.dynapath.v0v2v5.dynapath.defaults$eval3496$fn__3497 to method
WARNING: Please consider reporting this to the maintainers of cider.nrepl.inlined_deps.dynapath.v0v2v5.dynapath.defaults$eval3496$fn__3497
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release


But it issues the warning in the terminal (outside Jack-in) as well


That's okay, it's a normal message


OK. So my Sunday was a bit more busy with other things than I had expected. (You try to have predictable Sundays with four kids in the house.) But I managed to get some Calva time in and used it to fix a thing with jack-in that I need for using it for my work project. This version of Calva should present a profiles picker for your leiningen projects, so that it can populate the --with-profiles options when starting the repl, in projects that need that. Please give it a spin and return with feedback on how it works out for you.


The credit for the profiles picker should go to @mseddon , btw. I merely made it a bit more probable that it would work in the wild. 😀

Roman Chvanikov18:04:39

@pez hi, I’m trying to setup an app with clojurescript on frontend and I have it in frontend dir at the root. I’ve set “project root dir” in calva config to be “frontend” accordingly, but seems it’s not considered when new terminals are created (for shadow-cljs at least, but I did a quick search over the extension code and seems the config value is not used anywhere to change dir, so it might be as well related to anything that creates terminals that should be created in the clj(s) root). Are my guesses correct? Is that something easy to fix? 🙂

Roman Chvanikov19:04:53

Hacky, but fixed things for me: before sending command to terminal ( just added a cd:

connectCommand = "cd " + util.getProjectDir() + " && " + connectCommand;


yo @pez, not sure if the question came through properly, but do you have any idea where to start on the errors I got earlier?


I'd be happy to help if I knew where to start 🙂