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`.
sergey.shvets 2021-05-07T00:36:56.015Z

I forgot to try "restart VS code":face_palm:. Everything is back to normal now.

šŸ¤˜ 1
pez 2021-05-07T00:46:03.015500Z

Glad you got it working!

pez 2021-05-07T00:47:21.016900Z

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ā€¦

sergey.shvets 2021-05-07T00:48:37.017700Z

Yes, I tried to copy-paste the default one and start changing it from there, but it was saying that only string is allowed.

sergey.shvets 2021-05-07T00:48:58.018200Z

But at the end of the day, the problem was with VS Code and default shadow-cljs sequence works just fine

sergey.shvets 2021-05-07T00:49:26.018700Z

Thanks again for the awesome product šŸ™‚

pez 2021-05-07T00:49:47.018900Z

You are welcome, sir!

pez 2021-05-07T00:51:03.019500Z

Iā€™ll be presenting Calva in ten. Here: https://www.meetup.com/Seajure/events/277242931

sergey.shvets 2021-05-07T15:52:15.037800Z

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.

pez 2021-05-07T16:31:07.039200Z

Sounds cool! We'll be happy to assist in any way we can.

pez 2021-05-07T04:25:31.020700Z

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!

ā¤ļø 1
šŸ˜‡ 1
šŸŽ‰ 1
otwieracz 2021-05-07T10:31:02.021500Z

Is this possible to display documentation/tooltip for current-sexp function?

otwieracz 2021-05-07T10:33:12.023600Z

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?

2021-05-07T10:45:26.023700Z

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

pez 2021-05-07T10:54:11.025400Z

You can Trigger Parameter Hints (`cmd/ctrl+shift+space`). Calva has a setting for showing the doc string in that hover as well.

šŸ‘€ 1
otwieracz 2021-05-07T10:55:26.025900Z

Oh jeeezz. Thatā€™s what I needed šŸ™‚

otwieracz 2021-05-07T10:55:30.026200Z

Thank you @pez!!

pez 2021-05-07T11:03:24.028300Z

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.

2021-05-07T15:16:55.035800Z

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

pez 2021-05-07T15:49:14.037500Z

Sounds like you have the Clojure extension installed, @tbrooke . Uninstall it and see if that gets less confusing.

sergey.shvets 2021-05-07T15:49:27.037700Z

You need to select Jack-in option and then select shadow-cljs. Do you have those available?