Trying to crowd-source some info 😄 . If anyone here, also, could tell me, I would be very grateful.
Hi 😄 Is there a way to get parameter hints on functions while typing without having to send the definitions to the REPL?
@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.
@pez but it only recognises functions that have already been evaluated. That’s what I meant by sending to the repl 😄
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.
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?
Unless VSCode has something that can help with that, or maybe some other extension can, there's no way to do it.
@pez I see. Thanks!
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 ...? 😐
Oh, it was changed recently. Please feel invited to fix that docs page. The paredit page has the right bindings per platform.
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
See if you have any errors in the jack-in terminal.
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
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
I went ahead and updated the mentions I could find of this in the docs. Thanks!
Not sure you are already using clojure-lsp native binaries @brandon.ringe @pez, but this should help a lot download/unzip time 🙂
Awesome! Haven't switched to them yet, but plan to soon.
Very strange. Maybe something was cached that needed to be recompiled….