calva

Wednesdays you might find @U0ETXRFEW in the Gather Calva space. Invite is https://gather.town/invite?token=GZqrm7CR and the password is `Be kind`.
bringe 2021-02-13T01:08:14.325300Z

Trying to crowd-source some info 😄 . If anyone here, also, could tell me, I would be very grateful.

2021-02-13T12:33:53.330100Z

Hi 😄 Is there a way to get parameter hints on functions while typing without having to send the definitions to the REPL?

pez 2021-02-13T12:43:53.334600Z

@mohamed.khalifa , not sure i follow about sending definitions to the repl. To show parameter hints in the editor you have two options: 1. Enable to show hints as you type 2. Use the command for showing hints. ctrl+shift+space on Mac, iirc.

2021-02-13T13:15:24.335400Z

@pez but it only recognises functions that have already been evaluated. That’s what I meant by sending to the repl 😄

pez 2021-02-13T13:28:49.337400Z

I see. Yes, not sure if clojure-lsp supports parameter hints yet. If and when it does, we can probably hook the same treatment to them as too the ones we get dynamically.

ej 2021-02-13T13:43:47.338700Z

Extreme noob here. How can I disable the mini map in the REPL window? Is there a way to make it default to that for all projects? What about word wrapping in just the REPL window?

pez 2021-02-13T14:08:55.340400Z

Unless VSCode has something that can help with that, or maybe some other extension can, there's no way to do it.

2021-02-13T14:48:57.341100Z

@pez I see. Thanks!

ej 2021-02-13T15:01:12.344500Z

Here it says that they keyboard shortcut for growing/expanding selection is CTRL+W: https://calva.io/commands-top10/, but on my machine (running Windows) this closes the file. Have I configured this differently, or is this a new change in Calva? In the command palette, it says that this is bound to Shift+Alt+RightArrow, but maybe I have configured this and somehow forgot ...? 😐

pez 2021-02-13T15:07:46.346700Z

Oh, it was changed recently. Please feel invited to fix that docs page. The paredit page has the right bindings per platform.

Faris 2021-02-13T15:58:19.348900Z

Any tips on where to start debugging jacking-in not working? Seems like the repl has been stuck for a while now, all I see is this

; Jacking in...
; Starting Jack-in Terminal: lein update-in :dependencies conj '[nrepl,"0.8.3"]' -- update-in :plugins conj '[cider/cider-nrepl,"0.25.8"]' -- update-in '[:repl-options,:nrepl-middleware]' conj '["cider.nrepl/cider-middleware"]' -- repl :headless

pez 2021-02-13T16:00:30.349400Z

See if you have any errors in the jack-in terminal.

Faris 2021-02-13T16:01:01.349700Z

In the terminal all I see is this

lein update-in :dependencies conj '[nrepl,"0.8.3"]' -- update-in :plugins conj '[cider/cider-nrepl,"0.25.8"]' -- update-in '[:repl-options,:nrepl-middleware]' conj '["cider.nrepl/cider-middleware"]' -- repl :headless

Faris 2021-02-13T16:37:00.350600Z

Ok I think I fixed it, not sure what was wrong, but I commented out my whole file then jacked in again. Then I was able to connect to the repl even after I uncommented everything

bringe 2021-02-13T18:29:49.350800Z

I went ahead and updated the mentions I could find of this in the docs. Thanks!

ericdallo 2021-02-13T18:58:20.351Z

Not sure you are already using clojure-lsp native binaries @brandon.ringe @pez, but this should help a lot download/unzip time 🙂

bringe 2021-02-13T18:58:44.351300Z

Awesome! Haven't switched to them yet, but plan to soon.

1
pez 2021-02-13T20:06:16.351500Z

Very strange. Maybe something was cached that needed to be recompiled….