Fork me on GitHub
#calva
<
2021-02-13
>
bringe01:02:14

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

MHOK12:02:53

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

pez12:02:53

@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.

MHOK13:02:24

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

pez13:02:49

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.

endrejoh13:02:47

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?

pez14:02:55

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

MHOK14:02:57

@pez I see. Thanks!

endrejoh15:02:12

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 ...? 😐

bringe18:02:49

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

pez15:02:46

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

Faris15:02:19

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

pez16:02:30

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

Faris16:02:01

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

Faris16:02:00

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

pez20:02:16

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

ericdallo18:02:20

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

bringe18:02:44

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

nice 1