I forgot to try "restart VS code":face_palm:. Everything is back to normal now.
Glad you got it working!
I donāt remember if we allow an object for the connectCode
in the custom sequences. It could be that it only is the built-in ones that canā¦
Yes, I tried to copy-paste the default one and start changing it from there, but it was saying that only string is allowed.
But at the end of the day, the problem was with VS Code and default shadow-cljs sequence works just fine
Thanks again for the awesome product š
You are welcome, sir!
Iāll be presenting Calva in ten. Here: https://www.meetup.com/Seajure/events/277242931
Great talk yesterday. I was on mute the whole time because of the child running around, but tons of insights š I want to build some visual composer that will generate hiccup for cljs/react components one day and definitely looking forward to doing that as VS Code extension and make it play nice with calva, so it is instantly refreshing browser and has all the awesome features available.
Sounds cool! We'll be happy to assist in any way we can.
New Calva version just released, v2.0.195
:
ā¢ Update cider-nrepl toĀ https://github.com/clojure-emacs/cider-nrepl/releases/tag/v0.26.0
ā¢ https://github.com/BetterThanTomorrow/calva/issues/1124
Thanks @ryanjerue!
Is this possible to display documentation/tooltip for current-sexp function?
Currently, when I need to find functions argument, I hit cmd+k cmd+i
on that function name. But when I start typing (some-function first-argument ā¦)
in order to check what second argument should, I need to get back with cursor over some-function
. Is there a way to constantly display that tooltip for first item in list?
Not sure if you can do that, but maybe peek can help you? If you put cursor on function and hit Alt+F12 (not sure what it is on Mac) You will get a peek window of the function that stays up as you type. e.g. ?
You can Trigger Parameter Hints (`cmd/ctrl+shift+space`). Calva has a setting for showing the doc string in that hover as well.
Oh jeeezz. Thatās what I needed š
Thank you @pez!!
Welcome, sir. I worked quite a lot with those hints, so super happy that you find them useful. Iām still a bit grumpy that I didnāt succeed in making it descend into destructurings, but maybe I would approach that smarter today, if I gave it another shot.
I am trying to get Calva working with shadow-cljs I have 2.0.195 installed. The bottom of my screen says nrepl:ā„127.0.0.1:61288 connected then beside it, to the left it says nrepl disconnected with a lightning bolt. I do not have shadow running. When I click on the disconnected nrepl it opens up a menu and I can choose start your project with a repl server, connect to an existing nrepl or else fire up the āgetting startedā repl ā The start a repl and connect choices do not do anything. The āgetting startedā starts a getting started repl. When I start shadow-cljs and start the watch and tryy to connect to running server in project it doesnāt do anything and when I select not in project I get choices and when I select deps.edn+shadow-cljs it does nothing ā I am running a Mac Big Sur 11.2
Sounds like you have the Clojure extension installed, @tbrooke . Uninstall it and see if that gets less confusing.
You need to select Jack-in option and then select shadow-cljs. Do you have those available?