This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # announcements (12)
- # aws (2)
- # beginners (233)
- # calva (68)
- # cider (23)
- # circleci (5)
- # clj-kondo (40)
- # cljsrn (4)
- # clojars (3)
- # clojure (200)
- # clojure-austin (1)
- # clojure-canada (1)
- # clojure-dev (16)
- # clojure-europe (1)
- # clojure-finland (1)
- # clojure-italy (4)
- # clojure-nl (16)
- # clojure-spec (3)
- # clojure-uk (102)
- # clojurescript (16)
- # cursive (14)
- # datomic (16)
- # figwheel-main (7)
- # graalvm (3)
- # hoplon (37)
- # jackdaw (23)
- # jobs-discuss (24)
- # joker (4)
- # kaocha (6)
- # keechma (64)
- # off-topic (66)
- # parinfer (1)
- # pedestal (7)
- # re-frame (7)
- # reagent (10)
- # reitit (45)
- # rewrite-clj (12)
- # shadow-cljs (1)
- # slack-help (8)
- # spacemacs (55)
- # sql (9)
- # tools-deps (9)
- # vim (7)
I’ve been using the new CLJ REPL window and I like it, however, one thing that bothers me is this - when I execute a command, very often I want to edit it just one bit and execute it again. So I’d hit ⌥+↑ and the previous command appears. No I want to jump to the middle of the command. Normally I’d use ⌥+← for this, which jumps the cursor one word at a time. However, this doesn’t work in the current window and I have to use the mouse to place the cursor where I want it.
I've got this issue on the Mac at home. Jack-in or connection to running nRepl starts fine. Then after about 5 to 45 min the connection to the nRepl drops. Killing terminal and restarting Jack-in is not helping. In the status bar there's a message "Activating extension", but nothing is happening. The only quick way to resolve this is to call 'Reload window' from the command palette. Does anyone experience the same?
Sounds like the js app is not releasing some resource properly. What more can you tell us about your setup and reproduction steps?
Hello! Today my Calva says that she is legacy now and I replace she by a new one, younger and prettier. But I just can not connect to running repl with she. Previous calva opened connection window with prefilled localhost: hint and all I need to do was type my opened repl port number. But new one shows me a complex menu and I can not connect anyhow I try 😞
So I returned to my old legacy but working Calva. And I am afraid that one time she will unavailable...
I just researched that if I press esc 2 times this complex window transforms to the old view but after typing port number another repl window opens in VScode but nREPL label is still off and repl is disconnected
So, the option that is supposed to work as the legacy Calva is “Connect to a running REPL server”. What happens when you choose that? You get menu 2, right?
Also I wonder what happens if you follow the instructions in the new README. But we can try figure this one out first.
But which types are exists? I have deps.edn file and with legacy Calva started 2 terminals outside VScode - one for clj part nrepl and second for figwheel
I think it is legacy Fighweel, but I dont want any figwheel interactions with Calva - Figwheel works alone in his terminal session and do not bring me any problems - I just change any file in any editor and he reload all the changes automatically
You just need to help it connect. So choose Figwheel in the second menu and see if that works?
(Assuming you have started the stuff in your two terminals outside of VS Code as you did before.)
I think that if you have tried a few times you might not have the correct .nrep-port file and such. Try re-starting the repls and then connect Calva.
If you really don’t want to be able to interact with the cljs repl, you can choose None in the menu asking for cljs type.
I recommend you let Calva start the project repls for you, however. That way you won’t have to keep track of what dependencies Calva needs.
Also I think we should write some guide for people upgrading from legacy to the new one and try front that on startup somehow…
I have a makefile with lot of group commands for starting this project and start command also starts nrepl. I can change this file but all others works with this project on spasemacs and I am afraid I can break their work
Another option @ivana, is to skip starting the repl from that make task, and let Calva do that for you instead. Less maintenance.
I think you will discover some more features of Calva now, also. I doubt code navigation and definition look-up worked with those ancient dependencies.
Yes, you are right - I trying run all my make commands that was before nrepl start, than starting repl inside Calva and it works. But in this case I have to run all make commands that was after starting repl - for example, starting the project itself. And I have the same scenario with starting tests and other complex commands in makefile. But now I have a way to dig, thanks!
First impression of new repl window - it seems that it is useless in current state. It shows colored clojure output, but I can not select and copy-paste any from it. I find a way - close this calva repl window after connection and eval all forms in editor inplace, and even if theirs results are long, they fortunately are duplicates in Calva output window, so separate repl window does not needed for any purpose
But unfortunately it reopens every time I load new namespace and resets the cursor focus on himself 😔 Its a pity that one can not get rid of it anyhow...
Hey, thanks for great work. Is there any doc on the Calva workflow for
shadow-cljs I am getting an error with
Selection of output from the repl window is pretty borked, yes. I wonder when I broke that…
> Executing task in folder dci: /usr/local/bin/npx < ERROR: You must supply a command. Execute binaries from npm packages. npx [options] <command>[@version] [command-arg]... npx [options] [-p|--package <package>]... <command> [command-arg]... npx [options] -c '<command-string>' npx --shell-auto-fallback [shell]
@pez I just select new opened file clicking on its tab and when cursor is focused on its text press hotkey for load current namespace in repl window - it loads and repl window opened (if it was closed) and everytime catches cursor focus so I have to click on selected file again to restore the focus