This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # announcements (1)
- # beginners (6)
- # calva (23)
- # cider (43)
- # clj-kondo (2)
- # cljdoc (22)
- # cljsrn (4)
- # clojure (35)
- # clojure-dev (1)
- # clojure-france (1)
- # clojure-italy (16)
- # clojure-uk (10)
- # clojurescript (1)
- # data-science (1)
- # emacs (6)
- # fulcro (5)
- # graalvm (4)
- # jobs-discuss (28)
- # off-topic (29)
- # pedestal (11)
- # planck (31)
- # prelude (1)
- # reitit (2)
- # vim (1)
Hi all. Just gave Calva 2.0 a try, and couldn't get it working. Maybe someone could help? I clicked on nREPL, then pressed Esc to enter port for deps project manually. After that I saw new CLJ REPL panel on the right where I couldn't type anything and bottom bar still shows disconnected state.
@romantsopin thanks for giving it a spin. The current build is broken when it comes to connecting to a running nrepl server. You can try to let Calva start the server for you instead. There is a command for that: Start a project REPL and connect (aka Jack-in). Unless you are on windows, but I’m getting help from @slack1038 with that.
No, and sorry for leaving you hanging. Swamped in mundane life things here. I'll scramble for some time so that we can have a chat and move this forward
You are on to the problem, I am pretty sure. I changed those parts pretty recently, trying to get rid of warnings.
Thanks @pez, got it working, here's some feedback. New REPL is cool. I especially like autocomplete with arity parameters. Hope to see those on code tab too 🙂 Some inconveniences I discovered: hover draws autocomplete above window, but REPL tries to fit autocomplete inside REPL. It's often doesn't look good on narrow REPLs and scroll jumps when you switching between suggestions. Also "send current form to terminal" automatically shifts focus to REPL. At least for me it isn't always wanted behaviour, e.g. you may want to send several things one by one while messing with code. Also is there fast way to clean the REPL, like ctrl + L? Logo takes too much space now. Smaller ones: a cursor is little bit too noisy and font is too large 🙂 Also It would be really handy to save 'calva.evalCurrentFormInREPLTerminal' to support old workflows and smooth the transition. I mean to have the ability to use terminal repl too.
Thanks, @romantsopin! This is great feedback. Can I be a bit greedy and wish for you turning it into issues on Github? Some of it is already there, but some isn’t and I’d like to keep your findings.
I have also started to think there is value in Terminal REPLs even when the new REPL window is there, btw. It will be a bit of work to put them back, because we have really replaced that with the new window. But it might be a nice feature request for someone to tackle.
I'll make issues when I get to my computer and sort out existing ones 🙂 In regards terminal, maybe it could be something simple like https://marketplace.visualstudio.com/items?itemName=nvbn.sendtorepl it simply sends forms to running repl. I find this extension very handy sometimes. Good thing it's completely universal and works with any setup.
Right. But it could include some handy things like using existing nrepl connection and other Calva conveniences. But I see your point
Aweomse. I only have a short time now. But at least we can just share some info about the problem. I’ll contact you in a DM.
Windows users. There’s a new build here: https://github.com/BetterThanTomorrow/calva/tree/dev/alpha-build that fixes the problem with not finding the project files on Windows. Thanls @slack1038! However, we still have a problem with the quoting of the jack-in command lines on Windows. It is a bit messy with legacy cmd.exe, PowerShell and WSL, so I’d love some help with testing this build.
so i got it working when i changed the default shell in vscode to the legacy cmd.exe 🙂 with powershell the problem is known, also tried my git-bash but here i hava a totaly diffrent problem