This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # announcements (2)
- # aws (2)
- # babashka (1)
- # beginners (87)
- # boot (1)
- # calva (42)
- # clj-kondo (18)
- # cljdoc (5)
- # cljsjs (1)
- # cljsrn (1)
- # clojars (16)
- # clojure (222)
- # clojure-dev (30)
- # clojure-europe (17)
- # clojure-gamedev (2)
- # clojure-hungary (10)
- # clojure-italy (6)
- # clojure-nl (21)
- # clojure-spec (9)
- # clojure-uk (111)
- # clojuredesign-podcast (1)
- # clojurescript (99)
- # code-reviews (1)
- # conjure (18)
- # crux (26)
- # cursive (11)
- # datomic (22)
- # emacs (1)
- # events (3)
- # figwheel-main (3)
- # fulcro (14)
- # graalvm (41)
- # graphql (16)
- # helix (12)
- # juxt (1)
- # kaocha (56)
- # keechma (1)
- # meander (77)
- # observability (1)
- # off-topic (29)
- # pathom (3)
- # re-frame (4)
- # reagent (3)
- # reitit (1)
- # remote-jobs (3)
- # reveal (9)
- # shadow-cljs (45)
- # spacemacs (43)
- # sql (28)
- # tools-deps (14)
- # vim (1)
- # yada (1)
It looks pretty interesting. So the first crazy thing I tried to do was eval inside of it in clj - I can't seem to train it to the namespace I'm using, but I like the way it works, aside from truncating big data-structures with ... (for which I can do nothing).
About the truncations. That is pretty printing settings. So what you can do is edit those, or toggle pprint off. It's truncating by default, because it gets sluggish with large structures, something that also needs to be fixed.
that raises a missing argument exception, but there is no indication of that happening, just silence
;Execution error (MissingFormatArgumentException) at java.util.Formatter/format (Formatter.java:2672). ;Format specifier '%s'
@pez It's no longer happening - the file window now shows up every time I jack in. I'll ping you here or on github if I see & can reproduce the issue again.
hi folks, I'm using Calva v2.0.107 with vscode 1.47.0 and MacOS Catalina and I'm facing an issue where the repl window will lose focus after I execute a command (hit enter). I have to click with the mouse on the repl window in order to set the focus again. This is hard to reproduce since it happens intermittently. Just wondering if you have knowledge of a behavior like that happening with someone else.
Not seen that @jplfdsilva, but then again, I almost never use the REPL window. Will try that now.
sorry, it looks like there's already an issue regarding this behavior: https://github.com/BetterThanTomorrow/calva/issues/648
I can confirm I get the same behavior described in the issue above but I don't need to switch applications nor restart vscode. just clicking on the repl window will do.
Not sure that is the same issue. I can't repro any of them though, so I am really unsure.
yep, it's hard to reproduce. but it'll happen often in my case. I'll double check if other keys continue to work and just enter, backspace and option keys are the ones that stop working.
So, I've just reproduced the issue. I was entering commands in the repl then I clicked on the editor then I clicked back on the repl. most keys worked except backspace, enter and option + up arrow.
It could be just the old focusing problem. The window doesn't always get focus when it is made active. I think it is this vscode API bug: https://github.com/microsoft/vscode/issues/101682
Has anyone tried to set up Clojure dev env inside Docker via VS Code's Remote-Container plugin (see e.g. this http://github.com/microsoft/vscode-remote-try-node)?
If you do find out things about that, @holyjak, please consider writing a documentation page about it. There is only this shred there right now: https://calva.io/remote-development/
Ok! I will see if I get time for that (which I'd like). It might make my https://github.com/holyjak/interactive-dev-wshop even simpler.
Hi! My 2 cents about new output window: 1. After loading current file (`ctrl+alt+c enter`) the output shows in a repl file (which is a good thing), but Calva says window still popping up. 2. This one is a little bit tricky. After closing a repl file (which was in a separate editor group) and evaluating some expression inline, a repl file automatically opens in a tab next to mine (same editor group), but have no focus. If I do NOT click on this tab and instead click on an "Open Results Window" link in a result hover, a new (second) repl file tab shows in a new editor group with focus on it. Seems like a strange behaviour to me. However, it looks like a really interesting feature 🙂
Thanks @glebovmaksim! Can you add those as comments to this PR? The second one is not easy to fix, due to VS Code API shortcomings, maybe we can advice people not to close the window....
Hi. I'm trying Calva on a project and I cant seem to make the Go To Definition feature work. I always get the little popup "No definition found for XXX". The REPL is started (via the jack-in command), and all my tests are running fine. Any ideas?
My bad, that was it. Thanks while I have you, is Calva able to display spec'ed functions giving information on the function arguments and return value ?
@UV2730B5K An issue for this feature request would be great so we can remember this down the line! And a PR is of course even better 😄
Hello Calva friends: I've just released a new version of Calva with a couple of small fixes/changes. ## [2.0.108] - 2020-07-24 - Fix [Jack-in error when choosing Clojure CLI + shadow-cljs project type](https://github.com/BetterThanTomorrow/calva/issues/675) - Fix [Cannot use default connect sequences when custom connect sequences added](https://github.com/BetterThanTomorrow/calva/issues/685) - Add analytics to debugger Debugger analytics are for gauging usage so we can know its priority over other features in the future. Custom connect sequences will now be shown in addition to the built-in sequences when jacking-in / connecting.
Here's a new VSIX for the new output window thingy. https://6685-125431277-gh.circle-artifacts.com/0/tmp/artifacts/calva-2.0.109-681-output-to-file-8dc47198.vsix
Main new thing in this build is that you now can change the
ns used when the window is used as a REPL, something @hoppy pointed out was missing. (This made me add a ”prompt” that shows the current namespace.) Another fix is that the Calva says window no longer pops up on file load, reported by @glebovmaksim.